Impossible d'envoyer mail avec mutt

Salut, j’ai essayé d’utiliser mutt mais je n’arrive pas à envoyer de mail, il me donne : gnutls_handshake: An unexpected TLS packet was received , je ne comprends pas j’ai tenté de reconfigurer postfix.

Voici mon fichier main.cf

[code]# See /usr/share/postfix/main.cf.dist for a commented, more complete version

Debian specific: Specifying a file name will cause the first

line of that file to be used as the name. The Debian default

is /etc/mailname.

#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

appending .domain is the MUA’s job.

append_dot_mydomain = no

Uncomment the next line to generate “delayed mail” warnings

#delay_warning_time = 4h

readme_directory = no

TLS parameters

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

information on enabling SSL in the smtp client.

myhostname = debian
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = debian, localhost.localdomain, localhost
relayhost = smtp.numericable.fr
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
[/code]
Merci pour l’aide

Salut,
Il faut les logs avec les erreurs (mail.info, mail.warn ou mail.err).
Tu y parviens sans erreur avec d’autre MUA ?

Salut, en effet je n’arrive plus à envoyer de message ni avec icedove.
Voici mail.info :

Aug 25 10:13:32 debian postfix/master[2934]: terminating on signal 15 Aug 25 10:14:41 debian postfix/master[6537]: daemon started -- version 2.9.6, configuration /etc/postfix Aug 25 10:16:40 debian postfix/postfix-script[9531]: refreshing the Postfix mail system Aug 25 10:16:40 debian postfix/master[6537]: reload -- version 2.9.6, configuration /etc/postfix Aug 25 10:16:54 debian postfix/smtpd[9544]: connect from localhost[::1] Aug 25 10:21:54 debian postfix/smtpd[9544]: timeout after CONNECT from localhost[::1] Aug 25 10:21:54 debian postfix/smtpd[9544]: disconnect from localhost[::1] Aug 25 10:25:14 debian postfix/anvil[9547]: statistics: max connection rate 1/60s for (smtp:::1) at Aug 25 10:16:54 Aug 25 10:25:14 debian postfix/anvil[9547]: statistics: max connection count 1 for (smtp:::1) at Aug 25 10:16:54 Aug 25 10:25:14 debian postfix/anvil[9547]: statistics: max cache size 1 at Aug 25 10:16:54 Aug 25 11:11:50 debian postfix/master[6537]: terminating on signal 15 Aug 25 11:17:08 debian postfix/master[13328]: daemon started -- version 2.9.6, configuration /etc/postfix Aug 25 11:19:17 debian postfix/postfix-script[14487]: refreshing the Postfix mail system Aug 25 11:19:17 debian postfix/master[13328]: reload -- version 2.9.6, configuration /etc/postfix Aug 25 11:19:30 debian postfix/smtpd[14502]: connect from localhost[::1] Aug 25 11:23:34 debian postfix/smtpd[14502]: lost connection after UNKNOWN from localhost[::1] Aug 25 11:23:34 debian postfix/smtpd[14502]: disconnect from localhost[::1] Aug 25 11:29:41 debian postfix/master[13328]: terminating on signal 15 Aug 25 11:41:32 debian postfix/master[16968]: daemon started -- version 2.9.6, configuration /etc/postfix Aug 25 11:43:16 debian postfix/master[16968]: reload -- version 2.9.6, configuration /etc/postfix Aug 25 12:01:55 debian postfix/master[16968]: reload -- version 2.9.6, configuration /etc/postfix Aug 25 12:06:06 debian postfix/master[16968]: reload -- version 2.9.6, configuration /etc/postfix Aug 25 12:21:31 debian postfix/smtpd[19691]: connect from localhost[::1] Aug 25 12:23:53 debian postfix/smtpd[19691]: lost connection after CONNECT from localhost[::1] Aug 25 12:23:53 debian postfix/smtpd[19691]: disconnect from localhost[::1] Aug 25 12:38:45 debian postfix/master[16968]: reload -- version 2.9.6, configuration /etc/postfix

mail.warm Aug 25 15:35:50 debian postfix/master[16968]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied

Par contre mail.err est vide.

On a l’impression que tes logs n’ont aucun rapport avec ton envoi du mail (les dates sont trop éloignées).

Recommence à envoyer un mail avec mutt, puis donne nous les logs correspondants (/var/log/mail.log)

[quote=“Unit”]Salut, en effet je n’arrive plus à envoyer de message ni avec icedove.
Voici mail.info :

Aug 25 10:16:54 debian postfix/smtpd[9544]: connect from localhost[::1]
Aug 25 10:21:54 debian postfix/smtpd[9544]: timeout after CONNECT from localhost[::1]
Aug 25 10:21:54 debian postfix/smtpd[9544]: disconnect from localhost[::1]
[…]
Aug 25 11:19:30 debian postfix/smtpd[14502]: connect from localhost[::1]
Aug 25 11:23:34 debian postfix/smtpd[14502]: lost connection after UNKNOWN from localhost[::1]
Aug 25 11:23:34 debian postfix/smtpd[14502]: disconnect from localhost[::1]

[/quote]

Si les heure corresponde bien a des tentatives d’envoi tu dois avoir un pb de conf.
On voie bien une connexion en local, mais automatiquement déconnecter par le time-out (5min).
Il n’y a pas eu de changement de conf dans ton réseau dernièrement ? Changement d’IP ou autre ?

Met un niveau de log plus important, ça ne peux que aider pour ton pb :mrgreen: