Re: on send call command

2013-09-24 Thread Tim Prepscius
Ok I have two questions. 1. Does always_bcc modify the original message? 2. Could I somehow plug in to whatever is queueing the message to disk? -tim On 9/24/13, Noel Jones njo...@megan.vbhcs.org wrote: On 9/23/2013 11:08 PM, Tim Prepscius wrote: I need to save the original, of all

Re: on send call command

2013-09-24 Thread Wietse Venema
Tim Prepscius: Ok I have two questions. 1. Does always_bcc modify the original message? always_bcc does not change the headers or body. always_bcc adds one envelope recipient. 2. Could I somehow plug in to whatever is queueing the message to disk?

Re: on send call command

2013-09-24 Thread Tim Prepscius
Ah.. I think the http://www.postfix.org/FILTER_README.html is what I need -- perhaps -- I'll find out. Thank you for all the pointers so far, -tim On 9/24/13, Wietse Venema wie...@porcupine.org wrote: Tim Prepscius: Ok I have two questions. 1. Does always_bcc modify the original

Re: on send call command

2013-09-24 Thread Viktor Dukhovni
On Tue, Sep 24, 2013 at 12:29:46PM -0400, Tim Prepscius wrote: I think the http://www.postfix.org/FILTER_README.html is what I need -- perhaps -- I'll find out. Also read http://www.postfix.org/OVERVIEW.html Mail comes in, and then it goes out. On the input side all envelope and content

on send call command

2013-09-23 Thread 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

Re: on send call command

2013-09-23 Thread Tim Prepscius
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

Re: on send call command

2013-09-23 Thread Wietse Venema
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:

Re: on send call command

2013-09-23 Thread Tim Prepscius
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

Re: on send call command

2013-09-23 Thread Wietse Venema
Tim Prepscius: 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. Postfix is not a network monitoring tool. Use tcpdump or Bro instead. Wietse

Re: on send call command

2013-09-23 Thread Tim Prepscius
No, I don't mean network dump. I mean the full mime-message. With all the headers that have been attached during the postfix process and by (in my case) java-mail, etc. For instance stuff like this: Subject: Re: on send call command In-Reply-To: caaj3avuz+b46ogo7umbrkx+bfbr8dcqdz0vpvp+9s9m3e98

Re: on send call command

2013-09-23 Thread /dev/rob0
: on send call command In-Reply-To: caaj3avuz+b46ogo7umbrkx+bfbr8dcqdz0vpvp+9s9m3e98...@mail.gmail.com To: Postfix users postfix-users@postfix.org Date: Mon, 23 Sep 2013 20:08:26 -0400 (EDT) Reply-To: Postfix users postfix-users@postfix.org X-Mailer: ELM [version 2.4ME+ PL124d (25)] MIME-Version

Re: on send call command

2013-09-23 Thread Tim Prepscius
stuff like this: Subject: Re: on send call command In-Reply-To: caaj3avuz+b46ogo7umbrkx+bfbr8dcqdz0vpvp+9s9m3e98...@mail.gmail.com To: Postfix users postfix-users@postfix.org Date: Mon, 23 Sep 2013 20:08:26 -0400 (EDT) Reply-To: Postfix users postfix-users@postfix.org X-Mailer: ELM [version

Re: on send call command

2013-09-23 Thread Noel Jones
On 9/23/2013 9:18 PM, Tim Prepscius wrote: No, I don't mean network dump. I mean the full mime-message. With all the headers that have been attached during the postfix process and by (in my case) java-mail, etc. For instance stuff like this: Subject: Re: on send call command In-Reply

Re: on send call command

2013-09-23 Thread Tim Prepscius
attached during the postfix process and by (in my case) java-mail, etc. For instance stuff like this: Subject: Re: on send call command In-Reply-To: caaj3avuz+b46ogo7umbrkx+bfbr8dcqdz0vpvp+9s9m3e98...@mail.gmail.com To: Postfix users postfix-users@postfix.org Date: Mon, 23 Sep 2013 20:08:26

Re: on send call command

2013-09-23 Thread Noel Jones
On 9/23/2013 11:08 PM, Tim Prepscius wrote: I need to save the original, of all messages leaving the system. Original meaning whatever postfix is going to send. This is not for testing or for auditing. I will need this running in a production environment. always_bcc, if it does not