[support] Unable to send e-mail. Contact the site administrator if the problem persists

Jamie Holly hovercrafter at earthlink.net
Sun Dec 15 15:39:36 UTC 2013


 >> I'd like to call your attention to the difference between:
 >>
 >> BAD:Dec 11 15:00:32 linus postfix/smtp[5225]: 7CEA74228698: to=< 
_www at tj49.com >, relay= mail.tj49.com [74.220.215.66]:25, delay=0.59, 
delays=0.01/0/0.45/0.13, dsn=5.0.0, status=bounced (host mail.tj49.com 
[74.220.215.66] said: 550 No Such User Here " (in replyto RCPT TO command))
 >>
 >> GOOD:Dec 11 15:03:18 linus postfix/qmgr[5239]: C53134228725: 
from=<tim at akwebsoft.com>, size=407, nrcpt=1 (queue active) Dec 11 
15:03:19 linus postfix/smtp[5245]: C53134228725: to=<tim at 
akwebsoft.com> , relay=akwebsoft.com[74.220.215.66]:25, delay=0.8, 
delays=0.01/0.01/0.53/0.25, dsn=2.0.0, status=sent (250 OK 
id=1VqtkN-00081S-C5)
 >>
 >> I thin' your mail system got some 'splanin' to do...
 >Well, I've used postfix for years .... always works, but I'm not
 >telling PHP how to handle `from'

What's your email address set in the E-Mail address field on 
Administration > Configuration > System > Site information?

 From your log, the problem is obvious. You are attempting to send an 
email with a return address that doesn't exist. Postfix is set to verify 
sender, so before it accepts an email, it's going to ask the server 
handling the return address if that user actually exists. If it doesn't 
then it's going to send a 550 error. If you have the EMail address in 
Drupal set to something other than www at tj49.com, then you got a server 
problem going on, preventing PHP from setting the return address. If 
you're running in safe_mode, that can be the culprit. If not, then you 
can try adding this to your settings.php:

ini('sendmail_path', '/usr/sbin/sendmail -t -i -f tim at akwebsoft.com');

Just make sure you set the email address to an actual user that can 
accept emails on that server to prevent spam prevention mechanics from 
kicking in.


Jamie Holly
http://hollyit.net

On 12/15/2013 8:42 AM, ra wrote:
> There is no solution to this issue, i guess?
> (have the same problem)
>
> Am 12.12.2013 02:41, schrieb Tim Johnson:
> > * Chris Miller <cjm at tryx.org> [131211 16:16]:
> >>> From: "Tim Johnson" <tim at akwebsoft.com>
> >>> To: support at drupal.org
> >>> Sent: Wednesday, December 11, 2013 4:52:06 PM
> >>> Subject: Re: [support] Unable to send e-mail. Contact the site
> >>> administrator if the problem persists
> >>> but I still have the major, major problem that from the deployed
> >>> site at akwebsoft.com, I am getting the "Unable to send
> >>> e-mail...." error message from an anonymous user send an email
> >>> http://www.akwebsoft.com/node/2
> >>> Even tho' the message is actually sent.
> >>> This looks terrible for me. That is what needs to be resolved.
> >> Hi Tim,
> >
> >> And this does look to be a drupal question. Since I'm still a
> >> relatively inexperienced Drupal developer, I'm not going to be
> >> much help, however there are people on this list that can solve
> >> your problem and have probably waited for us to get this far out
> >> of courtesy. I have helped as much as I can but there will be
> >> others that pick it up from here. Since I don't quite understand
> >> what you are trying to accomplish, I can't even ask any beneficial
> >> questions.
> >    Don't sell yourself short. You've been a big help! You have at
> >    least put me on to an issue relevant to my desktop. I think there
> >    may be two separate issues, so I'm going to rephrase what is
> >    happening at my domain at akwebsoft.com :
> >
> >    I constantly see error messages :
> >    "Unable to send e-mail. Contact the site administrator if the
> >    problem persists."
> >    I see those error messages as admin __and__ I see them as an
> >    anonymous user when I send a message through the contact form.
> >    1)Using a PHP script as you have instructed - which uses the PHP
> >    mail() function works.
> >    2)Sending a test email from the SMTP Authentication module (which
> >    I installed after these error starting showing up after I updated
> >    to 7.24) - works.
> >    3)I have set all email addresses to the same and to the same as
> >    the domain from which it is published.
> >    I __suspected__ that it could be the "Logging And Alerts" module
> >    but when I disabled it I still got the same message.
> >
> >    I at the end of my day here. I will pursue it further tomorrow.
> >    Again, thanks to Chris for his help and I hope to be further
> >    edified :)
> >
> >    regards
>



More information about the support mailing list