[milters] Archive

Lists Index Date Thread Search

Article: 3899
From: Alfred Wallender
Date: 2014-08-13 10:11:05 -0400
Subject: milter-ahead sometimes connects to implicit-mx with available MX

Hi,

we have a strange problem with milter-ahead.

when sending mails to some domains milter-ahead connects to implicit-mx 
even if there are valid MX-Entries available.

one example is

Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: cache 
get key={XXXXXXXXX@steuerberater-liebrich.de} value={0 0 -1 0 ''} rc=-1
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: 
contacting server steuerberater-liebrich.de. for 
<XXXXXXXXX@steuerberater-liebrich.de>
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: 
mxConnect(607160, 'steuerberater-liebrich.de.') if_addr=212.87.130.115
Aug 13 15:10:03 mailout8 milter-ahead[8249]: enter DnsOpen()
Aug 13 15:10:03 mailout8 milter-ahead[8249]: DnsSetTimeout(607aa0, 5000)
Aug 13 15:10:03 mailout8 milter-ahead[8249]: DnsSetRounds(607aa0, 4)
Aug 13 15:10:03 mailout8 milter-ahead[8249]: exit  DnsOpen() Dns=607aa0
Aug 13 15:10:03 mailout8 milter-ahead[8249]: enter DnsGet(607aa0, MX=15, 1, 
steuerberater-liebrich.de.)
Aug 13 15:10:03 mailout8 milter-ahead[8249]: enter DnsGet(607aa0, A=1, 1, 
idvmailin12.datevnet.de.)
Aug 13 15:10:03 mailout8 milter-ahead[8249]: exit  DnsGet(607aa0, A=1, 1, 
idvmailin12.datevnet.de.) Vector=614f00 rc=0 error=
Aug 13 15:10:03 mailout8 milter-ahead[8249]: VectorSort
Aug 13 15:10:03 mailout8 milter-ahead[8249]: exit  DnsGet(607aa0, MX=15, 1, 
steuerberater-liebrich.de.) Vector=6104a0 rc=0 error=
Aug 13 15:10:03 mailout8 milter-ahead[8249]: DnsClose(607aa0)

Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: review 
MX idvmailin11.datevnet.de. [193.27.50.118]
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: review 
MX idvmailin12.datevnet.de. [193.27.50.98]
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: review 
MX idvmailin13.datevnet.de. [193.27.50.112]
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: review 
MX idvmailin14.datevnet.de. [193.27.50.114]
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: trying 
to connect to host steuerberater-liebrich.de....
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: 
connected to host steuerberater-liebrich.de.
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: < 220 
v4835.schwarzkuenstler.org ESMTP Postfix (Debian/GNU)
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: > HELO 
mailout8.imos.net
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: < 250 
v4835.schwarzkuenstler.org


Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: > MAIL 
FROM:<YYYYYYYYY@heldele.de>
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: < 250 
2.1.0 Ok
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: > RCPT 
TO:<XXXXXXXXX@steuerberater-liebrich.de>
Aug 13 15:10:03 mailout8 milter-ahead[8249]: 02334 s7DDA37b016149: < 554 
5.7.1 <XXXXXXXXX@steuerberater-liebrich.de>: Recipient address rejected: 
Relay access denied


I have replaced the recipient with XXXXXX and the sender with yyyyyyyyy. 
Despite of the MX-Records milter-ahead connects to the implicit-MX 
(v4835.schwarzkuenstler.org).

We still have added -try-implicit-mx to our milter-ahead.cf

Problem is that this behavior does not occur with all domains with an 
A-Record for the domain and even not for every mail to the same domain

Here is an example to the same domain without problems where milter-ahead 
connects to one of the MX


Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: cache 
get key={XXXXXXXXX@steuerberater-liebrich.de} value={0 0 -1 0 ''} rc=-1
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: 
contacting server steuerberater-liebrich.de. for 
<XXXXXXXXX@steuerberater-liebrich.de>
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: 
mxConnect(64f6a0, 'steuerberater-liebrich.de.') if_addr=212.87.130.115


Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: review 
MX idvmailin11.datevnet.de. [193.27.50.118]
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: review 
MX idvmailin12.datevnet.de. [193.27.50.98]
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: review 
MX idvmailin13.datevnet.de. [193.27.50.112]
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: review 
MX idvmailin14.datevnet.de. [193.27.50.114]
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: 
connected to MX 0 idvmailin11.datevnet.de.
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: < 220 
idvmailin11.datevnet.de ESMTP
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: > HELO 
mailout8.imos.net
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: < 250 
idvmailin11.datevnet.de
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: > MAIL 
FROM:<YYYYYYYYYYY@heldele.de>
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: < 250 
2.1.0 Ok
Aug 13 13:59:06 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: > RCPT 
TO:<XXXXXXXXXXXXX@steuerberater-liebrich.de>
Aug 13 13:59:08 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: < 250 
2.1.5 Ok
Aug 13 13:59:08 mailout8 milter-ahead[8249]: 00939 s7DBx6Mj011383: server 
steuerberater-liebrich.de. for <XXXXXXXXXXX@steuerberater-liebrich.de> 
accepted recipient


Hope you can help us.

Regards
Alfred




-- 
imos Gesellschaft fuer Internet-Marketing und Online-Services mbH
Alfons-Feifel-Str. 9 // D-73037 Goeppingen  // Stauferpark Ost
Tel: 07161 93339-0  // Fax: 07161 93339-99 // Internet: www.imos.net

Eingetragen im Handeslregister des Amtsgerichts Ulm, HRB 532571
Vertreten durch die Geschaeftsfuehrer Alfred und Rolf Wallender

Lists Index Date Thread Search