Salut, dans mon fichier de config, tout est sur la même ligne... si ca peut aiguiller... ;) Avec ta config, ca donnerait (forcément le format mail ici va trancher...) : smtpd_client_restrictions = reject_unknown_reverse_client_hostname, reject_unknown_client_hostname, sleep 1, reject_unauth_pipelining, permit_mynetworks Et ca se termine sans la virgule derrière, ca retourne à la ligne pour la prochaine config!! (virgule présente dans ton exemple) Le 24/05/2017 à 19:05, bernard.schoenacker@free.fr a écrit : > bonjour, > > j'ai fait quelques recherches pour trouver l'erreur > sachant que la ligne 77 est vide > > en premier les parages de la ligne 77 du main.cf : > > > 30 relayhost = > > > 75 ############ COMMANDES POUR LA GESTION DES MAILS ################## > 76 # https://www.debian-fr.org/t/logs-postfix/63057/6 > 77 > 78 smtpd_client_restrictions = > 79 >--->--->---reject_unknown_reverse_client_hostname, > 80 >--->--->---reject_unknown_client_hostname, > 81 >--->--->---sleep 1, > 82 >--->--->---reject_unauth_pipelining, > 83 >--->--->---permit_mynetworks, > 84 > > 112 > 113 smtpd_error_sleep_time = 1s > 114 smtpd_soft_error_limit = 10 > 115 smtpd_hard_error_limit = 20 > 116 policy_time_limit = 3600s > 117 # policyd-spf_time_limit = 3600 > 118 > > > service postfix status (extrait) : > > mai 24 18:17:43 brotsch postfix[30276]: /usr/sbin/postconf: warning: /etc/postfix/main.cf, line 77: overriding ea...m.sock > mai 24 18:17:43 brotsch postfix[30276]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: poli...=3600s > mai 24 18:17:43 brotsch postfix[30276]: /usr/sbin/postconf: warning: /etc/postfix/main.cf, line 77: overriding ea...m.sock > mai 24 18:17:43 brotsch postfix[30276]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: poli...=3600s > mai 24 18:17:43 brotsch postfix[30276]: . > mai 24 18:17:43 brotsch systemd[1]: Started LSB: Postfix Mail Transport Agent. > mai 24 18:17:43 brotsch postfix/master[30389]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: n....sock > mai 24 18:17:43 brotsch postfix/master[30389]: daemon started -- version 2.11.3, configuration /etc/postfix > mai 24 18:17:43 brotsch postfix/pickup[30390]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: n....sock > mai 24 18:17:43 brotsch postfix/qmgr[30391]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non....sock > Hint: Some lines were ellipsized, use -l to show in full. > > > grep warning /var/log/mail.warn > > > May 24 18:09:23 brotsch postfix/smtpd[28041]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:09:23 brotsch postfix/proxymap[28042]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:09:23 brotsch postfix/anvil[28043]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:09:23 brotsch postfix/trivial-rewrite[28044]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:09:25 brotsch postfix/smtpd[28041]: warning: connect to private/policy: No such file or directory > May 24 18:09:26 brotsch postfix/smtpd[28041]: warning: connect to private/policy: No such file or directory > May 24 18:09:26 brotsch postfix/smtpd[28041]: warning: problem talking to server private/policy: No such file or directory > > > touch /var/run/opendkim/opendkim.sock > > service postfix restart > service postfix status > > mai 24 18:29:55 brotsch postfix/master[1221]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > mai 24 18:29:55 brotsch postfix/pickup[1222]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > mai 24 18:29:55 brotsch postfix/qmgr[1223]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > mai 24 18:34:25 brotsch postfix/smtpd[2465]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > mai 24 18:34:25 brotsch postfix/proxymap[2466]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > mai 24 18:34:25 brotsch postfix/anvil[2467]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > > > tail /var/log/mail.warn > May 24 18:29:55 brotsch postfix/master[1193]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:29:55 brotsch postfix/master[1221]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:29:55 brotsch postfix/pickup[1222]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:29:55 brotsch postfix/qmgr[1223]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:34:25 brotsch postfix/smtpd[2465]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:34:25 brotsch postfix/proxymap[2466]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:34:25 brotsch postfix/anvil[2467]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:40:16 brotsch postfix/smtpd[4076]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:40:16 brotsch postfix/proxymap[4077]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > May 24 18:40:16 brotsch postfix/anvil[4078]: warning: /etc/postfix/main.cf, line 77: overriding earlier entry: non_smtpd_milters=unix:/var/run/opendkim/opendkim.sock > > > cd /var/spool/postfix/opendkim > > touch opendkim.sock > > ll > total 0 > srwxrwxr-x 1 opendkim opendkim 0 mai 24 18:17 opendkim.pid > -rw-r--r-- 1 opendkim opendkim 0 mai 24 18:44 opendkim.sock > > > chmod 775 opendkim.sock > > ll opendkim.sock > -rwxrwxr-x 1 opendkim opendkim 0 mai 24 18:44 opendkim.sock > > voici ce que j'ai trouvé : > > https://unix.stackexchange.com/questions/74477/postfix-smtpd-warning-connect-to-milter-service-unix-var-run-opendkim-opendki#74491 > > > qui pourra m'aiguiller vers une piste ? > > merci d'avance > > slt > bernard >
Attachment:
signature.asc
Description: OpenPGP digital signature