You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to setup msmtp to automatically rewrite the from headers for my cron emails. I put set_from_header on in my config file per the documentation but it seems like sendmail is ignoring that.
This the log output. As you can see the from header is different than the one in the config file.
Sep 26 09:51:02 host=smtp.purelymail.com tls=on auth=on user=log@mhmd.sh from=mhmd recipients=[REDACTED] smtpstatus=530 smtpmsg='530 5.7.1 You (log@mhmd.sh) are not authorized to send mail as mhmd@purelymail.com' errormsg='envelope from address mhmd not accepted by the server' exitcode=EX_DATAERR
This is my config:
account status
host smtp.purelymail.com
port 587
from log@mhmd.sh
user log@mhmd.sh
password password
tls on
auth on
set_from_header on
logfile ~/.cache/msmtp.log
tls_trust_file /etc/ssl/certs/ca-certificates.crt
aliases /etc/aliases
account default : status
The text was updated successfully, but these errors were encountered:
I've been trying to setup msmtp to automatically rewrite the
from
headers for my cron emails. I putset_from_header on
in my config file per the documentation but it seems likesendmail
is ignoring that.This the log output. As you can see the
from
header is different than the one in the config file.This is my config:
The text was updated successfully, but these errors were encountered: