User Tools

Site Tools


heirloom_mailx_under_linux_bsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
heirloom_mailx_under_linux_bsd [2021/03/08 06:44] hc9heirloom_mailx_under_linux_bsd [2021/03/12 19:43] (current) hc9
Line 1: Line 1:
 +====== Heirloom Mailx under Linux/BSD ======
 +
 +Add the following to **~homeuser/.nailrc** to set the default SMTP relay:
 +
 +<file config ~homeuser/.nailrc>
 +
 +# Remote SDF SMTP relaying (use SDF 'mkvpm' tool to set auth user:pw):
 +set ssl-verify="ignore"
 +set smtp-use-starttls
 +set smtp=mx.sdf.org:587
 +set smtp-auth=cram-md5
 +set smtp-auth-user="sdf_user.sdf.org@sdf.org"
 +set smtp-auth-password="my_password"''
 +
 +</file>
 +
 +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:
 +
 +<file config ~homeuser/.nailrc>
 +
 +set ssl-ca-file="/home/home_user/.openssl/sdf_self-signed_ca.pem"
 +set ssl-verify="warn"  # will issue "self-signed CA" warning
 +...
 +
 +</file>
 +
 +Account-specific smtp settings are possible; see the Heirloom Mailx documentation.
 +
 +----
 +
 +[[http://sdf.org/?tutorials/smtpauth#heirloommailx|Heirloom Mailx under Linux/BSD]] - traditional link (using [[wp>Revision_Control_System|RCS]])