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: Peppino Anselmi (reliancereliance.it)
Date: Fri Feb 18 2000 - 09:00:27 CST


Andreas Burkhardt wrote:

> hi,
>
> at first excuse my terrible english. :-))
>
> I have here 10 domains and wanna writing too much.
>
> So how can i rewrite cindy[one of the 10 Domains] to
> cindy[destination]?
>
> Is it possible, that if cindy[destination] does not exist, to reject
> the mail?

Sure it is.
You have to use virtual (a simple text file in the /etc/postfix
directory) and write the following in it:

cindy[one of the 10 domains] cindydestination

Just remember to tell Postfix, through main.cf, to use virtual.
(virtual_maps = hash:/etc/postfix/virtual)
Run "postmap virtual" in order to obtain virtual.db.
Run "postfix reload" to have Postfix re-reading the configuration files.

Bye
Peppo

>
>
> Sorry, i read the documentation and trieded something, but can't find
> the
> answer.
>
> Need i to use Procmail for this?
>
> --
> cya, andreaz