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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.