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 and pop before smtp

[ILUG] Postfix and pop before smtp

Niall O Broin niall at linux.ie
Tue May 22 02:52:04 IST 2001


Having just been kicked off by Esat, I'v started using some of the various
call-by-call providers which means that either I update relay-domains in my
Postfix configuration, or I finally implement pop before smtp. As some of
the providers some of the time use IPs which can't be reversed, and hence
can't be put in relay-domains, I decided that it was time to implement pop
before smtp. I had a look around and came across a Perl program which
doesn't patch Postfix, but rather watches the mail log file and then updates
a client access file for Postfix. However, this requires that the pop daemon
puts the IP address of the logged in pop client into the log file. 

This is on a SuSE 6.4 box, which had pop2000 installed by default, but it
didn't log IPs. The source for pop-before-smtp has a regex to match
gnu-pop3d log entries like

        gnupop3d => '^(... .. ..:..:..) \S+ gnu-pop3d\[\d+\]: ' .
          'User .* logged in with mailbox .* from (\d+\.\d+\.\d+\.\d+)$',

However, in the version of gnupop3d I have (0.9.8) the from part is not
logged. I've used the source already, Luke, and there's no mention of the
client's IP there that I can see. Has anyone implemented this, and if so,
what bloody pop3 server did you use ?




Regards,


Niall

P.S. How did this mail get sent, you might ask - I just happened to log in
via Eircom and this time get an IP which could be reversed.




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