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 con

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 wrote: > Tim Prepscius: >> Ok I have two questions. >> >> >> 1. Does always_bcc modify the original message? > > always

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? http://www.postfix.org/CONTENT_I

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 wrote: > On 9/23/2013 11:08 PM, Tim Prepscius wrote: >> I need to save the original, of all messages leaving the s

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 doe

Re: on send call command

2013-09-23 Thread Tim Prepscius
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: >> >> To: Postfix users >> Date: Mon, 23 Sep 2013 20:08:26 -04

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

2013-09-23 Thread Tim Prepscius
n 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: >> >> To: Postfix users >>

Re: on send call command

2013-09-23 Thread /dev/rob0
postfix > process and by (in my case) java-mail, etc. > > For instance stuff like this: > Subject: Re: on send call command > In-Reply-To: > > To: Postfix users > Date: Mon, 23 Sep 2013 20:08:26 -0400 (EDT) > Reply-To: Postfix users > X-Mailer: ELM [version 2.4ME+ PL124d (

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: To: Postfix users Date: Mon, 23 Sep 2013

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
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 wrote: > Tim Prepscius: >> Hey, >> >> Again, thank you very much for the previous configuration questions. >> >

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

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 wrote: > Hey, > > Again, thank you very much for the previous configuration questions. > > > So, at the moment, when a mail is received it correctly spawns t

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 an