These days, it's getting hard to send e-mail.
For FSIJ members, MTA at fsij.org accepts SMTP connections at port 465 (submission) or 587 (ssmtp).
We are using Exim4 as MTA and here are the settings for accepting e-mail submissions.
We create a file named conf.d/main/02_exim4-config_ssmtp_submission.
MAIN_TLS_ENABLE=true tls_on_connect_ports = 465 daemon_smtp_ports = 25 : 465 : 587
In the file conf.d/auth/30_exim4-config_examples, configuration of CRAM MD5 is commented out. We enable it by creating another file, named conf.d/auth/30_exim4-config_cram_md5_server. The content is:
cram_md5_server: driver = cram_md5 public_name = CRAM-MD5 server_secret = ${extract{2}{:}{${lookup{$auth1}lsearch{CONFDIR/submission_passwd}{$value}fail}}} server_set_id = $auth1
Then, we create a file named submission_passwd at /etc/exim4. It looks like:
<USERNAME>::<CLEAR_PASSWORD>
Update configuration and restart Exim4.
# update-exim4.conf.template -r # update-exim4.conf # /etc/init.d/exim4 restart