1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Arbitrary "Received by" data in email headers

Discussion in 'Plesk for Linux - 8.x and Older' started by johansand, Sep 17, 2005.

  1. johansand

    johansand Guest

    Hi all,

    We have some virtual hosts on our server on one shared IP address. When a user sends an email via his own domain's smtp server using SMTP Authentication, it seems as if the email server simply picks any arbitrary domain name registered on the shared IP address as "Received by" and sends it to the receiver:

    Return-Path: <user@sender-domain.tld>
    Delivered-To: user@receiver-domain.tld
    Received: (qmail 6898 invoked from network); 17 Sep 2005 13:00:00 +0200
    Received: from 111-111-111-111.some.dsl.comp.net (HELO computer) (
    by another-domain.tld with SMTP; 17 Sep 2005 13:00:00 +0200
    Reply-To: <user@sender-domain.tld>
    From: "User One" <user@sender-domain.tld>
    To: "User Two" <user@receiver-domain.tld>

    I am aware of that the shared IP address has more than one domain, and that the IP address resolves to any of those domains at random when looked up, but shouldn't there be a way to have the smtp server recognize under which domain name the authentication took place, and use that domain name in the "Received by" data?

    Does anybody know???

    Thanks a lot in advance

  2. johansand

    johansand Guest

    Uhm, so I've heard that it has something to do with the Plesk/Qmail integration, but I've got no other leads.

    Could it really be that nobody here knows about this and that I'm the only Plesk user facing this problem?

    If anyone has any leads or specifics, I'd truly appreciate it.

  3. faris

    faris Guest

    As I recall, you just need to remove all the PTR records from all domains except the one you want the email to have been "received by".

    You should also modify the default plesk DNS template (in the server section of the CP) so that it does not add a PTR record for any new domains you add (there's no point having a PTR) for every domain.

    Strangely, this issue has never happened to me. I don't quite understand why it happens to some and not others.

  4. johansand

    johansand Guest


    I've confirmed your suggestion with a third party and it really seems to be the way to go. The reverse lookup is the bandit in this case.

    Thanks a million for your time and solution.