|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Rewrite with Pattern
From: Noel Jones (njones
megan.vbhcs.org)
Date: Tue Dec 02 2008 - 16:11:31 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fat Bear Mail Services wrote:
> How would one setup Postfix that uses /etc/passwd for authentication so
> that e-mails of the pattern:
>
> username-companyID-anyString
domain1.com
>
> is delivered to:
>
> username
companyDomain.com
>
> where there is a 1:1 mapping between companyID and companyDomain? For
> example:
>
> pat-acme-beta123
mycompany.com >>> pat
acmedesign.com
>
> Note above that "acme" maps to "acmedesign.com".
>
> Many thanks!
> Steve Amerige
> Fat Bear
One would use an awk or perl script to generate a
virtual_alias_map from the input file.
--
Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]