Configure latest redmine for mail with postfix
Added by Sebastian Kruse almost 12 years ago
Hi guys,
I try to install a outgoing mail service for redmine. On my server is currently postfix running with zarafa - this works fine. I use zarafa together with sasl auth and tls. I also configured redmine completly for mail sending. But anytime redmine try to send a mail, I get this in my /var/log/mail.log "lost connection after STARTTLS from localhost.localdomain[127.0.0.1]".
Here my configuration for mailing in redmine:
production:
email_delivery:
delivery_method: :async_smtp
smtp_settings:
address: mail.kruse-familie.eu
port: 25
tls: true
enable_starttls_auto: true
domain: kruse-familie.eu
authentication: :login
user_name: "redmine"
password: "***"default:
email_delivery:
delivery_method: :async_smtp
smtp_settings:
address: mail.kruse-familie.eu
port: 25
tls: true
enable_starttls_auto: true
domain: kruse-familie.eu
authentication: :login
user_name: "redmine"
password: "***"
If I try to send mails with this account from Outlook or the web ui of zarafa - it works. On my postfix main.cf configuration file I use this entrys to make tls possible:
smtpd_tls_cert_file=/etc/keys/ssl.crt
smtpd_tls_key_file=/etc/keys/ssl.key
smtpd_tls_CAfile=/etc/keys/ca.pem
smtpd_use_tls=yes
smtpd_tls_security_level=may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
Did anybody knows what the problem is? I did search at google, yahoo and bing for many hours now and I can't find anything helpful. On the redmine server at work I use sendmail for this and their it works without any problems if this help to help me.
Replies (2)
RE: Configure latest redmine for mail with postfix - Added by Thomas Frank about 10 years ago
Have you already found a solution for the problem ? I have the same problem.
RE: Configure latest redmine for mail with postfix - Added by [ Desperados ] over 9 years ago
same problem solved with "openssl_verify_mode: none" after "smtp_settings:" in "config/configuration.yml"
EDIT: I don't know why but today I've to add
openssl_verify_mode: "none"and not simply
openssl_verify_mode: none