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: address rewriting...
From: Ralf Hildebrandt (R.Hildebrandttu-bs.de)
Date: Thu May 04 2000 - 02:50:24 CDT


On Thu, May 04, 2000 at 11:29:15AM +0400, Alex Vostrikov wrote:
> Hi there,
>
> is is possible to rewrite outgoing addresses like this:
>
> host!userdomain.com --> userdomain.com

Yes.

Use
canonical_maps = regexp:/etc/postfix/canonical

with /etc/postfix/canonical :

/.*!(.*)domain.com/ $1domain.com

-- 
Ralf Hildebrandt <R.Hildebrandttu-bs.de> www.stahl.bau.tu-bs.de/~hildeb
Go go Gadget kernel compile!