OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: pop-before-smtp qpopper support
From: Daniel Meredith (dmanmadcat.investimg.com)
Date: Thu Jun 08 2000 - 19:13:32 CDT


FYI:

I thought this may be of some interest to those currently using Qpopper instead
of the UW pop/imap servers. I changed out the regexp in the pop-before-smtp
perl script avalible at:
ftp://ftp.merit.edu/postfix/experimental/todd-pop-before-smtp-1.2.tar.gz
to support Qpopper. Qpopper uses a different format than UW POP/IMAP for its
log entries. This allows Postfix to use the POP authenticated IPs as a
reference for its SMTP relay connections.

in pop-before-smtp at line 118:
# Support for UW POP/IMAP Server
#my $pat = '^(... .. ..:..:..) \S+ (?:ipop3d|imapd)\[\d+\]: ' .
# 'Login user=\S+ host=(?:\S+ )?\[(\d+\.\d+\.\d+\.\d+)\]';
 
#
# Support for Qpopper POP/APOP Server
my $pat = '^(... .. ..:..:..) \S+ (?:qpopper)\[\d+\]: Stats: \S+ ' .
          '(?:\d+ ){4}(\d+.\d+.\d+.\d+)';

The simple change allows for the use of Qpopper, which supports not only POP,
but APOP. I realize that some prefer to use DRAC to accomplish the same
thing, but I would rather give more CPU to running a perl script than open up
portmapper on my machines.

~Dan

======================================
Daniel Meredith
Systems Architect
Search123.com, Inc
818.597.2217
+++++++++++++++++++
dansearch123.com
        or
dmereditcs.hmc.edu