This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
организация_рассылки_электронной_почты [2019/11/20 14:25] val [Утилита msmtp] |
организация_рассылки_электронной_почты [2024/12/28 12:10] (current) val |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * [[https://hostpresto.com/community/tutorials/how-to-send-email-from-the-command-line-with-msmtp-and-mutt/|How to Send Email from the Command Line with MSMTP and Mutt]] | * [[https://hostpresto.com/community/tutorials/how-to-send-email-from-the-command-line-with-msmtp-and-mutt/|How to Send Email from the Command Line with MSMTP and Mutt]] | ||
| - | ===== Утилита msmtp ===== | + | * [[Утилита msmtp]] |
| + | * [[UA mutt]] | ||
| <code> | <code> | ||
| - | # apt install msmtp | + | $ cat .muttrc |
| - | $ cat .msmtprc | + | или |
| - | </code><code> | + | |
| - | defaults | + | |
| - | port 25 | + | |
| - | tls off | + | |
| - | account default | + | # cat /etc/Muttrc |
| - | host mail.isp.un | + | |
| - | from asterisk@server.corp13.un | + | |
| - | domain server.corp13.un | + | |
| - | auth off | + | |
| - | </code><code> | + | |
| - | $ cat mail.txt | + | |
| - | </code><code> | + | |
| - | Content-Type: text/plain; charset=UTF-8 | + | |
| - | To: userX@isp.un | + | |
| - | Subject: Record | + | |
| - | Запись | + | |
| - | cделана | + | |
| - | </code><code> | + | |
| - | cat mail.txt | msmtp userX@isp.un | + | |
| - | </code> | + | |
| - | ===== Утилита mutt ===== | + | |
| - | + | ||
| - | <code> | + | |
| - | $ sudo apt install mutt | + | |
| - | </code><code> | + | |
| - | cat .muttrc | + | |
| </code><code> | </code><code> | ||
| set realname='Информационный центр МГТУ им.Н.Э.Баумана' | set realname='Информационный центр МГТУ им.Н.Э.Баумана' | ||