Strange "Forgot Password" problem

Strange "Forgot Password" problem

by John C. -
Number of replies: 8

Hello,
For some reason our “forgot password” feature is not working properly. All of our users that have an email address with @ourschool.org get the following errors when they try to use the forgot password feature.

Anything else like @gmail.com or whatever works perfectly. Does anyone know what could be causing these problems?

Thank you! - John Callery

Errors:

 

Without "localhost" in SMTP server box:

ERROR: Could not instantiate mail function.
error sending password change confirmation email

With "localhost" in SMTP server box:

ERROR: SMTP Error: The following recipients failed: some_name@ourschool.org
error sending password change confirmation email

Average of ratings: -
In reply to John C.

Re: Strange "Forgot Password" problem

by John C. -

Anyone have any ideas?

I've tried just about everything I can think of and I'm still running into the same problem.

In reply to John C.

Re: Strange "Forgot Password" problem

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
Well, it depends on what SMTP server you are running locally and how it is configured, so unless you give us more details... wink

Saludos. Iñaki.
In reply to Iñaki Arenaza

Re: Strange "Forgot Password" problem

by John C. -
Dear Iñaki,
Thank you for your repsonse! How can I determine what SMTP server I am using? All I know is that whatever I've been using is integrated into Windows Server 2003.

The strange thing is that the only time we experience the error is when the user's email address is our school's domain name. The forgot password error does not occur with external email addresses - and our moodle server has absolutely no connection with our schools mail servers/domain. (I've also tried using the PHP mail feature, and the same problem occurs)

What other information can I provide?

Thanks,
John
In reply to John C.

Re: Strange "Forgot Password" problem

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
Most probably you are using the SMTP server that comes integrated with IIS. I haven't used it myself, but there is surely some sort of configuration for the domain names it accepts mail for. Make sure it doesn't list your school domain name, so it routes that mail the same way it routes external mail.

Saludos. Iñaki.
In reply to Iñaki Arenaza

Re: Strange "Forgot Password" problem

by Russell Myers -
HI guys,

I had the same issue and mine was that the school server would not accept emails from a mail server that had no smtp server. I was using my sendmail command in unix to send it. I had to set my smtp server to a fully qualified smtp server. Hopefully this helps you and anyone else who searches this thread!
In reply to Iñaki Arenaza

Re: Strange "Forgot Password" problem

by luchito alva -

Iñaqui hagame el favor y me dice como soluciono el error de smtp que tengo "error sending password change confirmation email" y ERROR: The following From address failed: correotutorcursovirtualcpeuis@gmail.com

Servidores SMTPsmtphosts
Valor por defecto: Vacío
Escriba el nombre completo de uno o más servidores SMTP locales que Moodle usará para enviar correo (e.g., 'mail.a.com' o 'mail.a.com;mail.b.com'). Si lo deja en blanco, Moodle usará el método PHP por defecto para enviar correo.
Nombre de usuario SMTPsmtpuser
Valor por defecto: Vacío
Si antes ha especificado un servidor SMTP, y el servidor requiere autenticación, escriba aquí el nombre de usuario y la contraseña.
Contraseña SMTPsmtppass
Desenmascarar
Si antes ha especificado un servidor SMTP, y el servidor requiere autenticación, escriba aquí el nombre de usuario y la contraseña.
Límite de sesión SMTPsmtpmaxbulk
Valor por defecto: 1
Número máximo de mensajes enviados por sesión SMTP. La agrupación de mensajes puede agilizar el envío de emails. Valores inferiores a 2 fuerzan la creación de una nueva sesión SMTP para cada email.
Dirección 'no-reply'noreplyaddress
Valor por defecto: noreply@simon.uis.edu.co
A veces los emails son enviados por el usuario (e.g., mensajes a un foro). La dirección email especificada aquí se usará como dirección "De" en aquellos casos en que los receptores no puedan replicar directamente al usuario (e.g., cuando un usuario elige mantener oculta su dirección).
Hora para enviar los mensajes resumendigestmailtime
000102030405060708091011121314151617181920212223
Valor por defecto: 17
Se enviará un resumen de los correos a las personas que eligen dicha opción. Este ajuste controla a qué hora del día se enviará el correo (por medio del primer cron que se ejecute después de la hora fijada).
Conjunto de caracteressitemailcharset
UTF-8EUC-JPGB18030GB2312ISO-2022-JPISO-8859-1SHIFT-JIS
Valor por defecto: UTF-8
Todos los emails generados por su sitio se enviarán en el juego de caracteres que aquí se especifique. En cualquier caso, cada usuario individual podrá ajustar esta opción si está habilitado el siguiente ajuste.
Permitir al usuario cambiar el conjunto de caracteresallowusermailcharset
Valor por defecto: No
Si habilita esta opción, todos los usuarios del sitio podrán especificar su propio juego de caracteres para escribir emails.
Caracteres de línea nueva en correo electrónicomailnewline
LFCRLF
Valor por defecto: LF
Caracteres de línea nueva usados en los mensajes de correo electrónico. CRLF es necesario de acuerdo RFC 822bis; algunos servidores realizan una conversión automática desde LF a CRLF, en tanto que otros realizan una conversión incorrecta de CRLF a CRCRLF y, finalmente, otros rechazarn los correos con LF vacío (qmail, por ejemplo). Intente modificar este ajuste si tiene problemas con correos sin entregar o con nuevas líneas dobles.
Nombre del apoyosupportname
Valor por defecto: Admin Usuario
Este es el nombre de una persona u otra entidad que ofrece ayuda general por medio de una dirección email o una página web.
Email de apoyosupportemail
Valor por defecto: correotutorcursovirtual_cpeuis@hotmail.com
Esta dirección email se publicará a los usuarios del sitio como aquella a la que deberán dirigirse cuando necesiten ayuda de tipo general (por ejemplo, cuando un usuario nuevo crea su propia cuenta). Si se deja en blanco, no se dispondrá de una dirección de ayuda del tipo mencionado.
Página de apoyosupportpage
Valor por defecto: Vacío
Esta dirección email se publicará a los usuarios del sitio como aquella a la que deberán dirigirse cuando necesiten ayuda de tipo general (por ejemplo, cuando un usuario nuevo

OTRA PREGUNTA: COMO HAGO PARA QUE UN USUARIO(AL QUE YO CONFIRMO Y LE ASIGNO ROL) SUBA USUARIOS, CONFIRME Y MATRICULE

In reply to Iñaki Arenaza

Re: Strange "Forgot Password" problem

by Armando Novoa -

Hello, We do have the same problem, but the mailing fails ONLY when trying to recover a password by a user. Every other mail instances within moodle (forums, messages, etc..) work fine, but if you forgot your password and ask for help to login, you ger this error.

So this ponts to an issue other than the SMTP, isn't it?

In reply to Armando Novoa

Re: Strange "Forgot Password" problem

by Armando Novoa -

After troubleshooting around, and given the fact that the mail instantiation fails ONLY when trying to recover a forgotten password (every other mail function works fine), it seems that the problem is that the standard PHP sendmail uses the root user, and as far as you are not logged into moodle yet, then the server denies the instantiation.

This makes sense on security grounds, but then again, what could be a workaround?

Any ideas?