This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
организация_рассылки_электронной_почты [2019/11/19 10:30] val |
организация_рассылки_электронной_почты [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> | ||
- | $ sudo apt install msmtp | + | $ cat .muttrc |
+ | или | ||
+ | |||
+ | # cat /etc/Muttrc | ||
+ | </code><code> | ||
+ | set realname='Информационный центр МГТУ им.Н.Э.Баумана' | ||
+ | set from=noc@bmstu.ru | ||
+ | set sendmail="/usr/bin/msmtp" | ||
+ | set envelope_from=yes | ||
+ | </code><code> | ||
$ cat .msmtprc | $ cat .msmtprc | ||
</code><code> | </code><code> | ||
Line 19: | Line 30: | ||
tls_starttls off | tls_starttls off | ||
tls_certcheck off | tls_certcheck off | ||
- | </code> | ||
- | |||
- | ===== Утилита mutt ===== | ||
- | |||
- | <code> | ||
- | $ sudo apt install mutt | ||
- | </code><code> | ||
- | cat .muttrc | ||
- | </code><code> | ||
- | set realname='Информационный центр МГТУ им.Н.Э.Баумана' | ||
- | set from=noc@bmstu.ru | ||
- | set sendmail="/usr/bin/msmtp" | ||
- | set envelope_from=yes | ||
</code><code> | </code><code> | ||
$ cat unregistered_users1.txt | $ cat unregistered_users1.txt |