User Tools

Site Tools


Heirloom Mailx under Linux/BSD

Add the following to ~homeuser/.nailrc to set the default SMTP relay:

# Remote SDF SMTP relaying (use SDF 'mkvpm' tool to set auth user:pw):
set ssl-verify="ignore"
set smtp-use-starttls
set smtp-auth=cram-md5
set smtp-auth-user=""
set smtp-auth-password="my_password"''

The SDF CA is self-signed but can still be used if desired. Retrieve and store somewhere (ie. under ~/.openssl/) as pem file, then edit ~homeuser/.nailrc like so:

set ssl-ca-file="/home/home_user/.openssl/sdf_self-signed_ca.pem"
set ssl-verify="warn"  # will issue "self-signed CA" warning

Account-specific smtp settings are possible; see the Heirloom Mailx documentation.

Heirloom Mailx under Linux/BSD - traditional link (using RCS)

heirloom_mailx_under_linux_bsd.txt · Last modified: 2021/03/12 19:43 by hc9