[SOLVED] Lost Password Mails never arrive
Moderator: crythias
[SOLVED] Lost Password Mails never arrive
Hi folks,
when using the password reset function in the login screen, I receive an email containing a link that i need to click on to finally receive a new password. If I click the link, I never receive a mail with the actual password. The logs don't show anything (apache log, messages, maillog).
If I am logged in when clicking the link in the first mail, I can see the following error message in the OTRS log:
Thu Oct 31 09:46:44 2013 error OTRS-CGI-10 Module Kernel/Modules/LostPasswordTokenAXeb6UqqstWtFjM.pm not found!
The token ID is appropriate to the ID in the first mail. Has anyone seen a behavior like this before?
System:
CentOS 5.9
OTRS 3.2.11
apache 2.2.23
when using the password reset function in the login screen, I receive an email containing a link that i need to click on to finally receive a new password. If I click the link, I never receive a mail with the actual password. The logs don't show anything (apache log, messages, maillog).
If I am logged in when clicking the link in the first mail, I can see the following error message in the OTRS log:
Thu Oct 31 09:46:44 2013 error OTRS-CGI-10 Module Kernel/Modules/LostPasswordTokenAXeb6UqqstWtFjM.pm not found!
The token ID is appropriate to the ID in the first mail. Has anyone seen a behavior like this before?
System:
CentOS 5.9
OTRS 3.2.11
apache 2.2.23
Last edited by jens1984 on 12 Nov 2013, 11:53, edited 1 time in total.
Re: Lost Password Mails never arrive
Bump.
Still suffering this problem. Any ideas what to look for? Any other logs/details that you need?
Regards,
Jens
Still suffering this problem. Any ideas what to look for? Any other logs/details that you need?
Regards,
Jens
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Lost Password Mails never arrive
Can you show the mail body defined in the SysConfig?
Options:
NotificationBodyLostPasswordToken
CustomerPanelBodyLostPasswordToken
Options:
NotificationBodyLostPasswordToken
CustomerPanelBodyLostPasswordToken
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Lost Password Mails never arrive
Hi reneeb,
there you go.
NotificationBodyLostPasswordToken:
http://secret.domain.com/index.pl?Actio ... V93foxd1pX
CustomerPanelBodyLostPasswordToken:
Jens
there you go.
NotificationBodyLostPasswordToken:
This results in a link like:Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has requested to change your OTRS
password.
If you want to do this, click on the link below. You will receive another email containing the password.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=LostPassword;Token=<OTRS_TOKEN>
If you did not request a new password, please ignore this email.
http://secret.domain.com/index.pl?Actio ... V93foxd1pX
CustomerPanelBodyLostPasswordToken:
Best regards,Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has requested to change your azeti Support Desk
password.
If you want to do this, click on this link. You will receive another email containing the password.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl?Action=CustomerLostPassword;Token=<OTRS_TOKEN>
If you did not request a new password, please ignore this email.
Jens
Last edited by jens1984 on 08 Nov 2013, 16:27, edited 1 time in total.
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Lost Password Mails never arrive
CustomerLostPassword != LostPassword
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Lost Password Mails never arrive
Hi crythias,crythias wrote:CustomerLostPassword != LostPassword
basically you are right. Take a look at my first quote, it says "LostPassword" in the URL. The URL i postet resulted from that. I edited my last -post to reflect this.
Regards,
j
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Lost Password Mails never arrive
Do you want recovery for agents or customers?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Lost Password Mails never arrive
Well, the function does not work for any, so i need it for both.
[SOLVED] Lost Password Mails never arrive
I just resolved this issue by plain luck.
The problem lies in how the URL is processed. The link in the mail is correct but the browser uses %-format coding.
https://foobar.domain.net/index.pl?Acti ... FiiwKYJ2IF
becomes
https://foobar.domain.net/index.pl?Acti ... FiiwKYJ2IF
So ";" becomes "%3b" which is not recognized by otrs. By changing it to ";" manually, the new password is send out and works as intended.
The problem lies in how the URL is processed. The link in the mail is correct but the browser uses %-format coding.
https://foobar.domain.net/index.pl?Acti ... FiiwKYJ2IF
becomes
https://foobar.domain.net/index.pl?Acti ... FiiwKYJ2IF
So ";" becomes "%3b" which is not recognized by otrs. By changing it to ";" manually, the new password is send out and works as intended.
-
- Znuny newbie
- Posts: 1
- Joined: 19 Jul 2021, 09:46
- Znuny Version: 6 Community
- Real Name: Amanda
- Company: eClear AG
Lost Password Mails never arrive
Hi,
I am still having trouble with this function. When customer &/or agent goes to reset pw an email is never sent. Could someone please help?
I am still having trouble with this function. When customer &/or agent goes to reset pw an email is never sent. Could someone please help?
-
- Administrator
- Posts: 4011
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Lost Password Mails never arrive
Hi,
Please don't catch up on such an old topic and open a new one
And to give you a heads up: add details which authentication backends are used (DB, LDAP, etc.) and check the sysconfig AdminEmail. This should be a valid email adress which is used a the sender address.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?