User Tools

Site Tools



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

Link to this comparison view

утилита_msmtp [2020/12/12 18:13]
val создано
утилита_msmtp [2020/12/12 18:13] (current)
Line 1: Line 1:
 ====== Утилита msmtp ====== ====== Утилита msmtp ======
 +# apt install msmtp
 +# cat /​etc/​msmtprc
 +port 25
 +tls off
 +auth off
 +account default
 +host mail.isp.un
 +domain server.corpX.un
 +#from asterisk@server.corpX.un ​ #need for mutt
 +$ cat mail.txt
 +Content-Type:​ text/plain; charset=UTF-8
 +To: userX@isp.un
 +From: Asterisk <​asterisk@server.corpX.un>​
 +Subject: Record
 +cat mail.txt | msmtp -f asterisk@server.corpX.un userX@isp.un
утилита_msmtp.1607785989.txt.gz · Last modified: 2020/12/12 18:13 by val