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 to

Re: using header_checks to change message-id header

2011-08-16 Thread Ralf Hildebrandt
* Peter Blair popc...@snickers.org: On Mon, Aug 15, 2011 at 10:30 AM, Jerico2day jerico2...@gmail.com 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

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 ralf.hildebra...@charite.de wrote: * Peter Blair popc...@snickers.org: /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/

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

using header_checks to change message-id header

2011-08-15 Thread Jerico2day
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 Message-Id:

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 jerico2...@gmail.com 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