problème postfix et gmail

Le
maderios
Bonjour
J'ai fait quelques changements dans la conf.
salix:/etc/postfix# postconf -n
canonical_maps = hash:/etc/postfix/canonical
config_directory = /etc/postfix
myhostname = salix
myorigin = $myhostname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no =
append_dot_mydomain = no alias_maps = hash:/etc/aliases alias_d=
atabase = hash:/etc/aliases transport_maps = hash:/etc/postfix/trans=
port mydestination = $myhostname, localhost, $mydomain disable_dns_=
lookups = yes relay_domains = relayhost = [smtp.gmail.com]:587=
mynetworks = 127.0.0.0/8 mailbox_command = procmail -a "$EXTENSI=
ON" mailbox_size_limit = 0 recipient_delimiter = + inet_interf=
aces = all smtpd_tls_session_cache_database = btree:${data_directory=
}/smtpd_scache smtp_tls_session_cache_database = btree:${data_director=
y}/smtp_scache smtp_tls_loglevel = 1 smtp_generic_maps = hash:/etc/=
postfix/generic smtp_tls_CAfile = /etc/postfix/cacert.pem smtp_tls_ce=
rt_file = /etc/postfix/gmail-cert.pem smtp_tls_key_file = /etc/postfi=
x/gmail-key.pem smtp_tls_note_starttls_offer = yes smtp_tls_security_=
level = may smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem smtpd_tls_=
cert_file = /etc/ssl/certs/gmail-cert.pem smtpd_tls_key_file = /etc/s=
sl/private/gmail-key.pem smtpd_tls_received_header = yes smtpd_use_tl=
s = yes smtpd_enforce_tls = yes tls_random_source = dev:/dev/uran=
dom smtpd_sasl_auth_enable = no smtp_sasl_auth_enable = yes smtp_=
sasl_password_maps = hash:/etc/postfix/sasl_passwd smtpd_sasl_local_dom=
ain = $myhostname smtp_sasl_security_options = noanonymous smtp_sas=
l_tls_security_options = noanonymous smtpd_sasl_application_name = sm=
tpd smtp_sender_dependent_authentication = yes sender_dependent_relay=
host_maps = hash:/etc/postfix/relayhost_map
salix:/etc/postfix#


Bizarre que le port 587 n'apparaisse pas.
Postfix essaie de passer par le port 25, et voilà:

tail -f /var/log/mail.info
May 27 14:34:49 salix postfix/qmgr[6570]: 2474E14721F: from=<mcmcpc@gmail=
.com>, size=276, nrcpt=1
(queue active) May 27 14:35:10 salix postfix/smtp[6629]: connect to
gmail-smtp-in.l.google.com[209.85.229.27]:25: Connection timed out May 27 1=
4:35:31 salix
postfix/smtp[6629]: connect to alt1.gmail-smtp-in.l.google.com[209.85.219.5=
5]:25: Connection timed
out May 27 14:35:52 salix postfix/smtp[6629]: connect to
alt2.gmail-smtp-in.l.google.com[72.14.221.27]:25: Connection timed out May =
27 14:36:13 salix
postfix/smtp[6629]: connect to alt3.gmail-smtp-in.l.google.com[72.14.213.27=
]:25: Connection timed
out May 27 14:36:34 salix postfix/smtp[6629]: connect to
alt4.gmail-smtp-in.l.google.com[74.125.95.27]:25: Connection timed out May =
27 14:36:34 salix
postfix/smtp[6629]: 2474E14721F: to=<maderios@gmail.com>, relay=none, d=
elay=6867,
delays=6762/0.01/105/0, dsn=4.4.1, status=deferred (connect to
alt4.gmail-smtp-in.l.google.com[74.125.95.27]:25: Connection timed out) May=
27 14:37:43 salix
postfix/pickup[6569]: 6312460C9: uid=0 from= May 27 14:37:43 salix post=
fix/cleanup[6659]:
6312460C9: message-id=<20100527123743.6312460C9@salix> May 27 14:37:43 sa=
lix postfix/qmgr[6570]:
6312460C9: from=<mcmcpc@gmail.com>, size=277, nrcpt=1 (queue active) =
May 27 14:38:04 salix
postfix/smtp[6629]: connect to gmail-smtp-in.l.google.com[209.85.227.27]:25=
: Connection timed out
May 27 14:38:25 salix postfix/smtp[6629]: connect to
alt1.gmail-smtp-in.l.google.com[74.125.39.27]:25: Connection timed out May =
27 14:38:46 salix
postfix/smtp[6629]: connect to alt2.gmail-smtp-in.l.google.com[72.14.221.27=
]:25: Connection timed
out May 27 14:39:07 salix postfix/smtp[6629]: connect to
alt3.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection timed out May =
27 14:39:28 salix
postfix/smtp[6629]: connect to alt4.gmail-smtp-in.l.google.com[74.125.95.27=
]:25: Connection timed
out May 27 14:39:28 salix postfix/smtp[6629]: 6312460C9: to=<maderios@gma=
il.com>, relay=none,
delay=105, delays=0.02/0/105/0, dsn=4.4.1, status=deferred (connect=
to
alt4.gmail-smtp-in.l.google.com[74.125.95.27]:25: Connection timed out) May=
27 14:39:49 salix
postfix/qmgr[6570]: EEC8AA1D4: from=<mcmcpc@gmail.com>, size=272, nrcpt=
=1 (queue active) May 27
14:40:10 salix postfix/smtp[6629]: connect to gmail-smtp-in.l.google.com[20=
9.85.227.27]:25:
Connection timed out May 27 14:40:31 salix postfix/smtp[6629]: connect to
alt1.gmail-smtp-in.l.google.com[74.125.39.27]:25: Connection timed out May =
27 14:40:52 salix
postfix/smtp[6629]: connect to alt2.gmail-smtp-in.l.google.com[72.14.221.27=
]:25: Connection timed
out May 27 14:41:13 salix postfix/smtp[6629]: connect to
alt3.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection timed out




--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: http://lists.debian.org/20100527164639.50d1a524@salix
Questions / Réponses high-tech
Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
Jean-Bernard Yata
Le #22177601
maderios wrote:
myhostname = salix
myorigin = $myhostname



Pour ma part le relayhost s'ecrit :
relayhost = smtp.gmail.com:587 sans les crochets et ca passe.

Je souleve egalement un point : le risque de ne pas etre relayé par
certains smtp qui verifient de facon stricte si ton serveur a un nom
pleinement qualifié (FQDN)

JB

--
Best regards,

--

Jean-Bernard Yata
System Engineer

Debian France Mirror Maintainer : debian.revolsys.fr
--

Linux Debian User Group & Community :
IRC : irc.debian-mirror.com/#linux
WWW : http://www.debian-mirror.com

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers
En cas de soucis, contactez EN ANGLAIS
Archive: http://lists.debian.org/
Publicité
Poster une réponse
Anonyme