Postfix/dovecot: mail non délivrés ! syntaxe/destinataire ?

Saluts,

Installer.

postfix: 2.8.3-1
dovecot-2.0.13

J’ai résolu x soucis jusqu’à maintenant, mais là, ça coince.

x lectures, mais … :013

Test local et gmail ci plus bas. Échec! :mrgreen:

En résumer.

Voilà, le sujet est lancé …

Pour commencer : main.cf, master.cf

main.cf

root@Debian-pc-1:/home/pc-1-loreleil#

# cat /etc/postfix/main.cf
#######################################################################################################
### modifier le 09/08/2011 à 06h23 ps: double dièse (##) commenter par moi. simple dièse (#) commenter d'origine > tutos > voir > ### mes_petits_papiers
#######################################################################################################
# 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-pc-1
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
##mydestination = Debian-pc-1.home, localhost.home, , localhost
mydestination = $myhostname, localhost.$mydomain, localhost
relayhost = [smtp.gmail.com]:587
##mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 51200000
recipient_delimiter = +
home_mailbox = Maildir/
notify_classes = 2bounce, bounce, delay, policy, protocol, resource, software
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf
relay_recipient_maps = proxy:mysql:/etc/postfix/mysql_relay_recipients_maps.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf,proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_maps.cf,proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_catchall_maps.cf
virtual_gid_maps = static:20001
virtual_mailbox_base = /home/virtual
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf,proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_mailbox_maps.cf
virtual_minimum_uid = 20001
virtual_uid_maps = static:20001
transport_maps = proxy:mysql:/etc/postfix/mysql_transport.cf,proxy:mysql:/etc/postfix/mysql_transport2.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_recipient_restrictions $smtpd_sender_login_maps $has_our_domain_as_sender
message_size_limit = 50240000
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,permit
smtpd_data_restrictions = reject_unauth_pipelining,permit
smtp_tls_CAfile = /etc/postfix/tls/cacert.pem
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_tls_session_cache
smtpd_tls_security_level = may
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/tls/pc-1-loreleil-key.pem
smtpd_tls_cert_file = /etc/postfix/tls/pc-1-loreleil-cert.pem
smtpd_tls_CAfile = /etc/postfix/tls/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_tls_session_cache
tls_random_source = dev:/dev/urandom
dovecot_destination_recipient_limit = 1
virtual_transport = dovecot
#
#inet_interfaces = all
#inet_protocols = ipv4

root@Debian-pc-1:/home/pc-1-loreleil#

master.cf

root@Debian-pc-1:/home/pc-1-loreleil# cat /etc/postfix/master.cf

######################################################################################################################
#### modifier le 09/08/2011 à 18h00 ps: deux dièses (##) > j'ai commenter. un dièse (#) > c'est commenter d'origine. > tutos > ### voir > mes_petits_papiers.
######################################################################################################################
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#smtp      inet  n       -       n       -       1       postscreen
#smtpd     pass  -       -       n       -       -       smtpd
#dnsblog   unix  -       -       n       -       0       dnsblog
#tlsproxy  unix  -       -       n       -       0       tlsproxy
#submission inet n       -       n       -       -       smtpd
587      inet    n    -    n    -    -    smtpd
    -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_etrn_restrictions=reject
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps     inet  n       -       -       -       -       smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
        -o receive_override_options=no_header_body_checks
        -o content_filter=
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
       -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# #=================================================#===================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# #=================================================#===================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop  unix  -       n       n       -       -       pipe
dovecot unix    -       n       n       -       -      pipe
  flags=DRhu user=vmail: argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${recipient}
# flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
#ifmail    unix  -       n       n       -       -       pipe
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#bsmtp     unix  -       n       n       -       -       pipe
#flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop #-f$sender $recipient
#scalemail-backend unix  -       n       n       -       2       pipe
#flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store #${nexthop} ${user} ${extension}
#mailman   unix  -       n       n       -       -       pipe
#flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
# ${nexthop} ${user}

root@Debian-pc-1:/home/pc-1-loreleil#

Test local.

