You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Ant Kutschera (JIRA)" <se...@james.apache.org> on 2006/12/18 19:28:21 UTC

[jira] Created: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Reverse DNS Lookup Fails for Virtual Accounts
---------------------------------------------

                 Key: JAMES-746
                 URL: http://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: http://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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Arjan Veenstra (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12460462 ] 
            
Arjan Veenstra commented on JAMES-746:
--------------------------------------

$ host mail.maxant.co.uk
mail.maxant.co.uk has address 65.23.156.242

So i assume you're james server is running on the machine with ip-address 65.23.156.242. If this is not the case everything below is useless ;-)

$ host 65.23.156.242
242.156.23.65.in-addr.arpa domain name pointer maxant.co.uk.

The'official' name of this machine appears to be maxant.co.uk. You should use this as your servername.

$ host maxant.co.uk
maxant.co.uk has address 65.23.156.242

And maxant.co.uk than indeed points back to the name James will use in the HELO command when sending mail to AOL.

I think this should solve the issue, but i'm not entirely sure since the AOL webpage in the error is not entirely clear. It seems to suggest there is no reverse DNS record *at all* for the ip-adres you are sending mail from, which is not true, alt least not for 65.23.156.242.

> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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


[jira] Resolved: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-746.
---------------------------------

    Resolution: Invalid

This is not a bug

> 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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Ant Kutschera (JIRA)" <se...@james.apache.org>.
    [ 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:
-------------------------------------

Hi,

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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Ant Kutschera (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12459453 ] 
            
Ant Kutschera commented on JAMES-746:
-------------------------------------

OK, I update the config file, and restarted james.

>From the mailet log, below you see it still fails. Is there a way to see the actual data exchange between james and AOL to determine the server name being used? In the smtp logs, its still using the computer name (see second log extract)

mailet log:
+++++++++++++++++++++++++++++++++++++++
18/12/06 21:19:45 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1166473183969-0-to-aol.com to host mailin-02.mx.aol.com. at 64.12.138.185 to addresses [namechanged@aol.com]
18/12/06 21:19:52 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1166473183969-0-to-aol.com) - 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
421 SERVICE NOT AVAILABLE

18/12/06 21:19:52 INFO  James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1166473183969-0-to-aol.com: javax.mail.MessagingException: 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
421 SERVICE NOT AVAILABLE

        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
        at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:942)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:391)
        at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:448)
        at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
        at java.lang.Thread.run(Thread.java:595)

18/12/06 21:19:52 INFO  James.Mailet: RemoteDelivery: Storing message Mail1166473183969-0-to-aol.com into outgoing after 0 retries
18/12/06 21:24:52 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1166473183969-0-to-aol.com to host mailin-01.mx.aol.com. at 64.12.137.184 to addresses [namechanged@aol.com]
18/12/06 21:24:57 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1166473183969-0-to-aol.com) - 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
421 SERVICE NOT AVAILABLE

18/12/06 21:24:57 INFO  James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1166473183969-0-to-aol.com: javax.mail.MessagingException: 421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
421 SERVICE NOT AVAILABLE

        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
        at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:942)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:391)
        at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:448)
        at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
        at java.lang.Thread.run(Thread.java:595)

18/12/06 21:24:57 INFO  James.Mailet: RemoteDelivery: Storing message Mail1166473183969-0-to-aol.com into outgoing after 1 retries
+++++++++++++++++++++++++++++++++++++++


