#4032 Default Webmin from address used instead of that entered

1.570
closed-fixed
Jamie Cameron
5
2011-12-07
2011-12-07
fade2gray
No

Virtualmin 3.88 gpl / Webmin 1.570

Webmin Configuration > Sending Email

The default 'From address for email from Webmin' is still used even if an alternate address is entered. See also artifact ID: 3413156

Discussion

  • Jamie Cameron
    Jamie Cameron
    2011-12-07

    • status: open --> closed-fixed
     
  • Jamie Cameron
    Jamie Cameron
    2011-12-07

    This will be fixed in Webmin 1.580.

     
  • dgcom
    dgcom
    2012-03-20

    This is NOT fixed in 1.580 either - needs to be re-opened.

    If someone needs manual fix, in two files:
    /usr/share/webmin/webmin/save_sendmail.cgi
    /usr/share/webmin/webmin/edit_sendmail.cgi
    find and replace 'webmin_addr' with 'webmin_from'

    Or, you may just manually edit /etc/webmin/mailboxes/config - webmin uses webmin_from config setting in mailboxes-lib.pl as from address.

    Also, there is another related issue - the default from domain for users cannot be set from UI (at least I couldn't find how to do so). This is useful setting to allow manually sending emails with correct from addresses.
    Correct domain can be specified in /etc/webmin/mailboxes/config file as from_dom parameter.

    I hope, this can be fixed in the next release - those are small fixes, which should be easy to correct and will save lots of time for people trying to make email working correctly.

     
  • Jamie Cameron
    Jamie Cameron
    2012-03-21

    You are correct - it isn't setting the correct option. I will fix this in the next Webmin release (1.590).