Thanks to all of you. Now it works, although "set nowrap" in vim did not solve the issue. I had to add the parameters using "postconf -e". Is this normal?
Now I see "250-STARTTLS" when I telnet to the server on port 25. Is there another way to test if the setup works? On Wed, Jun 12, 2013 at 2:46 PM, Wietse Venema <wie...@porcupine.org> wrote: > polloxx: > > local_header_rewrite_clients = static:all smtp_tls_CAfile = > > /etc/postfix/cacert.pem smtp_tls_session_cache_database = > > btree:/mailout/var/spool/postfix/smtp_tls_session_cache > > smtp_tls_security_level = may smtp_use_tls = yes smtpd_tls_CAfile > > = > > /etc/postfix/cacert.pem smtpd_tls_cert_file = > > /etc/postfix/company-cert.pem smtpd_tls_key_file = > > /etc/postfix/company-key.pem smtpd_tls_received_header = yes > > smtpd_tls_session_cache_database = > > btree:/mailin/var/spool/postfix/smtpd_tls_session_cache > > smtpd_tls_security_level = may smtpd_use_tls = yes > > Victor: > > There's your problem, this is all just one big single setting. Don't > > edit Postfix configuration files with editors that display <CR> as > > a new line. > > polloxx: > > I use vim to edit the Postfix config. What should I use? > > The above text was word-wrapped. vim does that only when > you told it to do that. > > The above should look be formatted as: > > local_header_rewrite_clients = static:all > smtp_tls_CAfile = /etc/postfix/cacert.pem > smtp_tls_session_cache_database = > btree:/mailout/var/spool/postfix/smtp_tls_session_cache > smtp_tls_security_level = may > smtp_use_tls = yes > smtpd_tls_CAfile = /etc/postfix/cacert.pem > smtpd_tls_cert_file = /etc/postfix/company-cert.pem > smtpd_tls_key_file = /etc/postfix/company-key.pem > smtpd_tls_received_header = yes > smtpd_tls_session_cache_database = > btree:/mailin/var/spool/postfix/smtpd_tls_session_cache > smtpd_tls_security_level = may > smtpd_use_tls = yes > > Wietse >