Bonjour à toutes & à tous,
Nouveau venu sur le forum, je vous expose mes misères : J’utilise roundcube avec postfix pour consulter et envoyer des messages. Je viens de me rendre compte que
postfix envoie régulièrement (toutes les 20 mn à peu près) un message à un de mes correspondants (dont l’adresse est dans mon carnet), et toujours au même. C’est en regardant les logs (/var/log/mail.log) que je découvre le pot au roses.
Ce qui est bizarre aussi c’est quand le serveur de mon correspondant (gmail-smtp-in.l.google.com) semble répondre, mais la réponse n’apparaît pas dans les courriels arrivés (de roundcube).
Voici des extraits de logs :
[color=#4000FF]
May 20 21:51:41 mail2 postfix/smtp[9639]: 2FDA8AC: to=aaa.bbb@gmail.com, relay=gmail-smtp-in.l.google.com[173.194.66.27]:25, delay=2.8, delays=0.27/0/1.6/0.96, dsn=2.0.0, status=sent (250 2.0.0 OK 1400615501 uo2si8608909wjc.36 - gsmtp)
May 20 22:12:09 mail2 postfix/smtp[10634]: 25AC9AC: to=aaa.bbb@gmail.com, relay=gmail-smtp-in.l.google.com[173.194.66.27]:25, delay=2, delays=0.26/0/0.79/0.92, dsn=2.0.0, status=sent (250 2.0.0 OK 1400616729 ko6si13982169wjb.17 - gsmtp)
May 21 09:01:23 mail2 postfix/smtp[8598]: 1DA76AC: to=aaa.bbb@gmail.com, relay=gmail-smtp-in.l.google.com[2a00:1450:400c:c03::1a]:25, delay=1.5, delays=0.22/0.02/0.64/0.66, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[2a00:1450:400c:c03::1a] said: 550-5.7.1 [2a01:e35:87cb:4620:213:3bff:fe00:99b 12] Our system has detected 550-5.7.1 that this message is likely unsolicited mail. To reduce the amount of 550-5.7.1 spam sent to Gmail, this message has been blocked. Please visit 550-5.7.1 support.google.com/mail/bin/answ … wer=188131 for 550 5.7.1 more information. ys6si15383030wjc.99 - gsmtp (in reply to end of DATA command))[/color]
Si quelqu’un peut m’indiquer ce qui ne va pas…car là je sèche.
Voici ma config :
[b]- debian wheezy
- postfix
- courier-imap(-ssl), courier-pop(-ssl)
- saslauthd[/b]
Postfix/main.cf
[color=#4000FF]# domain.tld
mydomain= xxx.org
myorigin = /etc/mailname
#By default this is the fqdn e.g mail.domain.tld
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
#program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
myhostname = yyy.xxx.org
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
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#List of delivered domains by the MTA
#By default Postfix local MDA looks up recipients in /etc/passwd and /etc/aliases
mydestination = xxx.org, yyy.xxx.org, localhost.xxx.org, localhost
relayhost =
trusted networks from where it is accepted to send e-mails
mynetworks = 127.0.0.0/8, 192.168.1.0/24
mailbox_command =
Maximum size for user’s maildir, 0 for unlimited
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#refers to the mail dir format in user’s home directory
home_mailbox = Maildir/
sendmail_path = /usr/sbin/sendmail
sender_canonical_maps = hash:/etc/postfix/sender_canonical
virtual_alias_maps = hash:/etc/postfix/virtual_alias
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/ssl/certs/mailcert.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_helo_required = yes
maps_rbl_domains = zen.spamhaus.org,
dnsbl.sorbs.net,
list.dsbl.org,
bl.spamcop.net,
cbl.abuseat.org
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_sender,
reject_unlisted_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_unknown_sender_domain
reject_unauth_destination
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_maps_rbl,
permit
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_unauth_pipelining,
reject_unknown_client,
reject_unknown_address
permit
smtpd_client_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dnsbl.njabl.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client list.dsbl.org,
permit
smtpd_helo_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_invalid_hostname,
permit[/color]
pas de signature pour l’instant