Robert Fitzpatrick:
> local_header_rewrite_clients = static:all
> 
> I'm looking for a way to rewrite by name from any client. My canonical 
> maps work great for mynetworks, would like to apply the same type 
> rewrite to any message...

The above setting should enable canonical mapping for all email,
which was Postfix behavior before Postfix 2.3.

> postmap -q u...@host.otherdomain.com 
> ldap:/usr/local/etc/postfix/ldap/canonical.cf
> @otherdomain.com

Don't do that. It makes your Postfix accept email for
non-existent email addresses.

Instead, make explicit rules:

us...@host.otherdomain.com      us...@otherdomain.com
us...@host.otherdomain.com      us...@otherdomain.com
us...@host.otherdomain.com      us...@otherdomain.com

        Wietse

Reply via email to