OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re:
From: Jim Seymour (jseymourLinxNet.com)
Date: Mon Mar 27 2000 - 16:29:37 CST


Adam Bowen <abowendriveway.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
>
> I couldn't find any howto info on this in the documentation sources--the
> only info available was on canonical name rewrites, which I believe applies
> only to the format and special chars of the entire address.
>
> Anyone have tips on this?

I believe you already asked, and I already answered this question
once:

> From jseymour Fri Mar 24 17:41:18 2000
> To: postfix-userspostfix.org
> Subject: Re: address rewriting?
>
> Adam Bowen <abowendriveway.com> wrote:
> > Message-ID: <FDC97E0027EBD311919C00508B9B11D70281DDbdcdriveway-sfo.driveway.com>
> >
> >
> > 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