SMTP_FROM is different from the "From:" email header? That's really odd.It's a
good thing I had your help with this. It's unlikely I would have figured this
out without this group. Take care,Dan
-------- Original message --------From: Lonnie Abelbeck
<li...@lonnie.abelbeck.com> Date: 8/7/22 2:02 PM (GMT-05:00) To: AstLinux
Users Mailing List <astlinux-users@lists.sourceforge.net> Subject: Re:
[Astlinux-users] MSMTP: E-Mail From root? Dan, great to hear that did the
trick.Yes, the SMTP_FROM is required by some providers.Michael has needed
SMTP_FROM for years, my email provider has not ever required SMTP_FROM (the
default r...@domain.tld is fine).Adding to the confusion is the SMTP_FROM is
different from the "From:" email header.Lonnie> On Aug 7, 2022, at 12:36 PM,
Dan Ryson <d...@ryson.org> wrote:> > Michael and Lonnie,> > Thank you. That
worked perfectly. > > A review of prior e-mails from the PBX all show a
"from" address of root. This "new" symptom appears to have been triggered by a
change at my e-mail provider. > > Best wishes,> > Dan> > On 8/7/22 11:24,
Michael Keuter wrote:>> You need to define SMTP_FROM="u...@host.com">> for your
sender address in your user.conf>> >> Sent from a mobile device.>> >> Michael
Keuter>> >>> Am 07.08.2022 um 17:02 schrieb Dan Ryson <d...@ryson.org>:>>> >>>
>>> 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 user=d...@ryson.org from=r...@ryson.org recipients=d...@ryson.org
smtpstatus=550 smtpmsg='550 sorry, you can?t send as this user'
errormsg='envelope from address r...@ryson.org 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. >>> >>> <image.png>>>> >>> The symptom also occurs from
the command line (with some portions redacted):>>> >>> sip kd # echo "hello
there username." | msmtp --debug -a default d...@ryson.org>>> loaded system
configuration file /etc/msmtprc>>> ignoring user configuration file
/root/.msmtprc: No such file or directory>>> using account default from
/etc/msmtprc>>> host = smtp.ryson.org>>> port = 465>>> source ip = (not set)>>>
proxy host = (not set)>>> proxy port = 0>>> socket = (not set)>>> timeout = 30
seconds>>> protocol = smtp>>> domain = localhost>>> auth = LOGIN>>> <-- 235 ok,
go ahead (#2.0.0)>>> --> MAIL FROM:<r...@ryson.org>>>> --> RCPT
TO:<d...@ryson.org>>>> --> DATA>>> <-- 550 sorry, you can't send as this
user>>> msmtp: envelope from address r...@ryson.org not accepted by the
server>>> msmtp: server message: 550 sorry, you can't send as this user>>>
msmtp: could not send mail (account default from /etc/msmtprc)>>> >>> As
always, I'd appreciate any insight.>>> >>> Thanks,>>> >>> Dan>>>
_______________________________________________>>> Astlinux-users mailing
list>>> Astlinux-users@lists.sourceforge.net>>>
https://lists.sourceforge.net/lists/listinfo/astlinux-users>>> >>> Donations to
support AstLinux are graciously accepted via PayPal to pay...@krisk.org.>> >>
>> >> _______________________________________________>> Astlinux-users mailing
list>> >> Astlinux-users@lists.sourceforge.net>>
https://lists.sourceforge.net/lists/listinfo/astlinux-users>> >> >> Donations
to support AstLinux are graciously accepted via PayPal to >> pay...@krisk.org.>
_______________________________________________> Astlinux-users mailing list>
Astlinux-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/astlinux-users> > Donations to
support AstLinux are graciously accepted via PayPal to
pay...@krisk.org._______________________________________________Astlinux-users
mailing
listAstlinux-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/astlinux-usersDonations
to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.