When I turn on email notification, I get this in the log" Notify: User ... could not be notified. Mail error." but the notification is sent, delivered and correct --- any idea what is going on?

Using Postfix on Mac OS X

thanks in advance --

Comments

rscrane’s picture

Hoping for a comment from someone -- any debugging tips?

kthagen’s picture

I've never had any problems with this part of notify. It may be a problem with your mail configuration. What happens when you try to send mail to a user through the contact form?

Notify simply invokes Drupal's user_mail() function. That in turn calls the php function mail.

Notice the following requirements for mail to work (from the php manual):

For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come with them. PHP will first look for sendmail in your PATH, and then in the following: /usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib. It's highly recommended to have sendmail available from your PATH. Also, the user that compiled PHP must have permission to access the sendmail binary.