popovitch | Bonsoir à tous,
Je dois héberger 2 sites internet avec 2 domaines différents et 1 seul serveur postfix.
Les 2 adresses de contact des 2 formulaires des 2 sites doivent pointer vers 2 adresses persos distinctes.
J'ai trouvé de la doc sur les virtual mailbox http://postfix.traduc.org/index.ph [...] #canonical
Pour le premier site, pas de soucis.
Pour le second, j'ai fais les modifs dans les fichiers suivant (selon ce que j'ai compris)
main.cf
virtual_transport = maildrop:
virtual_mailbox_domains = mondomaine.com
virtual_mailbox_maps = hashetc/postfix/vmailbox
virtual_alias_maps = hashetc/postfix/virtual
vmailbox
contact@mondomaine.com mondomaine.com/contact
virtual
contact@mondomaine.com monAdressePerso@free.fr
Le HIC : Lorsque j'essaye de balancer un mail sur le formulaire du second site, le mail ne part pas et j'obtiens l'erreur suivante visible dans le fichier de log /var/log/mail.info :
>cat /var/log/mail.info
Code :
- May 16 21:44:33 stock postfix/cleanup[9868]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
- May 16 21:44:33 stock postfix/pickup[9698]: 7CFEF81359: uid=33 from=<www-data>
- May 16 21:44:33 stock postfix/trivial-rewrite[9869]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
- May 16 21:44:33 stock postfix/cleanup[9868]: 7CFEF81359: message-id=<20080516194433.7CFEF81359@mail.mondomaine.com>
- May 16 21:44:33 stock postfix/qmgr[9700]: 7CFEF81359: from=<www-data@mail.mondomaine.com>, size=455, nrcpt=1 (queue active)
- May 16 21:44:33 stock postfix/smtpd[9872]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
- May 16 21:44:33 stock postfix/smtpd[9872]: connect from localhost.localdomain[127.0.0.1]
- May 16 21:44:33 stock postfix/smtpd[9872]: 9CB628134E: client=localhost.localdomain[127.0.0.1]
- May 16 21:44:33 stock postfix/cleanup[9868]: 9CB628134E: message-id=<20080516194433.7CFEF81359@mail.mondomaine.com>
- May 16 21:44:33 stock postfix/smtpd[9872]: disconnect from localhost.localdomain[127.0.0.1]
- May 16 21:44:33 stock postfix/qmgr[9700]: 9CB628134E: from=<www-data@mail.mondomaine.com>, size=908, nrcpt=1 (queue active)
- May 16 21:44:33 stock amavis[1891]: (01891-09) Passed CLEAN, <www-data@mail.mondomaine.com> -> <xwxwx@mail.mondomaine.com>, Message-ID: <20080516194433.7CFEF81359@mail.mondomaine.com>, mail_id: RkPMsS3zouvC, Hits: -, queued_as: 9CB628134E, 167 ms
- May 16 21:44:33 stock postfix/local[9873]: 9CB628134E: to=<xwxwx@mail.mondomaine.com>, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "xwxwx" )
- May 16 21:44:33 stock postfix/smtp[9870]: 7CFEF81359: to=<xwxwx@mail.mondomaine.com>, orig_to=<xwxwx>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.22, delays=0.04/0.01/0/0.17, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=01891-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9CB628134E)
- May 16 21:44:33 stock postfix/cleanup[9868]: B1BAF8135C: message-id=<20080516194433.B1BAF8135C@mail.mondomaine.com>
- May 16 21:44:33 stock postfix/qmgr[9700]: 7CFEF81359: removed
- May 16 21:44:33 stock postfix/bounce[9874]: 9CB628134E: sender non-delivery notification: B1BAF8135C
- May 16 21:44:33 stock postfix/qmgr[9700]: B1BAF8135C: from=<>, size=2816, nrcpt=1 (queue active)
- May 16 21:44:33 stock postfix/qmgr[9700]: 9CB628134E: removed
- May 16 21:44:33 stock postfix/local[9873]: B1BAF8135C: to=<www-data@mail.mondomaine.com>, relay=local, delay=0.06, delays=0.04/0/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: maildrop: Home directory owned by wrong user. )
|
si vous avez une suggestion ... ce serait vraiment cool
Merci de votre aide Message édité par popovitch le 17-06-2008 à 12:13:43
|