Umm, I'm looking for something more canonical.

I want to get exactly what will be sent over the network, right before
it is sent, or when it is queued.

-tim


On 9/23/13, Wietse Venema <wie...@porcupine.org> wrote:
> Tim Prepscius:
>> Hey,
>>
>> Again, thank you very much for the previous configuration questions.
>>
>>
>> So, at the moment, when a mail is received it correctly spawns the
>> java process and does whatever it needs to do.
>>
>>
>> I would also like to hook this same process in when a send event occurs.
>>
>> So:
>>
>> Bob talks to SMTP, sends an email from his account to some other
>> account, either on my domain, or another domain.
>>
>> Either when the mail is queued, or when it is actually sent, both
>> would be fine (although queued would be better in this case I think):
>> I would like postfix to call the same
>>
>> master.cf:
>> javapipe  unix  -       n       n       -       -       pipe
>>   user=postfix-user flags=DRhuX argv=java -jar
>> /home/postfix-user/PostfixMailReceiver.jar -args $recipient
>>
>> (although I would change $recipient to $sender (or whatever it might be))
>>
>>
>> I'm looking at:
>> http://www.postfix.org/FILTER_README.html
>
> Why not monitor the mail logfile? It has the entire history
> of all deliveries, successful or not.
>
> Alternatively, you an use always_bcc to add a recipent that
> is notified of all email that passes through Postfix.
> http://www.postfix.org/postconf.5.html#always_bcc
>
>       Wietse
>
>       Wietse
>

Reply via email to