postfix fatal error

Discussion in 'General' started by Werth, Jan 27, 2020.

  1. Werth

    Werth New Member

    Hi,
    I installed Debian 10, apache, etc., ISP3.
    So far everything is working fine, but postfix comes around with the following:
    fatal: unexpected command-line argument: submission
    and no email is going in / out.

    That's the actual master.cf
    #=================================================================
    smtp inet n - y - - smtpd
    #smtp inet n - y - 1 postscreen
    #smtpd pass - - y - - smtpd
    #dnsblog unix - - y - 0 dnsblog
    #tlsproxy unix - - y - 0 tlsproxy
    submission inet n - - - - smtpd
    -o syslog_name=postfix/submission
    -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    # -o smtpd_tls_auth_only=yes
    # -o smtpd_reject_unlisted_recipient=no
    # -o smtpd_client_restrictions=$mua_client_restrictions
    # -o smtpd_helo_restrictions=$mua_helo_restrictions
    # -o smtpd_sender_restrictions=$mua_sender_restrictions
    # -o smtpd_recipient_restrictions=
    # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
    # -o milter_macro_daemon_name=ORIGINATING
    smtps inet n - - - - smtpd
    -o syslog_name=postfix/smtps
    -o smtpd_tls_wrappermode=yes
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    # -o smtpd_reject_unlisted_recipient=no
    # -o smtpd_client_restrictions=$mua_client_restrictions
    # -o smtpd_helo_restrictions=$mua_helo_restrictions

    Does somebody have an idea how the correct line for submission should look like??
    Regards and thanks for help upfront
    Werth
     
  2. hadizeid

    hadizeid Member

    I guess this should be
    Code:
    submission inet n -  y  -  -  smtpd
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Compare line indenting of your file with the one from the tutorial, no white space before the smtps and submission line and at least one whitespace in front of the -o lines
     
  4. Werth

    Werth New Member

    Thanks a lot, looks like it works now smothly!
    Never thought that these whitespaces would have such an effect.
    Regards
    Werth
     
    Th0m likes this.

Share This Page