Filtering Outgoing mail - Was: [OT - Renaming Attachments]

2015-02-03 Thread Jeremy Bowen
On Tue, 3 Feb 2015 17:06:14 +1300 Jeremy Bowen jer...@smartpoint.co.nz wrote: From here it looks like I need to initially add the following lines to master.cf: filterunix - n n - 10 pipe flags=Rq user=filter null_sender= argv=/usr/local/bin/myscript

OT - Renaming Attachments

2015-02-02 Thread Jeremy Bowen
This one is a bit off-topic however I'm hoping that someone has come across something similar and can point me in the right direction. I would like to try to intercept certain outgoing emails which have an attachment matching a particular set of criteria and then, on-the-fly, rename the

Re: OT - Renaming Attachments

2015-02-02 Thread Jeremy Bowen
On Mon, 02 Feb 2015 14:42:47 -0600 Noel Jones njo...@megan.vbhcs.org wrote: On 2/2/2015 2:28 PM, Jeremy Bowen wrote: I would like to try to intercept certain outgoing emails which have an attachment matching a particular set of criteria and then, on-the-fly, rename the attachment (or

Re: OT - Renaming Attachments

2015-02-02 Thread Noel Jones
On 2/2/2015 2:28 PM, Jeremy Bowen wrote: This one is a bit off-topic however I'm hoping that someone has come across something similar and can point me in the right direction. I would like to try to intercept certain outgoing emails which have an attachment matching a particular set of

Re: OT - Renaming Attachments

2015-02-02 Thread Jeremy Bowen
On Tue, 3 Feb 2015 11:21:17 +1300 Jeremy Bowen jer...@smartpoint.co.nz wrote: I think I can do what I need to accomplish more accurately efficiently with sed and procmail. I'm just not quite sure how I would go about configuring postfix to make this operate on outgoing mail. Any advice ? OK,