Re: Modify subject based on recipient

2013-07-02 Thread Gaby L
I resolve same problem: 1 Use header checks in main.cf header_checks=regexp:/etc/postfix/header_checks 2. Edit and map header_checks file with line: /^Subject:.*(fax...)/ FILTER filter_fax:dummy 3.Edit master.cf with filter_fax line: filter_fax unix - nn -

Re: Modify subject based on recipient

2013-07-01 Thread Wietse Venema
Noel Jones: > > It's easy enough to ignore existing Subject: lines, but adding > > exactly one requires care. The bad news is that PREPEND action (in > > access, header_checks, body_checks) will prepend text for each match. > > > > Adding text once robustly requires changes to Postfix, without >

Re: Modify subject based on recipient

2013-07-01 Thread LuKreme
On 01 Jul 2013, at 12:09 , Daniel L. Miller wrote: > On 6/28/2013 4:34 PM, Noel Jones wrote: >> On 6/28/2013 5:39 PM, Daniel L. Miller wrote: >>> Does anyone know of a tool that will let me modify the subject line >>> of all emails that pass through it? I would call it via a transport >>> map.

Re: Modify subject based on recipient

2013-07-01 Thread Noel Jones
On 7/1/2013 2:51 PM, Wietse Venema wrote: > Noel Jones: > [Setting the subject to "fax from 555-1212"] >> Since this isn't real email, it might be sufficient to always add a >> Subject header, even if one already exists. And maybe throw away >> the existing Subject too. >> >> I'm pretty sure postf

Re: Modify subject based on recipient

2013-07-01 Thread Wietse Venema
Noel Jones: [Setting the subject to "fax from 555-1212"] > Since this isn't real email, it might be sufficient to always add a > Subject header, even if one already exists. And maybe throw away > the existing Subject too. > > I'm pretty sure postfix will only add one header, despite this rule > m

Re: Modify subject based on recipient

2013-07-01 Thread Marius Gologan
On Mon, Jul 1, 2013 at 10:04 PM, Noel Jones wrote: > On 7/1/2013 1:09 PM, Daniel L. Miller wrote: > > On 6/28/2013 4:34 PM, Noel Jones wrote: > >> On 6/28/2013 5:39 PM, Daniel L. Miller wrote: > >>> Does anyone know of a tool that will let me modify the subject line > >>> of all emails that pass

Re: Modify subject based on recipient

2013-07-01 Thread Noel Jones
On 7/1/2013 1:09 PM, Daniel L. Miller wrote: > On 6/28/2013 4:34 PM, Noel Jones wrote: >> On 6/28/2013 5:39 PM, Daniel L. Miller wrote: >>> Does anyone know of a tool that will let me modify the subject line >>> of all emails that pass through it? I would call it via a transport >>> map. >>> >>> M

Re: Modify subject based on recipient

2013-07-01 Thread Daniel L. Miller
On 7/1/2013 11:16 AM, Jeroen Geilman wrote: On 07/01/2013 08:15 PM, Jeroen Geilman wrote: On 07/01/2013 08:09 PM, Daniel L. Miller wrote: On 6/28/2013 4:34 PM, Noel Jones wrote: On 6/28/2013 5:39 PM, Daniel L. Miller wrote: Does anyone know of a tool that will let me modify the subject line o

Re: Modify subject based on recipient

2013-07-01 Thread Jeroen Geilman
On 07/01/2013 08:15 PM, Jeroen Geilman wrote: On 07/01/2013 08:09 PM, Daniel L. Miller wrote: On 6/28/2013 4:34 PM, Noel Jones wrote: On 6/28/2013 5:39 PM, Daniel L. Miller wrote: Does anyone know of a tool that will let me modify the subject line of all emails that pass through it? I would c

Re: Modify subject based on recipient

2013-07-01 Thread Jeroen Geilman
On 07/01/2013 08:09 PM, Daniel L. Miller wrote: On 6/28/2013 4:34 PM, Noel Jones wrote: On 6/28/2013 5:39 PM, Daniel L. Miller wrote: Does anyone know of a tool that will let me modify the subject line of all emails that pass through it? I would call it via a transport map. My application - w

Re: Modify subject based on recipient

2013-07-01 Thread Daniel L. Miller
On 6/28/2013 4:34 PM, Noel Jones wrote: On 6/28/2013 5:39 PM, Daniel L. Miller wrote: Does anyone know of a tool that will let me modify the subject line of all emails that pass through it? I would call it via a transport map. My application - we just switched to a new email-to-fax service. A

Re: Modify subject based on recipient

2013-06-28 Thread Noel Jones
On 6/28/2013 5:39 PM, Daniel L. Miller wrote: > Does anyone know of a tool that will let me modify the subject line > of all emails that pass through it? I would call it via a transport > map. > > My application - we just switched to a new email-to-fax service. As > part of their security implem

Modify subject based on recipient

2013-06-28 Thread Daniel L. Miller
Does anyone know of a tool that will let me modify the subject line of all emails that pass through it? I would call it via a transport map. My application - we just switched to a new email-to-fax service. As part of their security implementation (THEIRS, not mine!) they require all emails s