On Tue, Sep 16, 2008 at 09:04:00PM +0200, Henrik Friedrichsen wrote: > On Tue, Sep 16, 2008 at 01:53:08PM -0400, Victor Duchovni wrote: > > Would it not be better to reject the mail? How do you that: > > > > [EMAIL PROTECTED] > > > > should be > > > > [EMAIL PROTECTED] > > > > instead? Or are you looking to masquerade sub-domains, or something else > > more sensible? > > Something like masquerading, but with a list of allowed domains.
masquerading *all* sender domains is unwise, there is no reason to expect equivalent name-spaces in domains you do not own. A regexp canonical table can do this, with canonical_classes restricted to "envelope_sender". Your goals don't quite make sense yet, what real problem are you solving? -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:[EMAIL PROTECTED]> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.