• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Reverse DNS (Qmail-Problem)

D

dssonic

Guest
Hi,

I have a problem with qmail.
Because there are several domains located at my root server (one IP only) a reverse dns lookup (to the local dns) gives you an unordered list of all domains (by random).
And qmail adds this domain to the header of a mail:
"Received by xxx from somedomain.com"
next time maybe
"Received by xxx from anotherdomain.com"
But because a reverse dns request done by a server from "outside" only gives the primary hostname (e.g. somedomain.com), a mail with "Received by xxx from anotherdomain.com" will be rejected by many mailservers.
So, do anybody know how to configure named, that it will give the primary domain (means a specific one) as the first entry in the list?

TIA
 
You probably have multiple PTR records set up (one for each domain). You can only have 1 PTR record per IP address. You might want to remove the PTR record from your DNS template, so future domains won't create more new PTR records.
 
I have the same problem with qmail, does not appear to be ptr

1 shared IP for multiple domains

I am running external dns servers(not using plesk dns for this server)

I have dns turned off for each domain in plesk and all entries removed including ptr

e-mails that are redirected for one domain have a reference to a different domain on the same server showing up in the mail header

it appears to be random or round robin as mentioned above

this does not show up as a problem for mail delivered directly to a pop box on the server(only those redirected)

does anyone know how to eliminate this reference to other client domains?
 
Appears problem is PTR

after further testing -

even though the DNS is turned off for each domain the PTR entries still needs to be removed.

Thanks!
 
Back
Top