Postfix (MTA) will not start

Discussion in 'General' started by jbmd, Oct 25, 2019.

  1. jbmd

    jbmd Member

    Hello,
    I was renaming mail_access table in dbispconfig database to mail_accessBAK and then back and from that moment I cannot start postfix (port 25).

    after service postfix status I get:
    ---start ---
    postfix.service - LSB: Postfix Mail Transport Agent
    Loaded: loaded (/etc/init.d/postfix; bad; vendor preset: enabled)
    Drop-In: /run/systemd/generator/postfix.service.d
    └─50-postfix-$mail-transport-agent.conf
    Active: failed (Result: exit-code) since Fri 2019-10-25 12:46:03 CEST; 18s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 2872 ExecStart=/etc/init.d/postfix start (code=exited, status=1/FAILURE)

    Oct 25 12:45:58 faster16.jbmd.com systemd[1]: Starting LSB: Postfix Mail Transport Agent...
    Oct 25 12:45:59 faster16.jbmd.com postfix[2872]: * Starting Postfix Mail Transport Agent postfix
    Oct 25 12:46:01 faster16.jbmd.com postfix[2872]: postconf: fatal: invalid type field "unix-dgram" in "postlog unix-dgram n -
    Oct 25 12:46:02 faster16.jbmd.com postfix[2872]: postconf: fatal: invalid type field "unix-dgram" in "postlog unix-dgram n -
    Oct 25 12:46:03 faster16.jbmd.com systemd[1]: postfix.service: Control process exited, code=exited status=1
    Oct 25 12:46:03 faster16.jbmd.com systemd[1]: Failed to start LSB: Postfix Mail Transport Agent.
    Oct 25 12:46:03 faster16.jbmd.com systemd[1]: postfix.service: Unit entered failed state.
    Oct 25 12:46:03 faster16.jbmd.com systemd[1]: postfix.service: Failed with result 'exit-code'.
    -- end ---

    I am really desperate. Please help.
    Thank you.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Restore previous nights backup of the dbispconfig database.
     
  3. Steini86

    Steini86 Active Member

    Are you sure, the problem is with the database?
    Looks like you have the option "unix-dgram" in your configuration, which is not supported (I think this was added in Postfix 3.4). Which version of postfix are you running? (Debian Stretch has 3.1)
     
  4. jbmd

    jbmd Member

    Steini86, good tip. I did get a similar advice on another forum = to disable that line in master.cf. After that postfix started.
     
  5. jbmd

    jbmd Member

    Thank you all for help. :)
    Postfix version is 3.3.0 (Ubuntu 18.04)
     

Share This Page