Florian, > I was using README.postfix at > http://www.ijs.si/software/amavisd/README.postfix.html as my basis for > amavisd-new, which worked fine so far. However, recently I've stumbled > across an issue in it: When you use sender_canonical_maps with it, > things don't work as expected, only the Return-Path is modified, but > not the From header. > > After I removed > -o local_header_rewrite_clients= > things seem to work fine, but I'm not sure if it broke something. > Is this the proposed setting for using sender_canonical_maps, or do > I mistake something?
The '-o local_header_rewrite_clients=' is intentional, but may not be necassary. By removing it you allow Postfix to rewrite header section even after content filtering. This is usually unnecessary and a waste of time when the rewriting already happened once before content filtering so there may not be anything there to rewrite again. At other times this post-filter rewriting is even undesirable, as it may break a DKIM signature just created by amavisd, e.g. when a From header field is rewritten by canonical maps or masquerading after content filtering. So what you describe would only be infecting mail inserted into a stream during or after content filtering (e.g. a From address in notification generated by amavisd would not be canonicalized). Regular mail which enters Postfix would be subject to sender_canonical_maps as usual. Are you seing different behaviour? Mark ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/