Bonjour,
Alors je viens de faire plusieurs tests.
Tout d'abord j'ai changé mon hostname de seveur.site.com en
serveur.adgcp-63.com. et mis dans le mailname le nom du site:
adgcp-63.com.
J'ai redémarré le pc et vérifié que le nouveau hostname a bien été
gardé et c'est le cas.
Ensuite j'ai copié dans main.cf la même config que jean-luc (en
changeant bien sur le nom de domaine)
Essai d'envoi d'un message à partir d'un formulaire de mon site, avec
l'adresse hotmail.fr le mail n'est pas délivré et avec l'adresse
@wanadoo.fr le mail n'est pas délivré.
voici l'extrait de mail.log:
Jul 30 13:29:14 serveur postfix/postfix-script[4696]: starting the
Postfix mail system
Jul 30 13:29:14 serveur postfix/master[4697]: daemon started --
version 2.5.5, configuration /etc/postfix
Jul 30 13:29:49 serveur postfix/pickup[4698]: C38A52FC0EA: uid=33 from=
Jul 30 13:29:49 serveur postfix/cleanup[4702]: C38A52FC0EA:
message-id=<35f4aafdab694115eda9f1d9a4a2dc48@xxxxxxxxxxxxxxxx
<mailto:35f4aafdab694115eda9f1d9a4a2dc48@xxxxxxxxxxxxxxxx>>
Jul 30 13:29:49 serveur postfix/qmgr[4699]: C38A52FC0EA:
from=<www-data@xxxxxxxxxxxx <mailto:www-data@xxxxxxxxxxxx>>,
size=622, nrcpt=1 (queue active)
Jul 30 13:29:49 serveur postfix/pickup[4698]: CC0922FC0E9: uid=33 from=
Jul 30 13:29:49 serveur postfix/cleanup[4702]: CC0922FC0E9:
message-id=<80e402853193476741f89915c3216a7c@xxxxxxxxxxxxxxxx
<mailto:80e402853193476741f89915c3216a7c@xxxxxxxxxxxxxxxx>>
Jul 30 13:29:49 serveur postfix/qmgr[4699]: CC0922FC0E9:
from=<www-data@xxxxxxxxxxxx <mailto:www-data@xxxxxxxxxxxx>>,
size=638, nrcpt=1 (queue active)
Jul 30 13:29:49 serveur postfix/local[4706]: C38A52FC0EA:
to=<contact@xxxxxxxxxxxx <mailto:contact@xxxxxxxxxxxx>>, relay=local,
delay=0.09, delays=0.05/0.03/0/0.01, dsn=5.1.1, status=bounced
(unknown user: "contact")
Jul 30 13:29:49 serveur postfix/cleanup[4702]: D64482FC0EC:
message-id=<20090730112949.D64482FC0EC@xxxxxxxxxxxx
<mailto:20090730112949.D64482FC0EC@xxxxxxxxxxxx>>
Jul 30 13:29:49 serveur postfix/qmgr[4699]: D64482FC0EC: from=<>,
size=2355, nrcpt=1 (queue active)
Jul 30 13:29:49 serveur postfix/local[4706]: warning: specify
"strict_mailbox_ownership = no" to ignore mailbox ownership mismatch
Jul 30 13:29:49 serveur postfix/bounce[4708]: C38A52FC0EA: sender
non-delivery notification: D64482FC0EC
Jul 30 13:29:49 serveur postfix/qmgr[4699]: C38A52FC0EA: removed
Jul 30 13:29:49 serveur postfix/local[4706]: D64482FC0EC:
to=<www-data@xxxxxxxxxxxx <mailto:www-data@xxxxxxxxxxxx>>,
relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=4.2.0,
status=deferred (cannot update mailbox /var/mail/www-data for user
www-data. destination /var/mail/www-data is not owned by recipient)
Jul 30 13:29:51 serveur postfix/smtp[4707]: CC0922FC0E9:
to=<dcompan@xxxxxxxxxx <mailto:dcompan@xxxxxxxxxx>>,
relay=mx4.hotmail.com[65.55.92.184]:25, delay=1.8,
delays=0.02/0.02/0.71/1, dsn=5.0.0, status=bounced (host
mx4.hotmail.com[65.55.92.184] said: 550 DY-001 Mail rejected by
Windows Live Hotmail for policy reasons. We generally do not accept
email from dynamic IP's as they are not typically used to deliver
unauthenticated SMTP e-mail to an Internet mail server.
http://www.spamhaus.org maintains lists of dynamic and residential IP
addresses. If you are not an email/network admin please contact your
E-mail/Internet Service Provider for help. Email/network admins,
please visit http://postmaster.live.com for email delivery
information and support (in reply to end of DATA command))
Jul 30 13:29:51 serveur postfix/cleanup[4702]: 90B412FC0ED:
message-id=<20090730112951.90B412FC0ED@xxxxxxxxxxxx
<mailto:20090730112951.90B412FC0ED@xxxxxxxxxxxx>>
Jul 30 13:29:51 serveur postfix/qmgr[4699]: 90B412FC0ED: from=<>,
size=3508, nrcpt=1 (queue active)
Jul 30 13:29:51 serveur postfix/local[4706]: warning: specify
"strict_mailbox_ownership = no" to ignore mailbox ownership mismatch
Jul 30 13:29:51 serveur postfix/bounce[4708]: CC0922FC0E9: sender
non-delivery notification: 90B412FC0ED
Jul 30 13:29:51 serveur postfix/qmgr[4699]: CC0922FC0E9: removed
Jul 30 13:29:51 serveur postfix/local[4706]: 90B412FC0ED:
to=<www-data@xxxxxxxxxxxx <mailto:www-data@xxxxxxxxxxxx>>,
relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=4.2.0,
status=deferred (cannot update mailbox /var/mail/www-data for user
www-data. destination /var/mail/www-data is not owned by recipient)
et si je veux envoyer un mail en ligne de commande il me met:
bash: mail: command not found