james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ant Kutschera (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts
Date Thu, 04 Jan 2007 14:30:29 GMT

    [ https://issues.apache.org/jira/browse/JAMES-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462221

Ant Kutschera commented on JAMES-746:


If figured this problem out. The name in the HELO command is a bit of a red herring. It seems
that the rDNS problem was because the host has a number of IP addresses and I assumed that
the IP address was looked up against the name in the HELO command. In fact, mail servers receiving
mail seem to take the IP address directly from the socket, and that was where the problem
was. If a host with multiple IP addresses connects to another host, it uses its default IP
address. All other IP addresses are IP addresses are routed to that box. So in my case the
default IP address ends in .233, not .242. So I have reconfigured the box, websites, DNS and
rDNS so maxant.co.uk is on the default IP address, and other names are on different IP addresses.
When the host connects to AOL, it uses the .233 IP address and AOL does reverse lookup on
that, which now works fine.

I just hope in the fight against spam, that it doesn't get to the point where the HELO name
or the domain name resolved from the rDNS lookup does not need to be the same as the domain
from the senders email address. Because if that happens, and I feel it would be a good step
in ensuring mail is genuine, then each domain would have to run on its own host with its own
default IP address... perhaps that means it will never go that far though, because too many
people using Virtual Hosting would be affected.

Thanks for all the support in this.

> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>                 Key: JAMES-746
>                 URL: https://issues.apache.org/jira/browse/JAMES-746
>             Project: James
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: 2.2.0
>         Environment: Linux, Java 5
>            Reporter: Ant Kutschera
> My server runs multiple domains. I use the JDBC Virtual Host mailet. Everything normally
works fine, but if the user sends email to AOL or other picky domains, the mails bounce, and
it complains rDNS is not set correctly. Searching on sites like www.dnsstuff.com I am sure
that the reverse DNS is configured properly. It seems that AOL looks at the server name given
in the protocol, as opposed to the "from" address, and does a  reverse lookup and compares
to that name. But that name is taken from the server name, not the virtual account name, so
at best I can get one domain to work if I give the server the same name as that one domain.
> James should be putting the domain name from the users account into the protocol, not
the server name, if it truly supports virtual hosting.
> Cheers,
> Ant

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message