root@Debian-pc-1:/home/pc-1-loreleil# mail postfix@Debian-pc-1.home
Subject: TEST POSTFIX DOVECOT
3ème test dovecot postfix
bla bla ...
.
Cc:
root@Debian-pc-1:/home/pc-1-loreleil#
cat /var/log/mail.warn

Aug 10 12:47:22 Debian-pc-1 postfix/bounce[6328]: warning: 83E2623CA: undeliverable postmaster notification discarded
Aug 10 12:47:22 Debian-pc-1 postfix/bounce[6328]: warning: ECFFD23CE: undeliverable postmaster notification discarded
cat /var/log/mail.info

Aug 10 12:47:20 Debian-pc-1 postfix/pickup[3752]: F2D0023C4: uid=0 from=<root>
Aug 10 12:47:21 Debian-pc-1 postfix/cleanup[6324]: F2D0023C4: message-id=<20110810104720.F2D0023C4@Debian-pc-1>
Aug 10 12:47:21 Debian-pc-1 postfix/qmgr[3753]: F2D0023C4: from=<root@localdomain>, size=339, nrcpt=1 (queue active)
Aug 10 12:47:21 Debian-pc-1 postfix/smtp[6327]: F2D0023C4: to=<postfix@Debian-pc-1.home>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.52, delays=0.1/0.02/0.37/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 c58sm508175wed.8 (in reply to MAIL FROM command))
Aug 10 12:47:21 Debian-pc-1 postfix/cleanup[6324]: 813DE23C8: message-id=<20110810104721.813DE23C8@Debian-pc-1>
Aug 10 12:47:21 Debian-pc-1 postfix/qmgr[3753]: 813DE23C8: from=<>, size=2388, nrcpt=1 (queue active)
Aug 10 12:47:21 Debian-pc-1 postfix/bounce[6328]: F2D0023C4: sender non-delivery notification: 813DE23C8
Aug 10 12:47:21 Debian-pc-1 postfix/cleanup[6324]: 83E2623CA: message-id=<20110810104721.83E2623CA@Debian-pc-1>
Aug 10 12:47:21 Debian-pc-1 postfix/qmgr[3753]: 83E2623CA: from=<double-bounce@Debian-pc-1>, size=1977, nrcpt=1 (queue active)
Aug 10 12:47:21 Debian-pc-1 postfix/bounce[6328]: F2D0023C4: postmaster non-delivery notification: 83E2623CA
Aug 10 12:47:21 Debian-pc-1 postfix/qmgr[3753]: F2D0023C4: removed
Aug 10 12:47:21 Debian-pc-1 postfix/smtp[6327]: 813DE23C8: to=<root@localdomain>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.37, delays=0.01/0/0.32/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 em16sm643576wbb.50 (in reply to MAIL FROM command))
Aug 10 12:47:21 Debian-pc-1 postfix/smtp[6329]: 83E2623CA: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.39, delays=0.01/0.02/0.32/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 el9sm642203wbb.58 (in reply to MAIL FROM command))
Aug 10 12:47:21 Debian-pc-1 postfix/cleanup[6324]: ECFFD23CE: message-id=<20110810104721.ECFFD23CE@Debian-pc-1>
Aug 10 12:47:21 Debian-pc-1 postfix/qmgr[3753]: ECFFD23CE: from=<double-bounce@Debian-pc-1>, size=4062, nrcpt=1 (queue active)
Aug 10 12:47:21 Debian-pc-1 postfix/bounce[6328]: 813DE23C8: postmaster non-delivery notification: ECFFD23CE
Aug 10 12:47:21 Debian-pc-1 postfix/qmgr[3753]: 813DE23C8: removed
Aug 10 12:47:22 Debian-pc-1 postfix/bounce[6328]: warning: 83E2623CA: undeliverable postmaster notification discarded
Aug 10 12:47:22 Debian-pc-1 postfix/qmgr[3753]: 83E2623CA: removed
Aug 10 12:47:22 Debian-pc-1 postfix/smtp[6327]: ECFFD23CE: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.38, delays=0/0/0.34/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 fn12sm645683wbb.38 (in reply to MAIL FROM command))
Aug 10 12:47:22 Debian-pc-1 postfix/bounce[6328]: warning: ECFFD23CE: undeliverable postmaster notification discarded
Aug 10 12:47:22 Debian-pc-1 postfix/qmgr[3753]: ECFFD23CE: removed
Aug 10 12:50:43 Debian-pc-1 postfix/scache[6330]: statistics: start interval Aug 10 12:47:22
Aug 10 12:50:43 Debian-pc-1 postfix/scache[6330]: statistics: domain lookup hits=0 miss=1 success=0%
Aug 10 12:50:43 Debian-pc-1 postfix/scache[6330]: statistics: address lookup hits=0 miss=1 success=0%

