Postfix issue

Discussion in 'ISPConfig 3 Priority Support' started by Jean-Francois Leblanc, Jun 30, 2020.

  1. Hello Forum Members,

    I'm trying to figure out an issue on a ISPConfig/Unbuntu (Perfect Server) that I recently installed, and last night updated to the latest build.
    I'm having an issue with Postfix, and all the email are queuing up. When I take a look at the error logs (mail.err) I see this error come up over and over.
    Code:
    Jun 30 08:48:31 loosestring-designs postfix/smtp[23995]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 08:48:31 loosestring-designs postfix/smtp[23996]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 08:49:33 loosestring-designs postfix/smtp[26440]: error: open database /etc/postfix/sasl_passwdinet_interfaces.db: No such file or directory
    Jun 30 08:49:33 loosestring-designs postfix/smtp[26441]: error: open database /etc/postfix/sasl_passwdinet_interfaces.db: No such file or directory
    Jun 30 08:49:33 loosestring-designs postfix/smtp[26440]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 08:49:33 loosestring-designs postfix/smtp[26441]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 08:50:34 loosestring-designs postfix/smtp[29545]: error: open database /etc/postfix/sasl_passwdinet_interfaces.db: No such file or directory
    Jun 30 08:50:34 loosestring-designs postfix/smtp[29545]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 08:50:34 loosestring-designs postfix/smtp[29544]: error: open database /etc/postfix/sasl_passwdinet_interfaces.db: No such file or directory
    Jun 30 08:50:34 loosestring-designs postfix/smtp[29544]: fatal: open dictionary: expecting "type:name" form instead of "="
    
    All my search's for that file come up with nothing. Anyone have any idea why postfix would be looking for a file that doesn't exist?
     
  2. Ok, I believe there was a line entry entered by one of my tech's last night in the main.cf file.

    Code:
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdinet_interfaces= all
    I changed the line to
    Code:
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd = all
    
    Now, I only get this error in my mail log.
    Code:
    Jun 30 09:02:46 loosestring-designs postfix/smtp[30694]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:03:42 loosestring-designs postfix/smtp[1006]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:04:43 loosestring-designs postfix/smtp[3697]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:05:44 loosestring-designs postfix/smtp[6875]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:06:45 loosestring-designs postfix/smtp[9336]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:07:46 loosestring-designs postfix/smtp[12262]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:08:47 loosestring-designs postfix/smtp[14748]: fatal: open dictionary: expecting "type:name" form instead of "="
    Jun 30 09:09:48 loosestring-designs postfix/smtp[17543]: fatal: open dictionary: expecting "type:name" form instead of "="
    
    I checked the mail queue and all emails are showing this status,
    Code:
    delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    I've tried restarting amavisd-new and Postfix without success.
    Any one have any thoughts?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    change:

    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdinet_interfaces= all

    to

    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    inet_interfaces= all

    someone seems to have removed a newline.
     
  4. Thank you, the errors in the mail log are no longer appearing. I'm still having a delivery issue as per my other post.
     

Share This Page