(2011年04月15日 21:04), Wietse Venema wrote: > Mike A. Leonetti: >> My main goal is to "archive" messages with the extra information >> (like what SASL user was used to authenticate to send the message >> etc) that postcat would give. Is it possible to pass that information >> along to a script that would do delivery for example for extra >> tracking information even after the message leaves the postfix >> queue? > Options: > > - The pipe(8) delivery agent can export many (but not all) attributes > on a child process command line. See discussion of "argv=command". > > - The local(8) delivery agent can export many (but not all) attributes > to a child process environment when delivering mail to "|command". > See section "EXTERNAL COMMAND DELIVERY". > > Wietse Aha. The next problem is the server I use delivers e-mail using LMTP so I guess in that case I'd have to always bcc all e-mail to a local user and have that e-mail be delivered to the script using pipe.
The goal is really to just quickly archive all e-mail headers independent of who or where the e-mail is bound for. Mike A. Leonetti As warm as green tea