Cette adresse ne m’apporte rien de plus : mail.google.com/support/bin/answ … swer=14257

Je dirais même, Rien à voir ! :mrgreen:

Test gmail.com.

root@Debian-pc-1:/home/pc-1-loreleil# mail Mon_Adresse@gmail.com
Subject: Test réelle postfix/dovecot le 10/08/2011 à 14h30
test envoi mail vers gmail.com
Échec ? Succès ?
Va savoir !
.
Cc: Mon_Adresse@gmail.com
root@Debian-pc-1:/home/pc-1-loreleil#
cat /var/log/mail.warn

Aug 10 14:32:31 Debian-pc-1 postfix/bounce[9405]: warning: 45C4223CA: undeliverable postmaster notification discarded
Aug 10 14:32:32 Debian-pc-1 postfix/bounce[9405]: warning: AE9C523CE: undeliverable postmaster notification discarded
cat /var/log/mail.info

Aug 10 14:32:30 Debian-pc-1 postfix/pickup[6581]: AFF5423C4: uid=0 from=<root>
Aug 10 14:32:30 Debian-pc-1 postfix/cleanup[9401]: AFF5423C4: message-id=<20110810123230.AFF5423C4@Debian-pc-1>
Aug 10 14:32:30 Debian-pc-1 postfix/qmgr[3753]: AFF5423C4: from=<root@localdomain>, size=392, nrcpt=1 (queue active)
Aug 10 14:32:31 Debian-pc-1 postfix/smtp[9404]: AFF5423C4: to=<Mon_Adresse@gmail.com>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.5, delays=0.08/0.06/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 el9sm712575wbb.58 (in reply to MAIL FROM command))
Aug 10 14:32:31 Debian-pc-1 postfix/cleanup[9401]: 4313023C8: message-id=<20110810123231.4313023C8@Debian-pc-1>
Aug 10 14:32:31 Debian-pc-1 postfix/qmgr[3753]: 4313023C8: from=<>, size=2439, nrcpt=1 (queue active)
Aug 10 14:32:31 Debian-pc-1 postfix/bounce[9405]: AFF5423C4: sender non-delivery notification: 4313023C8
Aug 10 14:32:31 Debian-pc-1 postfix/cleanup[9401]: 45C4223CA: message-id=<20110810123231.45C4223CA@Debian-pc-1>
Aug 10 14:32:31 Debian-pc-1 postfix/qmgr[3753]: 45C4223CA: from=<double-bounce@Debian-pc-1>, size=2004, nrcpt=1 (queue active)
Aug 10 14:32:31 Debian-pc-1 postfix/bounce[9405]: AFF5423C4: postmaster non-delivery notification: 45C4223CA
Aug 10 14:32:31 Debian-pc-1 postfix/qmgr[3753]: AFF5423C4: removed
Aug 10 14:32:31 Debian-pc-1 postfix/smtp[9404]: 4313023C8: to=<root@localdomain>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.37, delays=0.01/0/0.32/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 8sm716841wbx.34 (in reply to MAIL FROM command))
Aug 10 14:32:31 Debian-pc-1 postfix/smtp[9406]: 45C4223CA: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.38, delays=0/0.01/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 em16sm709738wbb.67 (in reply to MAIL FROM command))
Aug 10 14:32:31 Debian-pc-1 postfix/cleanup[9401]: AE9C523CE: message-id=<20110810123231.AE9C523CE@Debian-pc-1>
Aug 10 14:32:31 Debian-pc-1 postfix/qmgr[3753]: AE9C523CE: from=<double-bounce@Debian-pc-1>, size=4107, nrcpt=1 (queue active)
Aug 10 14:32:31 Debian-pc-1 postfix/bounce[9405]: 4313023C8: postmaster non-delivery notification: AE9C523CE
Aug 10 14:32:31 Debian-pc-1 postfix/qmgr[3753]: 4313023C8: removed
Aug 10 14:32:31 Debian-pc-1 postfix/bounce[9405]: warning: 45C4223CA: undeliverable postmaster notification discarded
Aug 10 14:32:31 Debian-pc-1 postfix/qmgr[3753]: 45C4223CA: removed
Aug 10 14:32:32 Debian-pc-1 postfix/smtp[9404]: AE9C523CE: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.109]:587, delay=0.37, delays=0.01/0/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.109] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 fg5sm718759wbb.23 (in reply to MAIL FROM command))
Aug 10 14:32:32 Debian-pc-1 postfix/bounce[9405]: warning: AE9C523CE: undeliverable postmaster notification discarded
Aug 10 14:32:32 Debian-pc-1 postfix/qmgr[3753]: AE9C523CE: removed
Aug 10 14:35:51 Debian-pc-1 postfix/scache[9407]: statistics: start interval Aug 10 14:32:31
Aug 10 14:35:51 Debian-pc-1 postfix/scache[9407]: statistics: domain lookup hits=0 miss=1 success=0%
Aug 10 14:35:51 Debian-pc-1 postfix/scache[9407]: statistics: address lookup hits=0 miss=1 success=0%

