V
V
VN2021-01-22 11:46:20
Mail server
VN, 2021-01-22 11:46:20

How to send a message on behalf of another user in mutt?

Hello.
I have a domain - mydomain.com. I need to send a message on behalf of another domain - other.net. The DNS for the other.net domain is configured with an SPF record pointing to mydomain.com.

v = spf1 include: other.net include: mydomain.com -all

Mail server 1.3.2 MARIADB edition.

For sending I use the Mutt client.
Here are his settings

set ssl_starttls = yes
set ssl_force_tls = yes
set ssl_use_sslv3 = yes
set timeout = 60
set smtp_authenticators = "login"
set smtp_url = "smtp: //[email protected]@mail.bessey.ru: 587"

set realname = "Noreplay"
set from = "[email protected]"
set smtp_pass = "[email protected]$$W0rd"
set copy = no


when sending a message i get this error
554 5.7.1 : recipient address rejected: sender does not match username for SMTP authentication

in forum thread - https://forum.iredmail.org/topic11192-smtp-error.html
i found information, that I need to edit the setting in the file - /opt/iredapd/settings.py, add the required address to the setting ALLOWED_LOGIN_MISMATCH_SENDERS = ['your_sasl_auth_username'] and restart the service

Unfortunately, this did not help. Please tell me how to send a message on behalf of another domain in mutt.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question