System mail: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
tls_starttls off
tls_starttls off
tls_trust_file /etc/ssl/certs/ca-certificates.crt
tls_trust_file /etc/ssl/certs/ca-certificates.crt
user <user@example.org>
user <smtp-user@example.net>
password <password>
password <password>



Revision as of 20:11, 6 August 2022

  • /etc/msmtprc
account default
from <hostname>@ejik.org
host smtp.yandex.ru
port 465
auth on
tls on
tls_starttls off
tls_trust_file /etc/ssl/certs/ca-certificates.crt
user <smtp-user@example.net>
password <password>

aliases /etc/aliases
  • /etc/aliases
default: @ejik.org
  • Add something like
set from="user <user@example.org>"
to the end of /etc/nail.rc