Bonjour à tous,
j'ai un problème avec mon serveur mail, je reçois mes mails que plusieurs jours après, et les mails sortants n'arrive jamais à destination.
Je suis aller voir les logs du serveur dans /var/log/mail.log et je me suis aperçu qu'il y avait plusieurs centaines d'adresse mail fausse.
Si vous pourriez me renseignez et m'indiquer comment mieux configurer le serveur, par avance merci.
Pour vous aider :
La configuration de POSTFIX (/etc/postfix/main.cf) :
# 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 = mondomaine.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = mondomaine.com, sd-66632.dedibox.fr, localhost.dedibox.fr, localhost, smtp.mondomaine.com relayhost = mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all home_mailbox = mail/ inet_protocols = all mynetworks=0.0.0.0/0 #mynetworks=127.0.0.1 smtp_sasl_auth_enable = yes smtp_sasl_password_maps=/etc/postfix/pass
Le contenue du fichier /etc/postfix/pass :
mondomaine.com user:password
et le fameux fichier de logs (en partit) :
Mar 12 14:49:07 sd-66632 postfix/local[18370]: 0CEAC2B6429C: to=<szgw@mondomaine.com>, relay=local, delay=255733, delays=255733/0.03/0/0.11, dsn=5.1.1, status=bounced $ Mar 12 14:49:07 sd-66632 postfix/local[18406]: 606E52B028E5: to=<qsgn@mondomaine.com>, relay=local, delay=294165, delays=294165/0.02/0/0.09, dsn=5.1.1, status=bounced $ Mar 12 14:49:07 sd-66632 postfix/local[18370]: C27432B06054: to=<szwxn@mondomaine.com>, relay=local, delay=290649, delays=290649/0.07/0/0.13, dsn=5.1.1, status=bounced$ Mar 12 14:49:07 sd-66632 postfix/local[18403]: 87B372B64616: to=<cznvr@mondomaine.com>, relay=local, delay=258046, delays=258046/0.04/0/0.09, dsn=5.1.1, status=bounced$ Mar 12 14:49:07 sd-66632 postfix/local[18406]: 6D6162989113: to=<fy4j@mondomaine.com>, relay=local, delay=218801, delays=218801/0.04/0/0.09, dsn=5.1.1, status=bounced $ Mar 12 14:49:07 sd-66632 postfix/local[18403]: 6CA6F298945C: to=<bfbxpgh3@mondomaine.com>, relay=local, delay=267319, delays=267319/0.03/0/0.1, dsn=5.1.1, status=bounc$ Mar 12 14:49:07 sd-66632 postfix/local[18406]: 883C92B00974: to=<wz8t7@mondomaine.com>, relay=local, delay=295628, delays=295628/0.03/0/0.09, dsn=5.1.1, status=bounced$ Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: B0BF82AE33AF: from=<>, size=4500, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: AE41429235E6: from=<vzhaekmuw@ethome.com.tw>, size=7018, nrcpt=29 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: AB6EC2BC4640: from=<>, size=31792, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/local[18370]: B0BF82AE33AF: to=<3xqr9@mondomaine.com>, relay=local, delay=303189, delays=303189/0.02/0/0.1, dsn=5.1.1, status=bounced $ Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A47F429000E8: from=<quvlmlyalmkcz@anet.net.tw>, size=7275, nrcpt=22 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 8A4B32B400A4: from=<gdurfvqo@mondomaine.com>, size=1187, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: B0BF82AE33AF: removed Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: ABE122A03C0C: from=<afjqagty@mondomaine.com>, size=1052, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 4CA552C6169E: from=<iw8bdv6@mondomaine.com>, size=1104, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: AEAB329E1A40: from=<>, size=16546, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 73B842C425E8: from=<lzwie3@mondomaine.com>, size=1096, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: AF85029596DD: from=<7e47gi7g@mondomaine.com>, size=1051, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 433732B05E73: from=<zwmaalfm@mondomaine.com>, size=1099, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A873727AB833: from=<jknnhekdbzgij@anet.net.tw>, size=7018, nrcpt=31 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: B14662B22864: from=<>, size=28436, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A97DE28EED98: from=<raqprtspjnqd@pcome.com.tw>, size=4980, nrcpt=45 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 679C32B25819: from=<>, size=30558, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A9B082BC414B: from=<tst5s@mondomaine.com>, size=1109, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 52A752C20B7E: from=<ppby@mondomaine.com>, size=1222, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A331B2A84A18: from=<hf2gywq@mondomaine.com>, size=1048, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 160782B85BCE: from=<>, size=26229, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A4DC32B454FE: from=<tjgnql@mondomaine.com>, size=1187, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 8073E2B8051C: from=<1lednpf@mondomaine.com>, size=1220, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A99152A8234C: from=<wxicdp@mondomaine.com>, size=1058, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 2A9D72A85950: from=<>, size=16478, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: AFDF126D4C5E: from=<fytgcu@mondomaine.com>, size=1053, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: B4B532BA0096: from=<>, size=20073, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A792D2AC0D85: from=<>, size=30547, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 17AB62BA07D8: from=<>, size=30726, nrcpt=1 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A9BC92A04572: from=<z5fp@mondomaine.com>, size=1211, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: 47D0526DC1E7: from=<1vjqn@mondomaine.com>, size=1214, nrcpt=10 (queue active) Mar 12 14:49:08 sd-66632 postfix/qmgr[17673]: A888B28F1D88: from=<genfuvluzyw@sfilc.com>, size=7022, nrcpt=5 (queue active)
Afficher la suite
12 mars 2015 à 19:05