Nedd Help configuring postfix

Hi guys,

i got an centos server and now i want to send mails automatically to the users if the server is going down for reasons.
I also created a mailaccount on for my server because i dont want trouble with not being in a whitelist.

I used this tutorial to setup postfix

but i am stuck at adding the certificate. Can anyone help?



Do you mean your server certificate for when you connect to your server and not the CA certificates used to validate other servers? Make sure you have these lines in your file:

# TLS parameters
# smtp_use_tls = no
smtp_tls_security_level = may
smtpd_tls_security_level = may
# smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
# smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
# smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

Also make sure you uncomment the submission line in

submission inet n       -       n       -       -       smtpd

That should do it, if not check out this guide, it's what I used when setting up my mail server.