Thus spake Kevin J. Menard, Jr. ([EMAIL PROTECTED]):
> You're just asking for trouble that way. Use a pop-before-smtp method instead.
> Bennett Todd's works fantastically with postfix, don't know about sendmail
> though.
I've had good luck with smtp-poplock and this regex:
$line =~ m/^.*(imapd|pop3d)\[\d+\]: login: .*\D(\d+\.\d+\.\d+\.\d+)\D.*$/ &&
return $2;
Consult the smtp-poplock documentation and you'll see where this comes
into play.
-Justin
--
"The road to hell is paved with good intentions." -- Karl Marx