OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
POPB4SMTP

grufigmx.de
Date: Wed May 03 2006 - 03:05:41 CDT


Hello,

is there a possibility to create an information in the envelope or in
the header, if someone authenticates via the popb4smtp mechanism?
I use the drac-daemon which just maps ip and a timestamp.

What i want is like this:

Envelope:
250 Sender Authenticated via SMTP after Pop OK

or
an additional Header like:
X-Auth: via popb4smtp

My configuration:

smtpd_client_restrictions =
                               ....
                                check_client_access
hash:/etc/postfix/hash/my_net, like: 192.168.0.0/24 OK
                                check_client_access
btree:/etc/postfix/drac/dracd, like 1.2.3.4 123123123
                               ....

My only solution is something handwritten like an (MySQL-)Lookup, which
will be filled by a parser on the Log-File:

Ip | time | message
1.2.3.4 | 20060502165323 | 250 Sender Authenticated via SMTP after Pop OK

Is there a given solution in Postfix ?

thanks Axel