Sendmail client multiple MX

2007-09-10 Thread pcnicolas
Hi

I'got a problem with sendmail on OpenBSD 4.1
It seems that the sendmail smtp client only try 2 mx for a domain with 4 mx
with the same priority (e.g. aol.com)

;  DiG 9.3.4  mx aol.com
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 60021
;; flags: qr aa; QUERY: 1, ANSWER: 4, AUTHORITY: 4, ADDITIONAL: 18

;; QUESTION SECTION:
;aol.com.   IN  MX

;; ANSWER SECTION:
aol.com.3600IN  MX  15 mailin-04.mx.aol.com.
aol.com.3600IN  MX  15 mailin-01.mx.aol.com.
aol.com.3600IN  MX  15 mailin-02.mx.aol.com.
aol.com.3600IN  MX  15 mailin-03.mx.aol.com.

Is it possible to configure sendmail to connect to all the mx ?

Thanks in advance



Re: Sendmail client multiple MX

2007-09-10 Thread Craig Skinner

[EMAIL PROTECTED] wrote:

Hi

I'got a problem with sendmail on OpenBSD 4.1
It seems that the sendmail smtp client only try 2 mx for a domain with 4 mx
with the same priority (e.g. aol.com)

;; QUESTION SECTION:
;aol.com.   IN  MX

;; ANSWER SECTION:
aol.com.3600IN  MX  15 mailin-04.mx.aol.com.
aol.com.3600IN  MX  15 mailin-01.mx.aol.com.
aol.com.3600IN  MX  15 mailin-02.mx.aol.com.
aol.com.3600IN  MX  15 mailin-03.mx.aol.com.


A few more boxes that you forgot about:

$ dig mailin-01.mx.aol.com +short
64.12.137.184
64.12.137.249
205.188.158.121
205.188.159.57

$ dig mailin-02.mx.aol.com +short
64.12.137.89
64.12.137.168
205.188.155.89
205.188.157.25

$ dig mailin-03.mx.aol.com +short
64.12.138.120
64.12.138.153
205.188.157.217

$ dig mailin-04.mx.aol.com +short
205.188.159.216
64.12.138.57
64.12.138.88


Depending on the config, Sendmail should try all of the above IPs until 
it delivers mail.




Re: Sendmail client multiple MX

2007-09-10 Thread Craig Skinner

Craig Skinner wrote:

[EMAIL PROTECTED] wrote:

Hi

I'got a problem with sendmail on OpenBSD 4.1
It seems that the sendmail smtp client only try 2 mx for a domain with 
4 mx

with the same priority (e.g. aol.com)


Forgot to say, AOL demands rDNS, so sendmail may be giving up when it 
gets x rejects, if your rDNS is bad.


http://postmaster.aol.com/info/rdns.html