amavis 10026: Connection refused

Discussion in 'Installation/Configuration' started by SamTzu, Jun 15, 2019.

Tags:
  1. SamTzu

    SamTzu Active Member

    I did a modified installation of ISPconfig on top of Debian9/Odoo 11 and run in to a problem with Amavis.
    For some reason Postfix thinks that Amavis runs only on port 10026 (and not on 10024) and runs in to a problem.
    Code:
    postfix/smtp[13008]: F259B35F7C: to=<[email protected]>, relay=none, delay=3002, delays=3002/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)
    How do I get the port to 10026 up and running?
     
    Last edited: Jun 15, 2019
  2. SamTzu

    SamTzu Active Member

    Code:
    amavis unix - - - - 2 smtp
            -o smtp_data_done_timeout=1200
            -o smtp_send_xforward_command=yes
                    -o smtp_bind_address=
    
    
    127.0.0.1:10025 inet n - n - - smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o relay_recipient_maps=
            -o smtpd_restriction_classes=
            -o smtpd_client_restrictions=
            -o smtpd_helo_restrictions=
            -o smtpd_sender_restrictions=
            -o smtpd_recipient_restrictions=permit_mynetworks,reject
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtp_send_xforward_command=yes
            -o disable_dns_lookups=yes
    
    
    127.0.0.1:10027 inet n - n - - smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o relay_recipient_maps=
            -o smtpd_restriction_classes=
            -o smtpd_client_restrictions=
            -o smtpd_helo_restrictions=
            -o smtpd_sender_restrictions=
            -o smtpd_recipient_restrictions=permit_mynetworks,reject
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtp_send_xforward_command=yes
                -o milter_default_action=accept
            -o milter_macro_daemon_name=ORIGINATING
            -o disable_dns_lookups=yes
    
     
  3. SamTzu

    SamTzu Active Member

    Nothing seems to run on port 10026

    Code:
    tcp        0      0 127.0.0.1:10023         0.0.0.0:*               LISTEN      8459/postgrey --pid
    tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      12346/amavisd-new (
    tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      11800/master
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      527/mysqld
    tcp        0      0 127.0.0.1:10027         0.0.0.0:*               LISTEN      11800/master
     
    Last edited: Jun 15, 2019
  4. SamTzu

    SamTzu Active Member

    Code:
    content_filter = amavis:[127.0.0.1]:10024
     
  5. SamTzu

    SamTzu Active Member

    Running ISPconfig update.php again fixed the problem. Now all Amavis ports are up.
     
    ahrasis and zenny like this.
  6. zenny

    zenny Member

    @SamTzu Thanks for an important pointer which helped me the email send/receive issue whining me for days!
     
  7. SamTzu

    SamTzu Active Member

    Ur welcome.
     

Share This Page