Une idée pour solutionner ??

Merci à toi … :083

Je t’en serre cinq … :wink:

salut

je crois que gmail à besoin d’une connection ssl pour la récupération des mails

http://mail.google.com/support/bin/answer.py?answer=21289

a+

Salut gilles974,

C’est l’un des soucis certainement, pop3 et imap sont (chez (moi) gmail) configurer de sorte … Alors (?) je nages … un peu beaucoup sur ce coup …

-edit-

pare feu non en cause, je crois … :083

[code]# Gmail
iptables -A INPUT -p tcp -m tcp -m state -i eth0 --dport 995 --sport 1024:65535 --state NEW -j ACCEPT
iptables -A INPUT -p tcp -m tcp -i eth0 --dport 1024:65535 --sport 995 -j ACCEPT
iptables -A INPUT -p tcp --dport 587 -j ACCEPT
iptables -A INPUT -p tcp --dport 465 -j ACCEPT
iptables -A INPUT -p tcp --dport 995 -j ACCEPT
iptables -A INPUT -p tcp --dport 993 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 587 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 465 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 995 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 993 -j ACCEPT
echo “- Autoriser SMTP/POP/IMAP entrant/sortant : [OK]”

[/code]

Bon ça ! C’est régler ! :023

root@Debian-pc-1:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 Debian-pc-1 ESMTP Postfix (Debian/GNU)
EHLO Mon_Adresse@gmail.com
250-Debian-pc-1
250-PIPELINING
250-SIZE 50240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM:<Mon_Adresse@gmail.com>
250 2.1.0 Ok
RCPT TO:<Mon_Adresse@gmail.com>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject:test postfix/dovecot le 10/08/2011 à 19h55
Succès ? Échec? ...
Va savoir Charles !!!
.
250 2.0.0 Ok: queued as 3434523C4
quit
221 2.0.0 Bye
Connection closed by foreign host.
root@Debian-pc-1:~#

Mais les log :question::mrgreen:

/cat /var/log/mail.warn

Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: warning: 6690423CE: undeliverable postmaster notification discarded
Aug 10 19:54:18 Debian-pc-1 postfix/bounce[17646]: warning: D166623CF: undeliverable postmaster notification discarded
cat /var/log/mail.info

