[Gllug] Postfix and masquerading

Jack Bertram jack at jbertram.net
Tue Jan 11 08:35:46 UTC 2005


* John Edwards <John.Edwards at cornerstonelinux.co.uk> [050110 19:31]:
> On Mon, Jan 10, 2005 at 04:34:15PM +0000, Jack Bertram wrote:
> > I've recently installed Ubuntu in place of my old home-grown Linux
> > system and have forgotten what setting I changed in Postfix to stop it
> > rewriting the addresses of local users before sending.
> 
> Anyway the usual setting that rewrites addresses in the headers 
> is the "canonical_maps" option - which is usually a hash file 
> called "canonical". Have a look at the main.cf and see if you 
> have anything set for "canonical_maps". Also you will need to 
> rebuild the hash db after editing the "canonical" text file.

Great - "canonical" was the keyword that I was looking for.  In Postfix
2.0 it turns out that there is a "canonical_classes" parameter which by
default ensures that envelope and header senders are rewritten.

Many thanks.

jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050111/4ebf2385/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list