Re: Hopefully an easy header rewriting problem for Postfix

2007-12-07 Thread Lowell Gilbert
Clint Olsen [EMAIL PROTECTED] writes: I essentially want to rewrite all envelope senders of the form: @host.my.domain to just @my.domain The examples in the Postfix docs seem to make it seem like the patterns only allow you to specify explicit recipients at the end of a rewriting rule,

Re: Hopefully an easy header rewriting problem for Postfix

2007-12-07 Thread Clint Olsen
On Dec 07, Lowell Gilbert wrote: The myorigin variable is what you need. See postconf(5) for more things you can do with it. ( myorigin (default: $myhostname) ( The domain name that locally-posted mail appears to come from, and that ( locally posted mail is delivered to. The

Re: Hopefully an easy header rewriting problem for Postfix

2007-12-07 Thread Lowell Gilbert
Clint Olsen [EMAIL PROTECTED] writes: On Dec 07, Lowell Gilbert wrote: The myorigin variable is what you need. See postconf(5) for more things you can do with it. ( myorigin (default: $myhostname) ( The domain name that locally-posted mail appears to come from, and that (

Re: Hopefully an easy header rewriting problem for Postfix

2007-12-07 Thread Clint Olsen
On Dec 07, Noel Jones wrote: http://www.postfix.org/ADDRESS_REWRITING_README.html#masquerade Looks like exactly what you describe. Just set in main.cf: masquerade_domains = my.domain and then run postfix reload Yes! This looks like it does what I want! I completely forgot about the

Re: Hopefully an easy header rewriting problem for Postfix

2007-12-07 Thread Noel Jones
On Dec 7, 2007 12:23 PM, Clint Olsen [EMAIL PROTECTED] wrote: I essentially want to rewrite all envelope senders of the form: @host.my.domain to just @my.domain http://www.postfix.org/ADDRESS_REWRITING_README.html#masquerade Looks like exactly what you describe. Just set in main.cf: