Hello Forum, One of my users was trying to use Reset Password function on and get: "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 ?
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]
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.
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
You may still have the misconfiguration that prevented PHP mail()-function from working. Might be worth fixing that.