From: Michael K. <li...@mk...> - 2019-05-30 20:06:31
|
Maybe a „gen-rc-conf“ in the CLI or a reboot (instead) was missing to activate the setting ... Sent from a mobile device. Michael Keuter > Am 30.05.2019 um 21:56 schrieb Lonnie Abelbeck <li...@lo...>: > > > >> On May 30, 2019, at 2:04 PM, Bill Lewis <wr...@gm...> wrote: >> >> On 5/30/2019 2:31 PM, Lonnie Abelbeck wrote: >>>> Lonnie, >>>> >>>> Using this command as a test: >>>> >>>> echo "C*Net call from 1234567" | mail -v -r "bi...@wr..." -s "C*Net call from 1234567" "bi...@wr..." >>>> >>>> I'm getting this error from a server a friend hosts for me: >>>> >>>> msmtp: envelope from address ro...@wr... not accepted by the server >>>> msmtp: server message: 553 5.3.0 <ro...@wr...>... Not a valid email address >>>> >>>> Is there a way to change the username 'root' in the email address 'ro...@wr...' AstLinux sends to the server? >>>> >>>> Thanks, >>>> Bill >>> You can define the SMTP_FROM rc.conf variable to change that IIRC. >>> >>> Using the Network tab, near the bottom, click ... >>> -- >>> Advanced Configuration: >>> >>> User System Variables: {Edit User Variables} >>> -- >>> then define something like: >>> >>> SMTP_FROM="bi...@wr..." >>> >>> Apply the change by clicking ... {Reload/Restart} [Restart SMTP Mail] _x_ Confirm >>> >>> Lonnie >>> >>> >> Lonnie, >> >> That variable appears to do the same thing as the -r in my mail command. >> >> So I'm getting the same error back from the server. >> >> Bill > > Just tried this myself, and when setting SMTP_FROM the ro...@ex... got replaced with the SMTP_FROM value. > > Lonnie > > > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel |