Re: using header_checks to change message-id header

2011-08-20 Thread Bastian Blank
On Mon, Aug 15, 2011 at 09:30:37AM -0500, Jerico2day wrote: > I'd like to have postfix dynamically change "my.domain.com" only on > Message-Id header to some arbitrary domain that would be > public-facing for all outgoing mail and change it back for incoming > mail. Care to explain how you intend

Re: using header_checks to change message-id header

2011-08-16 Thread Jerico2day
Thanks all for the help. I decided instead to just replace all instances of my internal domain using the following on my gateway server: /^(.*?)internal\.domain\.com(.*?)/ REPLACE ${1}pretend_name.domain.com${2} This is because it wasn't modifying the Resent-Message-Id headers. And on my in

Re: using header_checks to change message-id header

2011-08-16 Thread Peter Blair
On Tue, Aug 16, 2011 at 2:35 AM, Ralf Hildebrandt wrote: > * Peter Blair : >> /Message-Id:\s+<(.*?)@my.domain.com>/   REPLACE Message-Id: >> <$1...@my.domain.net> > > Warning: this might also alter Resent-Message-Id: into Message-Id:!!! -1s/might/will/ Cheers! :)

Re: using header_checks to change message-id header

2011-08-15 Thread Ralf Hildebrandt
* Peter Blair : > On Mon, Aug 15, 2011 at 10:30 AM, Jerico2day wrote: > > I'd like to have postfix dynamically change "my.domain.com" only on > > Message-Id header  to some arbitrary domain that would be > > public-facing for all outgoing mail and change it back for incoming > > mail. > > > > Unfo

Re: using header_checks to change message-id header

2011-08-15 Thread Peter Blair
On Mon, Aug 15, 2011 at 10:30 AM, Jerico2day wrote: > I'd like to have postfix dynamically change "my.domain.com" only on > Message-Id header  to some arbitrary domain that would be > public-facing for all outgoing mail and change it back for incoming > mail. > > Unfortunately, I'm not quite sure

Re: using header_checks to change message-id header

2011-08-15 Thread Noel Jones
On 8/15/2011 9:30 AM, Jerico2day wrote: > Hey all, I'm wondering how best I can change the message ID in the > header of emails. I use Zarafa 7x on an internal machine and I don't > believe there is a way to change the header easily with that software. > > Here's an example from my email headers >