LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Postfix, SA and RBL problems

[ILUG] Postfix, SA and RBL problems

Niall O Broin niall at linux.ie
Mon May 10 10:29:49 IST 2004


A while ago I sent this message to the list:

----------------------------------------------------------------------------
I use the spamhaus blacklist with various SMTP servers and it works nicely. 
However, recently on a server running Postfix 1.1.11 (yes, I know) it appeared 
to have stopped working properly. I got lots of messages such as this in the 
logs:

Apr 17 00:41:31 pogo1 postfix/smtpd[26325]: warning:        \ 
230.192.141.69.sbl-xbl.spamhaus.org: RBL lookup error:      \
Name service error for 230.192.141.69.sbl-xbl.spamhaus.org: \
Host not found, try again

Note that DNS lookup is working correctly on this box - if I dig for such an 
address, I get NXDOMAIN. Now surely in the normal course of event, this is 
(hopefully) what you'll see more of i.e. failed lookups because the host is 
NOT in the list. So, why is that being reported? Also, in the current logs I 
am seeing NO RBL rejected messages. I suppose it's possible that the spammers 
have stopped sending mail to this server, but I doubt it, somehow.
----------------------------------------------------------------------------

Since then, I upgraded the box to Postfix 2.1 (yes, it was about time) and the 
problem appeared to be resolved. However, that was a red herring as the 
problem has reappeared, after I added support for SA to Postfix. This I've 
done with this line added to master.cf:

smtp inet n - y -  - smtpd -o content_filter=procmail:filter

and this in /etc/procmailrc:

SENDER=$1
SHIFT=1

:0 hbfw
* < 256000
| /usr/bin/spamc

:0
| /usr/sbin/sendmail -i -f "$SENDER" -- "$@"


So the bottom line is that the lookups of sbl-xbl.spamhaus.org work fine, but 
not when procmail is used. Any ideas?



-- 
Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell