From: Bill L. <wr...@gm...> - 2019-05-30 21:54:20
|
Lonnie, On 5/30/2019 4:42 PM, Lonnie Abelbeck wrote: > Bill, > > No, the > -- > Advanced Configuration: > > User System Variables: {Edit User Variables} > -- > is in /mnt/kd/rc.conf.d/user.conf > No reboot or 'gen-rc-conf' is needed if you ... > Apply the change by clicking ... {Reload/Restart} [Restart SMTP Mail] _x_ Confirm > > If the directory /mnt/kd/rc.conf.d exists /mnt/kd/rc.conf is ignored. OK, from your original message: > You can define the SMTP_FROM rc.conf variable to change that IIRC. I took that to mean I should edit rc.conf when the Edit Configuration Files tab appeared. I see now that isn't want you meant. I've undone what I did before. Rebooted again. Now I've made the edit to /mnt/kd/rc.conf.d/user.conf That worked, in that the error msg from the server now refers to bi...@wr... rather than ro...@wr.... Still doesn't send the mail though. :-) Now it's complaining: Access denied. You are not obviously not localhost. So now I'm getting totally off the topic, but you may find this to be amusing. I looked on Google for that error msg and got exactly one hit. And it's from the brother of my friend who hosts wrljet.com for me! So ... at this point it's over to him. Bill >> On May 30, 2019, at 3:35 PM, Bill Lewis <wr...@gm...> wrote: >> >> After I made the edit, I rebooted the whole thing before testing. >> I just now ran 'gen-rc-conf' and rebooted again. >> >> I see my change in /mnt/kd/rc.conf >> >> Dunno if it's relevant, but /etc/rc.conf doesn't contain the change, and says it's autogenerated. >> >> Bill >> >> >> On 5/30/2019 4:06 PM, Michael Keuter wrote: >>> 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 >>> >>> _______________________________________________ >>> Astlinux-devel mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/astlinux-devel >> >> >> >> _______________________________________________ >> Astlinux-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/astlinux-devel |