2 msgRecipient address rejected: User unknown in loc...

Injecting headers into a database
\ Steve Finkelstein (11 Mar 2008)

8 msgAn 'in between' server
8 msgUnable to change SMTP server setting
4 msgmasquerade_exceptions for root
3 msgmilter macros {mail_addr} in postfix 2.5.1
2 msgpostfix.org mail server caused weird timeout
3 msgForce smtp to close a connection
4 msgDocumentation Question
5 msgbest practice for using external lists or tables
1 msgRewrite Return-Path in forwarded messages
4 msgRelay domains in cdb format is case sensitive
4 msgPostfix and Mailscanner on different servers?
2 msglocal transport reinjecting message for non-loc...
8 msgHow to make outgoing mail masquerade virtual do...
4 msgUsing Canonical Maps as an Override Option
5 msgPostfix aliases with regular expression
1 msgPostfix Setup help
3 msgAuto-responders and distribution lists
1 msgPostfix SMTP-AUTH authdaemond
Subject:Injecting headers into a database
Group:Postfix-users
From:Steve Finkelstein
Date:11 Mar 2008


 
Hi all,

I was curious if anyone has ever taken up the task of grabbing headers
of all incoming messages to the SMTP server, parsing them, and
injecting them into a database. I'd pop these into a RDBMS later so I
can collect data on my e-mail server.

If anyone has done something similar perhaps in a language that's
powerful at parsing strings such as Perl, I'd love to hear from you.
If you haven't done it but have a good idea of where I can go to read
up on how to interface with the smtpd daemon to be able to accomplish
this, that would be great as well.

Thanks all!

/sf


© 2004-2008 readlist.com