Dear, I want mail clients to send messages to Internet through an own mail
relay Posfix as smtpd server (no as client), let's say:

Mail client ---STARTTLS ---- Postfix listening on Port TCP/25 --- Internet
SMTP servers

Also, I don't need authentication to send mails from the Postfix mail relay.

In /etc/postfix/main.cf I setup:

# TLS parameters for smtpd
smtpd_tls_cert_file=/etc/postfix/SSL/MailRelay-server-public.crt

smtpd_tls_key_file=/etc/postfix/SSL/MailRelay-server-private.pem

smtpd_use_tls=yes

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_tls_loglevel = 2

tls_random_source = dev:/dev/urandom

smtpd_tls_session_cache_timeout = 3600s

smtpd_tls_CApath = /etc/ssl/certs

Is this configuration Ok in order to let Postfix accept STARTTLS
connectiosn from clients ???

Thanks a lot,

Jelo

Reply via email to