|
From: Dan R. <da...@ry...> - 2022-08-07 16:29:24
|
Thanks Michael! -------- Original message --------From: Michael Keuter <li...@mk...> Date: 8/7/22 11:25 AM (GMT-05:00) To: AstLinux Users Mailing List <ast...@li...> Subject: Re: [Astlinux-users] MSMTP: E-Mail From root? You need to define SMTP_FROM="us...@ho..."for your sender address in your user.confSent from a mobile device.Michael KeuterAm 07.08.2022 um 17:02 schrieb Dan Ryson <da...@ry...>:All,I've been trying to figure out why I'm experiencing a new MSMTP symptom on two completely separate PBXs; both running AstLinux 1.4.6. Within the last few weeks, I've started seeing bounce messages like the one pasted below. For some reason, mail appears to be going out with a "from" address of root. sip mail.err msmtp: host=smtp.ryson.org tls=on auth=on use...@ry... fro...@ry... rec...@ry... smtpstatus=550 smtpmsg='550 sorry, you can?t send as this user' errormsg='envelope from address ro...@ry... not accepted by the server' exitcode=EX_DATAERR I see the same thing with the Test SMTP Mail Relay dialog under the Network tab while entering my e-mail address to both the "to" and "from" text boxes. The symptom also occurs from the command line (with some portions redacted):sip kd # echo "hello there username." | msmtp --debug -a default da...@ry... system configuration file /etc/msmtprcignoring user configuration file /root/.msmtprc: No such file or directoryusing account default from /etc/msmtprchost = smtp.ryson.orgport = 465source ip = (not set)proxy host = (not set)proxy port = 0socket = (not set)timeout = 30 secondsprotocol = smtpdomain = localhostauth = LOGIN<-- 235 ok, go ahead (#2.0.0)--> MAIL FROM:<ro...@ry...>--> RCPT TO:<da...@ry...>--> DATA<-- 550 sorry, you can't send as this usermsmtp: envelope from address ro...@ry... not accepted by the servermsmtp: server message: 550 sorry, you can't send as this usermsmtp: could not send mail (account default from /etc/msmtprc)As always, I'd appreciate any insight.Thanks,Dan _______________________________________________Astlinux-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/astlinux-usersDonations to support AstLinux are graciously accepted via PayPal to pa...@kr.... |