Aug 10 19:54:16 Debian-pc-1 postfix/cleanup[17644]: 3434523C4: message-id=<20110810175151.3434523C4@Debian-pc-1>
Aug 10 19:54:16 Debian-pc-1 postfix/qmgr[3753]: 3434523C4: from=<Mon_Adresse@gmail.com>, size=414, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/smtp[17645]: 3434523C4: to=<Mon_Adresse@gmail.com>, relay=smtp.gmail.com[209.85.227.108]:587, delay=177, delays=176/0.03/1.1/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 fm9sm932740wbb.10 (in reply to MAIL FROM command))
Aug 10 19:54:17 Debian-pc-1 postfix/cleanup[17644]: 64B8823CA: message-id=<20110810175417.64B8823CA@Debian-pc-1>
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 64B8823CA: from=<>, size=2530, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: 3434523C4: sender non-delivery notification: 64B8823CA
Aug 10 19:54:17 Debian-pc-1 postfix/cleanup[17644]: 6690423CE: message-id=<20110810175417.6690423CE@Debian-pc-1>
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 6690423CE: from=<double-bounce@Debian-pc-1>, size=2108, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: 3434523C4: postmaster non-delivery notification: 6690423CE
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 3434523C4: removed
Aug 10 19:54:17 Debian-pc-1 postfix/smtp[17645]: 64B8823CA: to=<Mon_Adresse@gmail.com>, relay=smtp.gmail.com[209.85.227.108]:587, delay=0.37, delays=0/0/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 gb1sm924478wbb.54 (in reply to MAIL FROM command))
Aug 10 19:54:17 Debian-pc-1 postfix/smtp[17647]: 6690423CE: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.108]:587, delay=0.38, delays=0/0.01/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 eo18sm922743wbb.63 (in reply to MAIL FROM command))
Aug 10 19:54:17 Debian-pc-1 postfix/cleanup[17644]: D166623CF: message-id=<20110810175417.D166623CF@Debian-pc-1>
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: D166623CF: from=<double-bounce@Debian-pc-1>, size=4214, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: 64B8823CA: postmaster non-delivery notification: D166623CF
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 64B8823CA: removed
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: warning: 6690423CE: undeliverable postmaster notification discarded
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 6690423CE: removed
Aug 10 19:54:18 Debian-pc-1 postfix/smtp[17645]: D166623CF: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.108]:587, delay=0.37, delays=0.01/0/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 ff6sm924972wbb.49 (in reply to MAIL FROM command))
Aug 10 19:54:18 Debian-pc-1 postfix/bounce[17646]: warning: D166623CF: undeliverable postmaster notification discarded
Aug 10 19:54:18 Debian-pc-1 postfix/qmgr[3753]: D166623CF: removed
Aug 10 19:54:21 Debian-pc-1 postfix/smtpd[17641]: disconnect from localhost[127.0.0.1]
Aug 10 19:57:37 Debian-pc-1 postfix/scache[17648]: statistics: start interval Aug 10 19:54:17
Aug 10 19:57:37 Debian-pc-1 postfix/scache[17648]: statistics: domain lookup hits=0 miss=1 success=0%
Aug 10 19:57:37 Debian-pc-1 postfix/scache[17648]: statistics: address lookup hits=0 miss=1 success=0%
cat /var/log/mail.log