smtp log:
18/12/06 21:18:45 DEBUG smtpserver: SMTP Service init...
18/12/06 21:18:45 DEBUG smtpserver: SMTP Service ...init end
18/12/06 21:18:45 INFO  smtpserver: SMTP Service started plain:25
18/12/06 21:18:45 DEBUG smtpserver: Using a bounded pool for SMTP handlers with upper limit 30
18/12/06 21:19:42 DEBUG smtpserver: Retrieving a org.apache.james.smtpserver.SMTPHandler from the pool
18/12/06 21:19:42 DEBUG smtpserver: Getting SMTPHandler from pool.
18/12/06 21:19:42 INFO  smtpserver: Connection from 85.218.49.193 (85.218.49.193)
18/12/06 21:19:42 DEBUG smtpserver: Sent: 220 rm-201-29.serve.com SMTP Server (JAMES SMTP Server 2.2.0) ready Mon, 18 Dec 2006 21:19:42 +0100 (CET)
18/12/06 21:19:42 DEBUG smtpserver: Calling start()
18/12/06 21:19:42 DEBUG smtpserver: Watchdog default Worker #9 has time to sleep 359999
18/12/06 21:19:42 DEBUG smtpserver: Command received: EHLO [192.168.1.154]
18/12/06 21:19:42 DEBUG smtpserver: Sent: 250-SIZE 51200000
18/12/06 21:19:42 DEBUG smtpserver: Sent: 250-rm-201-29.serve.com Hello [192.168.1.154] (85.218.49.193 [85.218.49.193])
18/12/06 21:19:42 DEBUG smtpserver: Sent: 250-AUTH LOGIN PLAIN
18/12/06 21:19:42 DEBUG smtpserver: Sent: 250 AUTH=LOGIN PLAIN
18/12/06 21:19:42 DEBUG smtpserver: Calling reset() default Worker #9
18/12/06 21:19:43 DEBUG smtpserver: Command received: AUTH PLAIN AdGJ5vdac3MdAYdm9zcw==
18/12/06 21:19:43 DEBUG smtpserver: Sent: 235 Authentication Successful
18/12/06 21:19:43 INFO  smtpserver: AUTH method PLAIN succeeded
18/12/06 21:19:43 DEBUG smtpserver: Calling reset() default Worker #9
18/12/06 21:19:43 DEBUG smtpserver: Command received: MAIL FROM:<na...@maxant.co.uk> SIZE=7576
18/12/06 21:19:43 DEBUG smtpserver: MAIL command option SIZE received with value 7576.
18/12/06 21:19:43 DEBUG smtpserver: Sent: 250 Sender <na...@maxant.co.uk> OK
18/12/06 21:19:43 DEBUG smtpserver: Calling reset() default Worker #9
18/12/06 21:19:43 DEBUG smtpserver: Command received: RCPT TO:<na...@aol.com>
18/12/06 21:19:43 DEBUG smtpserver: Sent: 250 Recipient <na...@aol.com> OK
18/12/06 21:19:43 DEBUG smtpserver: Calling reset() default Worker #9
18/12/06 21:19:43 DEBUG smtpserver: Command received: DATA
18/12/06 21:19:43 DEBUG smtpserver: Sent: 354 Ok Send data ending with <CRLF>.<CRLF>
18/12/06 21:19:43 DEBUG smtpserver: Using SizeLimitedInputStream  with max message size: 51200000
18/12/06 21:19:44 INFO  smtpserver: Successfully spooled mail Mail1166473183969-0 from namechanged@maxant.co.uk for [namechanged@aol.com]
18/12/06 21:19:44 DEBUG smtpserver: Sent: 250 Message received
18/12/06 21:19:44 DEBUG smtpserver: Calling reset() default Worker #9


> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12459424 ] 
            
Norman Maurer commented on JAMES-746:
-------------------------------------

Can you post the bounce message ? I also suggest upgrading to james 2.3.0. I don't think this will fix your issue but 2.3.0 is really more stable.

> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Ant Kutschera (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462222 ] 

Ant Kutschera commented on JAMES-746:
-------------------------------------

Just reading through this again, and there is a small point. I set the helloName in the config:

    <helloName autodetect="false">mail.maxant.co.uk</helloName> 
 
But when I get bounced email (for example the target account is over quota), the mail I get from James says it comes from rm-201-29.serve.com.

