Question

What's wrong with postfix config?

  • Posted on September 2, 2014
  • smorenoAsked by smoreno

I’m cofiguring a postfix/dovecot mailserver. I’m using default dovecot certificate for testing. but when i try to restart service integrity fail. But I’m not sure what’s wrong exactly. This is the postfix output:

/usr/lib/postfix/post-install: Error: “no smtpd_tls_cert_file=/etc/dovecot/dovecot.pem smtpd_tls_key_file=/etc/dovecot/dovecot.pem smtpd_use_tls=yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes” should be “no” or an absolute path name. postfix/postfix-script: warning: unable to create missing queue directories postfix/postfix-script: fatal: Postfix integrity check failed!

I followed this DigitalOcean guide

Thanks in advance!

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @larry:

This is something of a wild guess, but based on the error message, it looks like the editor that edited the config file used the wrong line endings, resulting in postfix reading that whole string as a configuration parameter instead of seeing the line ending and moving on to the next directive. The first thing I would check is that each of those directives is on a single line, and the editor I’m using has proper line endings set.

You can see the comment here.