I
I
Igor Krivintsov2016-01-31 12:46:05
Google
Igor Krivintsov, 2016-01-31 12:46:05

How to configure postfix to send voice message notifications?


I want to set up sending notifications to sweat users, on a test machine I succeeded, but on a production server I can’t set it up
. : message-id=<[email protected]_Moscow.localdomain>
Jan 31 12:28:24 localhost postfix/qmgr[4187]: C131B4359F: from=, size=924, nrcpt=1 (queue active)
Jan 31 12:28 :24 localhost postfix/local[6623]: C131B4359F: to=, orig_to=, relay=local, delay=0.45, delays=0.37/0/0/0.08, dsn=2.0.0, status=sent (delivered to mailbox)
Jan 31 12:28:24 localhost postfix/qmgr[4187]: C131B4359F: removed
Jan 31 12:29:12 localhost sSMTP[8768]: Creating SSL connection to host
Jan 31 12:29:12 localhost sSMTP[8768]: SSL not working: unknown message digest algorithm (7)
Jan 31 12:29:12 localhost sSMTP[8768]: Cannot open smtp.gmail.com:587
Initially there was this error sSMTP[1332]: SSL not working: certificate verify failed (20)
then I added the line TLS_CA_File=/etc/pki/tls/certs/ca-bundle.crt the
errors changed... I can't find anything special about it on the Internet. ..Test message
mail -s test [email protected] < /dev/null comes to the mail, but if you leave a message, nothing happens.
nano /etc/postfix/main.cf
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = secure
smtp_tls_mandatory_protocols=TLSv1
smtp_tls_mandatory_ciphers=high
smtp_tls_secure_cert_match=nexthop
smtp_tls_CAfile=/etc/pki/tls/certs/ca-bundle.crt relayhost=
smtp.gmail.com:587
nano /etc/postfix/main.conf
relayhost=[smtp.example. com]:port
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter =
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_security_options = noanonymous

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2016-02-29
@Zarom

SSL not working: unknown message digest algorithm
This indicates that you may have an outdated version of openssl installed. Try updating it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question