I *do* want the mail to be sent.  I just want to record exactly what
it looks like before it gets sent out.

-tim

On 9/23/13, Tim Prepscius <timprepsc...@gmail.com> wrote:
> 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
>
>
> I don't think I'm doing a filter though.  Any hints?
>
> -tim
>

Reply via email to