From: Niall O Broin (niall at domain linux.ie)
Date: Tue 22 May 2001 - 02:52:04 IST
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 ?
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.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:24 GMT