This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ua_mutt [2020/12/12 19:05] 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> | <code> | ||
# apt install mutt | # apt install mutt | ||
+ | </code> | ||
+ | |||
+ | ===== Отправка писем с указанием адреса From ===== | ||
+ | |||
+ | <code> | ||
+ | $ export EMAIL="Петр Петров <user2@corpX.un>" | ||
+ | |||
+ | $ echo "СПАМ" | mutt -s "Тема письма" user1@corpX.un | ||
</code> | </code> | ||
Line 11: | Line 26: | ||
<code> | <code> | ||
userX@gate.isp.un:~$ echo "superfilm text" | mutt -s "superfilm subject" -a /tmp/virus.zip -- user1@corpX.un | userX@gate.isp.un:~$ echo "superfilm text" | mutt -s "superfilm subject" -a /tmp/virus.zip -- user1@corpX.un | ||
+ | |||
+ | lan# echo "Во вложении" | mutt -s "Сертификаты" -a user1.p12 -a user1.key -a user1.crt -- user1@corp13.un | ||
</code> | </code> |