| |||||||||||||||||||||||||||||||
|
> mouss a écrit : >> >> avoid phrases like these... They are hard to understand. a simple >> example is a lot better. >> > > You're true. :) > So, explanations... > I send a mail to zozo. > zozo's destinations : xx > I'd like Postfix not to send "To: zozo" but send a mail for > each destination and by the way, replace "To: zozo" by the > destination mail. > >> >> see if virtual_alias_maps is what you want. Note that virtual aliases >> apply to _ALL_ mail (even for *@yahoo.com, ... etc). Also, make it a >> habit to use fqdn addresses in virtual aliases (that is: specify the >> domain part). >> > > I'm already using virtual_alias_maps and it's not what I want. > This one display the original recipient address, it does not rewrite it > with the final destination address. > do not confuse: - envelope addresses (used for transport and delivery) - header addresses (what you see in From:, To:, Cc: ...) if you want to rewrite headers, look at smtp_generic_maps and canonical_maps. you probably need to read the ADDRESS REWRITE README. you should not modify headers except when really needed and beneficial. > Hope it's more understandable. > > >
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com