Hi all,
I'm getting the "Unable to send mail. Please contact the site admin." error, when requesting a new password.
[Webforms are also not being sent]

From what I can see, its not a Drupal problem, and I wouldn't normally ask for help here on a non Drupal issue.

But I'm stuck here and I need help [check my history to see I do help others occasionally when I can].

My php.ini sendmail path [its verio virtual server, running BSD] is set to the correct process "usr/sbin/sendmail"

I've had a look at the sendmail log, but I don't pretend to understand it at all.
I think the following sections are related, but I couldn't be sure.


Feb  9 09:04:49 istormhost sendmail[20813]: l1994nlN020813: from=www, size=882, class=0, nrcpts=1, msgid=<200702090904.l1994nlN020813@istormhost.com>, relay=www@localhost
Feb  9 09:04:49 istormhost sendmail[20813]: l1994nlN020813: to=alan@proactive.ie, ctladdr=www (80/80), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30882, relay=localhost.. [127.0.0.1], dsn=5.6.0, stat=Data format error
Feb  9 09:04:49 istormhost sendmail[20813]: l1994nlN020813: l1994nlO020813: DSN: Data format error
Feb  9 09:04:49 istormhost sm-mta[20815]: l1994n4o020815: <www@istormhost.com>... User unknown
Feb  9 09:04:49 istormhost sendmail[20813]: l1994nlO020813: to=www, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31906, relay=localhost.., dsn=5.3.0, stat=User unknown
Feb  9 09:04:49 istormhost sm-mta[20815]: l1994n4o020815: from=<>, size=1906, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb  9 09:04:49 istormhost sendmail[20813]: l1994nlO020813: l1994nlP020813: return to sender: User unknown

alan@proactive is the email address of user requesting password change
istormhost is the host

So can anyone tell me what I need to be fixing and where to make the changes?

I'd appreciate even some pointers on things I could check.

Regards
Alan

Comments

alanburke’s picture

It also appears I am unable to spell
Apologies for the initial typo

alanburke’s picture

It also doesn't work for new registrations,

But from reading the sendmail log, I am confident [though not sure] that at least the request is getting that far.

When creating a new user, the following shows up in the sendmail log

Feb  9 11:58:16 istormhost sendmail[65604]: l19BwGoa065604: from=www, size=939, class=0, nrcpts=1, msgid=<200702091158.l19BwGoa065604@istormhost.com>, relay=www@localhost
Feb  9 11:58:16 istormhost sendmail[65604]: l19BwGoa065604: to=hostmaster@proactive.ie, ctladdr=www (80/80), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30939, relay=localhost.. [127.0.0.1], dsn=5.6.0, stat=Data format error
Feb  9 11:58:16 istormhost sendmail[65604]: l19BwGoa065604: l19BwGob065604: DSN: Data format error
Feb  9 11:58:16 istormhost sm-mta[65606]: l19BwGcm065606: <www@istormhost.com>... User unknown
Feb  9 11:58:16 istormhost sendmail[65604]: l19BwGob065604: to=www, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31963, relay=localhost.., dsn=5.3.0, stat=User unknown
Feb  9 11:58:16 istormhost sm-mta[65606]: l19BwGcm065606: from=<>, size=1963, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb  9 11:58:16 istormhost sendmail[65604]: l19BwGob065604: l19BwGoc065604: return to sender: User unknown
Feb  9 11:58:16 istormhost sm-mta[65606]: l19BwGco065606: from=<>, size=4369, class=0, nrcpts=1, msgid=<200702091158.l19BwGoc065604@istormhost.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Feb  9 11:58:16 istormhost sendmail[65604]: l19BwGoc065604: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32987, relay=localhost.. [127.0.0.1], dsn=2.0.0, stat=Sent (l19BwGco065606 Message accepted for delivery)
Feb  9 11:58:16 istormhost sm-mta[65615]: l19BwGco065606: to=<postmaster@istormhost.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=34566, relay=local, dsn=2.0.0, stat=Sent

Where hostmaster@proactive is the email address for the new user

Can anybody interpret and diagnose further?

Alan

alanburke’s picture

Whenever you can't fix a problem, there's a good chance a module will have done it for you..
In My case
SMTP module
The Head version works with 5.0
I simply setup another user with mail privileges on the server and used it for the SMTP module configuration..
and hey presto.. Problem solved worked around.

Regards
Alan