Bonjour,

Question postfix:

J'ai plusieur addresses internets pour mon courrier. Prenons pour
example:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

J'ai mis en place mon MUA pour qu'il ré ecrive le champ From: en
fonction du destinataires. Maintenant je voudrais que postfix
distribue ce courrier sur le serveur SMTP approprié.

C'est à dire foo.bar pour [EMAIL PROTECTED] et goo.baz pour [EMAIL PROTECTED]

Voilà ma configuration actuelle, mais ça ne marche pas encore:

main.cf
================================================
append_dot_mydomain = no
myhostname = dell
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = dell, localhost
transport_maps = regexp:/etc/postfix/transport
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
=================================================

transport
=================================================
/^From: .*foo.bar/    smtp:foo.bar
/^From: .*goo.baz/    smtp:goo.baz
=================================================

A+

Ivan Kanis
-- 
/-----------------------------------------------------------------------------*
| "As soon as we started programming, we found to our   |                     |
| surprise that it wasn't as easy to get programs right |                     |
| as we had thought.  Debugging had to be discovered.   |      Ivan Kanis     |
| I can remember the exact instant when I realized that | Software Developper |
| a large part of my life from then on was going to be  |     www.kanis.cc    |
| spent in finding mistakes in my own programs."        |                     |
| (Maurice Wilkes, 1949)                                |                     |
*-----------------------------------------------------------------------------/

Linux-Azur :      http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****

Répondre à