Aug 10 19:54:16 Debian-pc-1 postfix/cleanup[17644]: 3434523C4: message-id=<20110810175151.3434523C4@Debian-pc-1>
Aug 10 19:54:16 Debian-pc-1 postfix/qmgr[3753]: 3434523C4: from=<Mon_Adresse@gmail.com>, size=414, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/smtp[17645]: 3434523C4: to=<Mon_Adresse@gmail.com>, relay=smtp.gmail.com[209.85.227.108]:587, delay=177, delays=176/0.03/1.1/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 fm9sm932740wbb.10 (in reply to MAIL FROM command))
Aug 10 19:54:17 Debian-pc-1 postfix/cleanup[17644]: 64B8823CA: message-id=<20110810175417.64B8823CA@Debian-pc-1>
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 64B8823CA: from=<>, size=2530, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: 3434523C4: sender non-delivery notification: 64B8823CA
Aug 10 19:54:17 Debian-pc-1 postfix/cleanup[17644]: 6690423CE: message-id=<20110810175417.6690423CE@Debian-pc-1>
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 6690423CE: from=<double-bounce@Debian-pc-1>, size=2108, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: 3434523C4: postmaster non-delivery notification: 6690423CE
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 3434523C4: removed
Aug 10 19:54:17 Debian-pc-1 postfix/smtp[17645]: 64B8823CA: to=<Mon_Adresse@gmail.com>, relay=smtp.gmail.com[209.85.227.108]:587, delay=0.37, delays=0/0/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 gb1sm924478wbb.54 (in reply to MAIL FROM command))
Aug 10 19:54:17 Debian-pc-1 postfix/smtp[17647]: 6690423CE: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.108]:587, delay=0.38, delays=0/0.01/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 eo18sm922743wbb.63 (in reply to MAIL FROM command))
Aug 10 19:54:17 Debian-pc-1 postfix/cleanup[17644]: D166623CF: message-id=<20110810175417.D166623CF@Debian-pc-1>
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: D166623CF: from=<double-bounce@Debian-pc-1>, size=4214, nrcpt=1 (queue active)
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: 64B8823CA: postmaster non-delivery notification: D166623CF
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 64B8823CA: removed
Aug 10 19:54:17 Debian-pc-1 postfix/bounce[17646]: warning: 6690423CE: undeliverable postmaster notification discarded
Aug 10 19:54:17 Debian-pc-1 postfix/qmgr[3753]: 6690423CE: removed
Aug 10 19:54:18 Debian-pc-1 postfix/smtp[17645]: D166623CF: to=<postmaster@localdomain>, orig_to=<postmaster>, relay=smtp.gmail.com[209.85.227.108]:587, delay=0.37, delays=0.01/0/0.33/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.227.108] said: 530-5.5.1 Authentication Required. Learn more at                               530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 ff6sm924972wbb.49 (in reply to MAIL FROM command))
Aug 10 19:54:18 Debian-pc-1 postfix/bounce[17646]: warning: D166623CF: undeliverable postmaster notification discarded
Aug 10 19:54:18 Debian-pc-1 postfix/qmgr[3753]: D166623CF: removed
Aug 10 19:54:21 Debian-pc-1 postfix/smtpd[17641]: disconnect from localhost[127.0.0.1]
Aug 10 19:57:37 Debian-pc-1 postfix/scache[17648]: statistics: start interval Aug 10 19:54:17
Aug 10 19:57:37 Debian-pc-1 postfix/scache[17648]: statistics: domain lookup hits=0 miss=1 success=0%
Aug 10 19:57:37 Debian-pc-1 postfix/scache[17648]: statistics: address lookup hits=0 miss=1 success=0%

Une idée … please … :083

Salut,
FQDN peut-être ?
Que donne:

Tu as regardé du côté du DNS, la résolution de nom est bonne ?

Salut,

[quote=“lol”]Salut,
FQDN peut-être ?
Que donne:

Tu as regardé du côté du DNS, la résolution de nom est bonne ?[/quote]

pc-1-loreleil@Debian-pc-1:~$ hostname -f Debian-pc-1 pc-1-loreleil@Debian-pc-1:~$
huuum, j’ai l’impression que je vais devoir abordé ma hantise le Réseau ! Un sacré foutoir chez moi, j’en n’est bien peur … :005

[code]:~# ifup eth0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:xx:xx:xx:xx:xx
Sending on LPF/eth0/00:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.12 – renewal in 35085 seconds.
Starting portmap daemon…Already running…
Starting NFS common utilities: statd idmapd.
[/code]

[quote=“loreleil.747”]pc-1-loreleil@Debian-pc-1:~$ hostname -f Debian-pc-1 pc-1-loreleil@Debian-pc-1:~$ [/quote]
C’est pas bon…

isalo.org/wiki.debian-fr/ind … de_postfix

[quote]Votre DNS est correctement configuré ? Les ports sont ouverts ? Bien. Vous avez fait le plus dur.
Vérifiez le nom de votre machine :
$ hostname
Cette commande doit vous retourner smtp.monDomaine.com[/quote]

A plus forte raison hostname -f

je te remercie lol, j’ai du pain sur la planche, s’il y a bien un sujet qui fâche, :mrgreen: c’est lui !!!

j’ai toujours installé mes machine de sorte à simuler un nom de domaine
pour une meilleur adaptation local

exemple mon domaine local : loreleil.loc

et je donne un nom à mon pc exemple : debian

de cette façon postfix répondra mieux et tes logs seront plus compréhensible

recommence dés le départ, reparamétrage ton pc

postfix fait énormément de requêtes as tu installé bind ??