This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
утилита_msmtp [2024/12/30 07:17] val |
утилита_msmtp [2025/04/03 13:13] (current) val |
||
---|---|---|---|
Line 36: | Line 36: | ||
cat mail.txt | msmtp -f asterisk@server.corpX.un userX@isp.un | cat mail.txt | msmtp -f asterisk@server.corpX.un userX@isp.un | ||
</code> | </code> | ||
+ | |||
+ | ==== Утилита mail без mta ==== | ||
+ | |||
<code> | <code> | ||
# apt install msmtp-mta bsd-mailx | # apt install msmtp-mta bsd-mailx | ||
+ | |||
+ | # cat /etc/msmtprc | ||
+ | ... | ||
+ | |||
+ | # cat /etc/aliases | ||
+ | ... | ||
+ | |||
+ | # newaliases | ||
# mail root | # mail root | ||
</code> | </code> |