[milters] Archive

Lists Index Date Thread Search

Article: 1478
From: Anthony Howe
Date: 2007-03-06 11:18:52 -0500
Subject: Re: milter-ahead rejecting non-FQDN addresses?

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Christopher Lindsey wrote:
> Here are the logs from a session yesterday:
> 
>    Mar  2 13:26:03 zanamavir milter-ahead[10345]: 00005 l22JPqqC010378:
filterRcpt(8078690, 807b408) RCPT='<lindsey>' rcpt_addr='lindsey' rcpt_host=''
rcpt_mailer='local'
>    Mar  2 13:26:03 zanamavir milter-ahead[10345]: 00005 l22JPqqC010378:
address='lindsey' localleft='lindsey' localright='' domain=''
>    Mar  2 13:26:03 zanamavir milter-ahead[10345]: 00005 l22JPqqC010378: enter
smfAccessPattern(807b648, "lindsey", "(NULL)...", 0)
>    Mar  2 13:26:03 zanamavir milter-ahead[10345]: 00005 l22JPqqC010378: exit 
smfAccessPattern(807b648, "lindsey", "(NULL)...", 0) rc=_ action=''
>    Mar  2 13:26:03 zanamavir milter-ahead[10345]: 00005 l22JPqqC010378: recipient
<lindsey> has unknown TLD

OK. I've made a change to the tlds.c support to ignore empty domain 
strings, which should cause the test to be ignored.

>    Mar  2 13:26:03 zanamavir milter-ahead[10345]: 00005 l22JPqqC010378:
recipient=<lindsey> access=J skipConnection=0 skipRecipient=0
>    Mar  2 13:26:03 zanamavir sendmail[10378]: l22JPqqC010378: milter=milter-ahead,
action=rcpt, reject=550 5.7.1 recipient blocked
>    Mar  2 13:26:03 zanamavir sendmail[10378]: l22JPqqC010378: Milter:
to=<lindsey>, reject=550 5.7.1 recipient blocked
> 
> I *did* confirm that the call-ahead-host does accept unqualified names with
> a 250 code, although it looks like the milter rejects the address before
> any call-ahead is made.

In the mean time, you can completely turn off the test by specifying the 
option:

	-reject-unknown-tld

-- 
Anthony C Howe          Skype: SirWumpus                    SnertSoft
+33 6 11 89 73 78         AIM: SirWumpus    Sendmail Milter Solutions
http://www.snert.com/     ICQ: 7116561
     http://www.snertsoft.com/

Lists Index Date Thread Search