|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: address rewriting?
From: Jim Seymour (jseymour
LinxNet.com)Date: Fri Mar 24 2000 - 16:41:18 CST
- Next message: Sean Rima: "Re: Host found but no data record of requested type"
- Previous message: Wietse Venema: "Re: Update 3: the plot thickens. (^A^A^H junk)"
- In reply to: Adam Bowen: "address rewriting?"
- Reply: Jim Seymour: "Re: address rewriting?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Adam Bowen <abowen
driveway.com> wrote:
>
>
> I was wondering if it's possible to do common recipient address-rewriting
> automatically with Postfix. For example, Al.Bundy
and albundy
would be
> rewritten as abundy
Certainly.
>
> I couldn't find any howto info on this in the documentation sources--the
> only info available was on canonical name rewrites, which applies strictly
> to the format of the entire address.
Not really. But I can see how one might come to that conclusion.
>
> Anyone have tips on this?
/etc/postfix/main.cf:
canonical_maps = type:/etc/postfix/canonical
/etc/postfix/canonical:
Al.Bundy abundy
albundy abundy
Do "postmap canonical" and "postfix reload" and you're all set.
Observe the caveats in canonical(5) regarding "$mydestination" and
"$myorigin."
FWIW: I generally use aliases for this kind of thing.
Regards,
Jim
-- Jim Seymour | PGP Public Key available at: jseymourLinxNet.com | http://www.cam.ac.uk.pgp.net/pgpnet/wwwkeys.html http://home.msen.com/~jimsun | http://www.trustcenter.de/cgi-bin/SearchCert.cgi
- Next message: Sean Rima: "Re: Host found but no data record of requested type"
- Previous message: Wietse Venema: "Re: Update 3: the plot thickens. (^A^A^H junk)"
- In reply to: Adam Bowen: "address rewriting?"
- Reply: Jim Seymour: "Re: address rewriting?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]