Can you check if that name comes from the helloName or if it is the server name? For consistency, it should be the helloName no?

Cheers,
Ant


> 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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12459431 ] 
            
Norman Maurer commented on JAMES-746:
-------------------------------------

A mailserver will everytime HELO/EHLO with the servername. Thats what rfc say. James use the ther helloname which is set in smtpserver block. You should use their mail.maxant.co.uk there.

Here is the dig output:

Fileserver:~# dig @ns.byteaction.de maxant.co.uk MX

; <<>> DiG 9.2.4 <<>> @ns.byteaction.de maxant.co.uk MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3662
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;maxant.co.uk.                  IN      MX

;; ANSWER SECTION:
maxant.co.uk.           7200    IN      MX      0 mail.maxant.co.uk.

;; AUTHORITY SECTION:
maxant.co.uk.           7200    IN      NS      ns2.zoneedit.com.
maxant.co.uk.           7200    IN      NS      ns3.zoneedit.com.

;; ADDITIONAL SECTION:
ns2.zoneedit.com.       67155   IN      A       69.72.158.226
ns3.zoneedit.com.       76247   IN      A       66.180.174.61

;; Query time: 273 msec
;; SERVER: 217.195.0.253#53(ns.byteaction.de)
;; WHEN: Mon Dec 18 20:11:07 2006
;; MSG SIZE  rcvd: 143

Fileserver:~#             


> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Ant Kutschera (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12459427 ] 
            
Ant Kutschera commented on JAMES-746:
-------------------------------------

Here is a typical bounce:

+++++++++++++++++++++++++++++++++++
Hi. This is the James mail server at rm-201-29.serve.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.  Below
I include the list of recipients and the reason why I was unable to deliver
your message.

namechangedtoprotectidentity@aol.com
421-:  (DNS:NR)  http://postmaster.info.aol.com/errors/421dnsnr.html
421 SERVICE NOT AVAILABLE

The original message is attached.
+++++++++++++++++++++++++++++++++++

The mail server name "rm-201-29.serve.com" is rubbish, because I dont own that domain, its the name given to the server by the web hosting company that own the server. The domain that the user sending the email from is maxant.co.uk. This domain has rDNS set up fine. I have the same problem if other customers from other domains use the mail server, for example dragonflyjane.com.

In the james logs, it shows that it is helo ing with the serve.com name, not the domain that belongs to the user sending the mail. So that is why I suspect there is an issue.

Cheers,
Ant


> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Ant Kutschera (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12459455 ] 
            
Ant Kutschera commented on JAMES-746:
-------------------------------------

OK, I checked again, and I had set the helloname in the pop3 config, not smtp. I have corrected that now, restarted and resent a new email to aol, but in the latest mailet log, I still get the error like before (I even checked the mail ID is for the new one, to ensure its not an old mail that is bouncing).

What is strange is that the server name (mail.maxant.co.uk) used in the smtp log, is the same domain as the sender, and maxant.co.uk has correctly configured rDNS. So I really do not know what the problem is now. Any ideas?

> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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


[jira] Commented: (JAMES-746) Reverse DNS Lookup Fails for Virtual Accounts

Posted by "Ant Kutschera (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-746?page=comments#action_12459442 ] 
            
Ant Kutschera commented on JAMES-746:
-------------------------------------

So if a user from the dragonflyjane.com domain sends an email using the mail.maxant.co.uk server, you think AOL will not block it? I will try it and let you know.

Do I set it here in the config file? I guess I should put autodetect as false, and then put mail.maxant.co.uk? It used to be "true" and "maxant".

<smtpserver enabled="true">
    <port>25</port> 
    <handler>
        <helloName autodetect="false">mail.maxant.co.uk</helloName> 
        .
        .
        .


Cheers,
Ant


> Reverse DNS Lookup Fails for Virtual Accounts
> ---------------------------------------------
>
>                 Key: JAMES-746
>                 URL: http://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: http://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