Error while user Password Reset

Discussion in 'Installation/Configuration' started by IntrISP, Jul 11, 2024.

  1. IntrISP

    IntrISP New Member

    Hello Forum,
    One of my users was trying to use Reset Password function on and get:
    upload_2024-7-11_15-58-19.png
    "There was a connection problem when trying to send an email pertaining to your password reset request."
    I've checked that User and Server configuration and it looks fine to me.
    Any thoughts on where I should start looking for a cause of that error ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the mail.log file to see why it could not be sent.
     
  3. IntrISP

    IntrISP New Member

    This VM that user is trying "Password reset" on, is our main mail server.
    I also try to use Password reset on other accounts and they all got same error, so I guess problem is global for that machine.
    So I've checked /var/log/mail.err and from around the time of last Password reset test I see:
    Code:
    Jul 12 10:58:11 host07 postfix/sendmail[13027]: fatal: usage: sendmail [options]
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig does not use the sendmail warpper directly, but PHP does. So either you have a misconfiguration in the global php.ini file in regard to mails ending in PHP or there is an issue that the php sendmail wrapper does not work. You can change the php sending mode form default (which is PHP mail() function to SMTP mode in ISPConfig under System > interface > main config.
     
  5. IntrISP

    IntrISP New Member

    sorry for late reply, was busy with something else :)
    Changing PHP sending mode from default to SMTP fixed my problem.
    Many thanks for Your help MR. till
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You may still have the misconfiguration that prevented PHP mail()-function from working. Might be worth fixing that.
     

Share This Page