Report this

What is the reason for this report?

What's wrong with postfix config?

Posted on September 2, 2014

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!



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.