OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
in postfix 2.3, how to use mailbox_transport_maps

From: Nicolas Schmitz (Nicolas.Schmitzec-nantes.fr)
Date: Thu Feb 02 2006 - 09:09:51 CST


Hi,
I'd like to replace my global
mailbox_transport = lmtp:1.2.3.4
by

mailbox_transport_maps = hash:/etc/postfix/mailbox_transport_maps

and :

cat /etc/postfix/mailbox_transport_maps
schmitzgondor.ec-nantes.fr lmtp:1.2.3.4
tototata.ec-nantes.fr lmtp:2.3.4.5

But it doesn't seem to work, (I've tried with both postfix-2.3-20060126
and postfix-2.3-20051229) : I get

Feb 2 07:01:49 localhost postfix/local[16016]: 3D7A827592:
to=<schmitzgondor.ec-nantes.fr>,
orig_to=<Nicolas.Schmitzec-nantes.fr>, relay=local, delay=11,
delays=11/0.02/0/0.03, dsn=5.1.1, status=bounced (unknown user: "schmitz")

Whereas if I use mailbox_transport = lmtp:1.2.3.4, the message is
correctly delivered by lmtp.

Thanks in advance.

--
Nicolas Schmitz

Centre de Ressources Informatiques
Ecole Centrale de Nantes
1 rue de la Noe - BP 92101
44321 NANTES CEDEX 03
http://www.ec-nantes.fr