[milters] Archive

Lists Index Date Thread Search

Article: 1936
From: Anthony Howe
Date: 2008-12-31 11:39:51 -0500
Subject: Re: 127.0.0.1 whitelisted only?

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

Ben Spencer uttered...:
> Note: The periods in the "2" address have been replaced by periods due to
it 
> being rejected by snertsoft.net (which makes sense): mx.snert.net 
> (mx.snert.net ESMTP Welcome to smtpf #633 [kBSEx1321893523800]) smtp;550 5.7.1 
> rejected content, black listed 127_0_0_2 by .black.uribl.com #762 #895 
> (kBSEx1321893523800)

127 0 0 2 is the test IP used by URI BL surbl.org and uribl.com.

> Per http://www.snert.com/Software/ecartis/index.php?go=/milters/2006-07/1005
> (and maybe elsewhere), 127.0.0.1 is whitelisted in the milters. Is only
> 127.0.0.1 whitelisted?

127.0.0.0/8 is ``localhost'' by definition. RFC 3330.

> I have 2 sendmail processes on the same host -- the first relaying to the
> second. Since 127.0.0.1 is whitelisted, I told the second (sm-mta-tx) to
> listen on 127_0_0_2, but I still seem to be running into the
> skipConnection=1 issue.
> 
> Access.db only contains commented out default lines.
> 
> Some of the log entries:
> 
> sm-mta-rx[19074]: mBTDisLN019058: SMTP outgoing connect on [127_0_0_2]
> sm-mta-tx[19075]: NOQUEUE: connect from [127_0_0_2]
> milter-spamc[14809]: 00017 NOQUEUE: host [127_0_0_2] [127_0_0_2] OK
> 
> hmmm..."OK"?

com/snert/src/lib/mail/smf.cf line 1023

	if (isReservedIP(client_addr,
IS_IP_THIS_HOST|IS_IP_LOCALHOST|IS_IP_LOOPBACK))

change to

	if (isReservedIP(client_addr, IS_IP_THIS_HOST|IS_IP_LOOPBACK))

That will remove 127.0.0.0/8 from the hard coded white listing, while
still maintaining the white listing for 127.0.0.1 only.


-- 
Anthony C Howe        Twitter: SirWumpus                    SnertSoft
+33 6 11 89 73 78       Skype: SirWumpus        BarricadeMX & Milters
http://www.snert.com/     ICQ: 7116561
     http://www.snertsoft.com/

Lists Index Date Thread Search