Submitted by expro on Wed, 01/13/2010 - 09:24
Hi,
When the database has got "custom password" set or if the database was associated with the virtual-server using "Import Database" the "Re-Send Signup Email" feature sends an email with the wrong data. The re-sended email contains the data, which were set upon virtual-server creation.
Regards.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 01/13/2010 - 13:47 Comment #1
Ok, I see what you mean ... I'll fix this in the next Virtualmin release.
You can fix it now at System Settings -> Server Templates -> Default Settings -> Mail for domain -> Email message to send upon server creation, by changing the line
MySQL password: ${PASS}
to :
${IF-MYSQL_PASS}
MySQL password: ${MYSQL_PASS}
${ELSE-MYSQL_PASS}
MySQL password: ${PASS}
${ENDIF-MYSQL_PASS}
Submitted by Issues on Thu, 01/28/2010 - 13:21 Comment #2
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by expro on Thu, 03/25/2010 - 03:03 Comment #3
Unfortunatly it doesn't work for me;-/ I'm getting mails with:
The messages contains "if" statements.
Submitted by JamieCameron on Thu, 03/25/2010 - 14:04 Comment #4
Does the domain this happens for have MySQL enabled? And does it have a custom MySQL password?
Submitted by expro on Fri, 03/26/2010 - 02:54 Comment #5
1) Account with mysql enabled and default password:
2) Account with mysql enabled and custom password:
This is how it looks.
Submitted by JamieCameron on Fri, 03/26/2010 - 13:09 Comment #6
Ok, I see the cause of this .. due to a Virtualmin bug, you can't use ${IF-MYSQL_PASS} like that.
I will fix this in the next release (version 3.78).
Submitted by Issues on Sat, 04/10/2010 - 01:21 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.