email is not working.

email is not working.

by Andy Chauhan -
Number of replies: 1

On my system the email is not working. I get the following error:

Could not send you an email to confirm the password change

in /usr/local/lib/php.ini I have included sendmail path as /usr/sbin/sendmail which is actually the case. Is any other place I need to do something else? (qmail server on port 25 is running properly on my system.)

 

 

Average of ratings: -
In reply to Andy Chauhan

Re: email is not working.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
You have set up the cron job to send the actual mails (see installation instructions)??

Does Sendmail/qmail work? Can you send a mail from the command line using 'mail' or 'mutt' or whatever you have. Does Qmail work at all? (use /var/qmail/bin/qmail-inject to test)

Has the sendmail binary been linked to the qmail sendmail wrapper (normally lives at /var/qmail/bin/sendmail). If not anything could happen. Try setting sendmail path as /var/qmail/bin/sendmail instead.

Do you have an SMTP server somewhere that you can point at? If so try that instead.