On Tue, Sep 16, 2008 at 03:12:16PM -0400, Victor Duchovni wrote: > 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? Okay, let me rephrase. A few people have a shell on my server with mutt installed. They are allowed to send mail. However, I don't want them to send their mail with for example my username as the sender. The sender domain issue is not that much of a problem, though.
An example of what I don't want: Username peter sends an email, uses "[EMAIL PROTECTED]" as the sender. Instead, I want it to be rewritten to "[EMAIL PROTECTED]". Is there really no solution to that? :( > > -- > 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.