V
V
Vitaly Melnikov2019-10-07 09:24:43
Yandex
Vitaly Melnikov, 2019-10-07 09:24:43

Why does the email not pass Yandex's Spam check through mSMTP, but does it through mutt?

The task is to send emails through Yandex/Google servers via mSMTP without being tied to a domain.
When I try to send to the console via mSMTP, Yandex displays an error:
<-- 554 5.7.1 [2] Message rejected under suspicion of SPAM; https://ya.cc/1IrBc 1570427887-Asn7sSye6h-w6qWRXmE
msmtp: the server did not accept the mail
msmtp: server message: 554 5.7.1 [2] Message rejected under suspicion of SPAM; https://ya.cc/1IrBc 1570427887-Asn7sSye6h-w6qWRXmE
Package: msmtp
Version: 1.6.6-1
========================== ================================================= =============================
Console command (sending as User, not Root):
echo "Test message" | msmtp --debug -a yandex [email protected]
Setting ~/.msmtprc (owned by User):
defaults
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp. log
timeout 300
account yandex
host smtp.yandex.ru
port 465
from [email protected]
keepbcc on
user [email protected]
password my-pass
tls_starttls off
tls_certcheck on
=========== ================================================= ===========================================
Same situation with mutt ( built-in smtp) - everything is OK
================================================= ================================================= =====
Console command
echo "Message text" | mutt -s "Subject" -- [email protected]
Setting ~/.muttrc:
set realname = 'User Name'
set from = [email protected]
set use_from = yes
set smtp_url=smtps://my [email protected]:465
set smtp_pass = 'my-pass'
## SSL
set ssl_starttls = yes
set ssl_force_tls = yes
set smtp_authenticators = 'login'
What needs to be fixed in mSMTP to work like mutt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Melnikov, 2019-10-07
@Vmelnikoff

I decided myself, substituting the topic, everything goes well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question