System mail: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
Undo revision 2312 by Verbovet (talk)
Tag: Undo
Line 2: Line 2:
<pre>
<pre>
account default
account default
from {hostname}@ejik.org
from hostname@ejik.org
host smtp.yandex.ru
host smtp.yandex.ru
port 465
port 465
Line 19: Line 19:
</pre>
</pre>
* Add
* Add
<pre>set from="{hostname} <{hostname}@ejik.org>"</pre>
<pre>set from="hostname <hostname@ejik.org>"</pre>
:to the end of <code>/etc/nail.rc</code>
:to the end of <code>/etc/nail.rc</code>
[[Category: Linux]]
[[Category: Linux]]

Revision as of 20:19, 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