Welcome Email not including password.

  • collin.vonnda
  • 01/14/12
  • Offline
Posted: Sat, 2012-01-14 11:11

I'm having an issue, I've set virtualmin up and configured it to send out a welcome email with each virtual server created. The email sends fine, but the user's password is never included. The account creation script errors out if I leave that field blank (thinking perhaps it would generate it's own password).

Administration login: ${USER}

Administration password: ${PASS}

The Admin login field shows up fine, but the admin password line is always blank in the outgoing email.

Any thoughts?


Could this be due to not

  • collin.vonnda
  • 01/14/12
  • Offline
  • Sat, 2012-01-14 11:14

Could this be due to not having virtualmin saving passwords in clear format? I choose the hashed option.


Okay I disabled the hashed

  • collin.vonnda
  • 01/14/12
  • Offline
  • Sat, 2012-01-14 15:19

Okay I disabled the hashed password option, and allowed the server to randomly generate it's own password instead of myself entering it manually, and the password field was properly included in the outgoing mail.

I couldn't find the option to disable the password has inside the Virtualmin gui, so I manually disabled it in the file /etc/webmin/virtual-server/config


Howdy, It sounds like you've

  • andreychek
  • 01/04/09
  • Online Now
  • Sat, 2012-01-14 19:54

Howdy,

It sounds like you've got this one figured out, that's great! I've asked Jamie for some more input on all that... I'm curious if that's a bug that the ${PASS} variable isn't working when using the hashed passwords.

-Eric


Can you try using the option

  • andreychek
  • 01/04/09
  • Online Now
  • Sat, 2012-01-14 19:55

Can you try using the option "${PLAINPASS}" when using the hashed passwords? It sounds like that may include what you're after.

-Eric


seems to be a bug

  • reachoneinternet
  • 07/21/10
  • Offline
  • Mon, 2012-01-16 11:42

I tried the ${PLAINPASS} option, but that comes up blank as well. Then I changed the password storage to plaintext in the Server Template and tried it again. This time ${PASS} was sent successfully via email, but ${PLAINPASS} was still blank. It looks like a bug to me...

-Chris


Okay, I can confirm that this

  • andreychek
  • 01/04/09
  • Online Now
  • Tue, 2012-01-17 15:02

Okay, I can confirm that this is indeed a bug. I'll ask Jamie to take a look :-)

-Eric


Jamie found the source of

  • andreychek
  • 01/04/09
  • Online Now
  • Tue, 2012-01-17 21:19

Jamie found the source of that bug -- it'll be fixed in the next Virtualmin release, 3.90. Thanks for pointing it out!

-Eric


I couldn't find the bug in

  • pearcec
  • 02/06/12
  • Offline
  • Mon, 2012-02-06 11:28

I couldn't find the bug in the bug database. Can you link to it here?

Edit: Nevermind, I found I wasn't running 3.9. I am now. All is good.


Still have that problem

  • bl_ue_li
  • 10/08/12
  • Offline
  • Mon, 2012-11-05 17:21

Hi,

i have now version 3.95 (before 3.94) and i still have the problem that ${PASS} and $[PLAINPASS} is empty. I changed back the server template to Not hashed passwords, set a new admin password, did a re-send the signup email - still no password included. No difference to the setup with hashed passwords. What do i wrong?

Also it is not working to recover password with following error:

Password recovery failed : Your virtual servrer password for login cannot be recovered as it has not been stored by Virtualmin. Please contact your system administrator to reset the password.

Thx in advance


Re-Send Signup Email

  • dexterns88
  • 08/27/14
  • Offline
  • Wed, 2014-08-27 02:58

I have virtualmin 4.06, and I have similar issue.

When I try to Re-Send Signup Email my ${PASS} variable is empty , but if mail sent when I just created virtual server password is in ${PASS} variable and user get his password via email.