This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ua_mutt [2020/06/25 21:00] val создано |
ua_mutt [2024/05/27 10:40] (current) val [UA mutt] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== UA mutt ====== | ====== UA mutt ====== | ||
+ | |||
+ | * [[https://whirlpool.u.blinkenshell.org/pages/using-mutt-and-smime-for-encrypted-mails.html|Setting up encrypted mails using s/mime with mutt]] | ||
+ | ===== Установка ===== | ||
+ | |||
+ | * [[Сервис MTA#Установка и настройка MTA на обработку почты домена hostname]] | ||
+ | |||
+ | или | ||
+ | |||
+ | * [[Утилита msmtp]] и [[Организация рассылки электронной почты]] | ||
+ | |||
+ | <code> | ||
+ | # apt install mutt | ||
+ | </code> | ||
+ | |||
+ | ===== Отправка писем с указанием адреса From ===== | ||
+ | |||
+ | <code> | ||
+ | $ export EMAIL="Петр Петров <user2@corpX.un>" | ||
+ | |||
+ | $ echo "СПАМ" | mutt -s "Тема письма" user1@corpX.un | ||
+ | </code> | ||
===== Отправка писем с вложениями ===== | ===== Отправка писем с вложениями ===== | ||
<code> | <code> | ||
- | # cat ~backup/shownet/2020.06.23 | cut -d' ' -f 2,4,8 > 2020.06.23.txt | + | userX@gate.isp.un:~$ echo "superfilm text" | mutt -s "superfilm subject" -a /tmp/virus.zip -- user1@corpX.un |
- | # echo "2020.06.23" | mutt -s "2020.06.23" -a 2020.06.23.txt -- sender@damain.ru | + | lan# echo "Во вложении" | mutt -s "Сертификаты" -a user1.p12 -a user1.key -a user1.crt -- user1@corp13.un |
</code> | </code> |