System mail: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<pre> | <pre> | ||
account default | account default | ||
from | from hostname@ejik.org | ||
host smtp.yandex.ru | host smtp.yandex.ru | ||
port 465 | port 465 | ||
Revision as of 20:15, 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
set from="hostname <hostname@ejik.org>"
- to the end of
/etc/nail.rc