keine Mail geht raus

  • Hallo ,


    seit 2 Tagen benutze ich die Plugins Postscreen , PolicydSPF und OpenDKIM . Spamassasin ist schon länger im Einsatz . Seit den 2 letzten Tagen kann ich auch keine Mails mehr verschicken . Mailempfang macht keine Probleme und die I-MSCP Mails werden auch zugestellt .


    Brainfuck Source Code: mail.log
    1. Mar 3 22:11:14 static postfix/smtpd[3321]: connect from domain.tld[xxx.xxx.xxx.xxx]Mar 3 22:11:14 static postfix/smtpd[3321]: 6BF8959409BC: client=domain.tld[xxx.xxx.xxx.xxx], sasl_method=LOGIN, sasl_username=user@ddomain.tldMar 3 22:11:14 static postfix/cleanup[3325]: 6BF8959409BC: message-id=<150A498F00A74EC9AD83D3FCA3C087AC@PCName>Mar 3 22:11:14 static postfix/cleanup[3325]: 6BF8959409BC: milter-reject: END-OF-MESSAGE from domain.tld[xxx.xxx.xxx.xxx]: 4.7.1 Service unavailable - try again later; from=<user@domain.tld> to=<user@domain.tld> proto=ESMTP helo=<PCName>Mar 3 22:11:14 static postfix/smtpd[3321]: disconnect from domain.tld[xxx.xxx.xxx.xxx]


    netstat -plunt

    Code
    1. Active Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2061/mastertcp 0 0 127.0.0.1:12345 0.0.0.0:* LISTEN 1153/opendkimtcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 879/namedtcp 0 0 0.0.0.0:56126 0.0.0.0:* LISTEN 848/rpc.statdtcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 1628/postgrey.pid -tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1587/mysqldtcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 1005/clamsmtpdtcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2061/mastertcp 0 0 127.0.0.1:12525 0.0.0.0:* LISTEN 1589/policyd-weighttcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 839/rpcbindtcp 0 0 178.63.79.147:8080 0.0.0.0:* LISTEN 1021/nginx -g daemotcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2061/mastertcp 0 0 127.0.0.1:9876 0.0.0.0:* LISTEN 874/imscp_daemontcp 0 0 178.63.79.147:53 0.0.0.0:* LISTEN 879/namedtcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 879/namedtcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 865/sshdtcp6 0 0 :::443 :::* LISTEN 1647/apache2tcp6 0 0 :::45803 :::* LISTEN 848/rpc.statdtcp6 0 0 :::110 :::* LISTEN 1063/couriertcpdtcp6 0 0 :::143 :::* LISTEN 1064/couriertcpdtcp6 0 0 :::111 :::* LISTEN 839/rpcbindtcp6 0 0 :::80 :::* LISTEN 1647/apache2tcp6 0 0 :::8080 :::* LISTEN 1021/nginx -g daemotcp6 0 0 :::21 :::* LISTEN 1542/proftpd: (accetcp6 0 0 :::22 :::* LISTEN 865/sshdudp 0 0 0.0.0.0:27500 0.0.0.0:* 3179/perludp 0 0 178.63.79.147:53 0.0.0.0:* 879/namedudp 0 0 127.0.0.1:53 0.0.0.0:* 879/namedudp 0 0 0.0.0.0:111 0.0.0.0:* 839/rpcbindudp 0 0 178.63.79.147:123 0.0.0.0:* 1095/ntpdudp 0 0 127.0.0.1:123 0.0.0.0:* 1095/ntpdudp 0 0 0.0.0.0:123 0.0.0.0:* 1095/ntpdudp 0 0 127.0.0.1:600 0.0.0.0:* 848/rpc.statdudp 0 0 0.0.0.0:1014 0.0.0.0:* 839/rpcbindudp 0 0 0.0.0.0:53313 0.0.0.0:* 848/rpc.statdudp6 0 0 :::111 :::* 839/rpcbindudp6 0 0 fe80::4261:86ff:fef:123 :::* 1095/ntpdudp6 0 0 ::1:123 :::* 1095/ntpdudp6 0 0 2a01:4f8:121:316b:::123 :::* 1095/ntpdudp6 0 0 :::123 :::* 1095/ntpdudp6 0 0 :::1014 :::* 839/rpcbindudp6 0 0 :::37049 :::* 848/rpc.statd



    mein Client und der Server sind aber whitelistet .


    Ohne die neuen Plugins geht der Mailversand .

    Linux : Debian 9.0 (Stretch)
    Apache : 2.4.25
    PHP : 7.0.30
    Mysql : 5.7.22
    Perl : 5.24.1

  • Deaktivier mal die Plugins einzeln und schau, an welchem Plugin das liegt.

  • Lass mich raten, du hast deinen Mail Client so konfiguriert, dass er die Mails per SMTP über Port 25 versendet.
    Wenn du Postscreen einsetzt, dann solltest du das bitte auf Port 587 ändern und dann sollte das auch wieder gehen.


    Hättest du die Dokumentation für Postscreen sorgfältig gelesen, dann wüsstest du das auch:


    Code
    1. If you use this Plugin your MUA clients should not submit mail via SMTP service on TCP port 25 because that is used for the Postscreen daemon with all the checks.
    2. Instead your MUA clients should submit mails via SUBMISSION service on TCP port 587 or via SMTPS service on TCP port 465 which both require client authentication.
  • Nein werden über Port 587 gesendet . Bei Mails über php wird die spamassasin Verbindung zurück gesetzt . Daher werde ich erstmal hier ansetzen .

    Linux : Debian 9.0 (Stretch)
    Apache : 2.4.25
    PHP : 7.0.30
    Mysql : 5.7.22
    Perl : 5.24.1

  • Hej webhoffi...


    guck doch sonst auch noch mal nach den Rechten von /etc/opendkim: Der Ordner muss der Gruppe "opendkim" gehören (siehe http://i-mscp.net/index.php/Th…M/?postID=36227#post36227). Das vergesse ich immer wieder und wundere mich... :)


    Greetz,
    Timo

    --- das glas ist halb voll ---

  • Danke für den Tip , kuck ich mir mal an . Spamassasin war es jedenfalls nicht , Service läuft jetzt (hatte heute Nacht mal den Server neugestartet) .


    Update : Opendkim Rechte , waren wirklich nur im Ordner selber richtig .
    Update 2 : Opendkim wars , Mailversand geht wieder . Blöd wenn man blind ist :-)

    Linux : Debian 9.0 (Stretch)
    Apache : 2.4.25
    PHP : 7.0.30
    Mysql : 5.7.22
    Perl : 5.24.1

    Edited 4 times, last by webhoffi ().