[SOLVED]554 5.7.1 <apache@Labradio.localdomain>: Sender address

I have a joomla installation on a virtual server. When a user registers with the site a system email is sent to the site administrator notifying that a new user has signed up. These system emails are not being sent to the site administrator, instead they are being returned to the root user mailbox as failed.

Here is a copy of one of the failed emails


From MAILER-DAEMON@Labradio.localdomain (Mail Delivery System)
To apache@Labradio.localdomain
Date 12/09/2010 22:49
Subject Undelivered Mail Returned to Sender
Message contents

This is the mail system at host Labradio.localdomain.

I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.

For further assistance, please send mail to

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

               The mail system

Vinnis1@aol.com: host mailin-01.mx.aol.com[64.12.90.1] said: 554 5.7.1
apache@Labradio.localdomain: Sender address rejected: Access denied (in
reply to MAIL FROM command)

Failed delivery status
Final recipient Vinnis1@aol.com
Reason for failure 554 5.7.1 apache@Labradio.localdomain: Sender address
Remote mail server mailin-01.mx.aol.com
Reporting mail server Labradio.localdomain


Here is my system mail logs


Sep 12 22:11:41 Labradio postfix/smtpd[20515]: setting up TLS connection from localhost[127.0.0.1] Sep 12 22:11:41 Labradio postfix/smtpd[20515]: TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Sep 12 22:11:41 Labradio sendmail[20571]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Sep 12 22:11:41 Labradio postfix/smtpd[20515]: A8133100645: client=localhost[127.0.0.1], sasl_sender=apache@Labradio Sep 12 22:11:41 Labradio postfix/cleanup[20518]: A8133100645: message-id= Sep 12 22:11:41 Labradio postfix/qmgr[1354]: A8133100645: from=, size=1089, nrcpt=1 (queue active) Sep 12 22:11:41 Labradio sendmail[20571]: o8CMBfi5020571: to=Vinnis1@aol.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30701, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A8133100645) Sep 12 22:11:41 Labradio postfix/smtpd[20515]: disconnect from localhost[127.0.0.1] Sep 12 22:11:42 Labradio postfix/smtp[20520]: A8133100645: to=, relay=mailin-02.mx.aol.com[64.12.90.65]:25, delay=0.42, delays=0.04/0/0.29/0.09, dsn=5.7.1, status=bounced (host mailin-02.mx.aol.com[64.12.90.65] said: 554 5.7.1 : Sender address rejected: Access denied (in reply to MAIL FROM command)) Sep 12 22:11:42 Labradio postfix/cleanup[20518]: 2E1B81003CE: message-id=<20100912221142.2E1B81003CE@Labradio.localdomain> Sep 12 22:11:42 Labradio postfix/qmgr[1354]: 2E1B81003CE: from=<>, size=3184, nrcpt=1 (queue active) Sep 12 22:11:42 Labradio postfix/bounce[20523]: A8133100645: sender non-delivery notification: 2E1B81003CE Sep 12 22:11:42 Labradio postfix/local[20524]: 2E1B81003CE: to=, orig_to=, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Sep 12 22:11:42 Labradio postfix/qmgr[1354]: A8133100645: removed Sep 12 22:11:42 Labradio postfix/qmgr[1354]: 2E1B81003CE: removed Sep 12 22:37:08 Labradio sendmail[20886]: My unqualified host name (Labradio) unknown; sleeping for retry Sep 12 22:38:08 Labradio sendmail[20886]: unable to qualify my own domain name (Labradio) -- using short name Sep 12 22:38:22 Labradio sendmail[20963]: My unqualified host name (Labradio) unknown; sleeping for retry Sep 12 22:39:17 Labradio sendmail[21019]: My unqualified host name (Labradio) unknown; sleeping for retry Sep 12 22:39:22 Labradio sendmail[20963]: unable to qualify my own domain name (Labradio) -- using short name

Thanks in advance for any help.

Howdy,

It sounds like the receiving server doesn’t like your “From” address, which appears to be currently set to “apache@Labradio.localdomain”.

I’d make sure to set that in Joomla to an address that exists and where the domain name resolves.

Also, I’d suggest verifying that your systems hostname is an address that resolves – that is, whatever your systems hostname is, there should be a DNS ‘A’ record for that.

-Eric

Thanks for your help.

I checked the dns records for the virtual server musiclabradio and there is a DNS ‘A’ record set. It was created when I created the virtual server in virtualmin. Below is a list of records from Bind DNS.

Name Type TTL Values

    musiclabradio.com. 	NS 	Default 	Labradio.
musiclabradio.com. 	A 	Default 	184.106.230.116
www.musiclabradio.com.   A 	Default 	184.106.230.116
ftp.musiclabradio.com. 	A 	Default 	184.106.230.116
m.musiclabradio.com. 	A 	Default 	184.106.230.116

localhost.musiclabradio.com. 	A 	Default 	127.0.0.1
webmail.musiclabradio.com. 	A 	Default 	184.106.230.116
admin.musiclabradio.com. 	A 	Default 	184.106.230.116
mail.musiclabradio.com. 	A 	Default 	184.106.230.116
musiclabradio.com. 	MX 	Default 	5 mail.musiclabradio.com.

I’m pretty sure this isn’t a joomla specific question. I’m pretty sure that the problem lies with some mail setting I don’t know about. Here is my evidence.

When I test signing up. The mails to the person registering are being delivered

Sep 13 04:24:54 Labradio sendmail[32188]: o8D4OrBZ032188: to=oasis_from_life@yahoo.com, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30896, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 352A61000EB)
Sep 13 04:24:54 Labradio postfix/qmgr[1354]: 352A61000EB: from=apache@Labradio.localdomain, size=1293, nrcpt=1 (queue active)
Sep 13 04:24:54 Labradio postfix/smtpd[32223]: disconnect from localhost[127.0.0.1]

However the system emails to administrators are not being sent

Sep 13 04:25:54 Labradio sendmail[32228]: unable to qualify my own domain name (Labradio) – using short name
Sep 13 04:25:54 Labradio sendmail[32228]: o8D4Ps3B032228: from=apache, size=702, class=0, nrcpts=1, msgid=28e3ff7992c979165c1f0d817dfb17c8@musiclabradio.com, relay=apache@localhost
Sep 13 04:25:54 Labradio postfix/smtpd[32223]: connect from localhost[127.0.0.1]
Sep 13 04:25:54 Labradio postfix/smtpd[32223]: setting up TLS connection from localhost[127.0.0.1]
Sep 13 04:25:54 Labradio postfix/smtpd[32223]: TLS connection established from localhost[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 13 04:25:54 Labradio sendmail[32228]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 13 04:25:54 Labradio postfix/smtpd[32223]: B54BF1000EB: client=localhost[127.0.0.1], sasl_sender=apache@Labradio
Sep 13 04:25:54 Labradio postfix/cleanup[32226]: B54BF1000EB: message-id=28e3ff7992c979165c1f0d817dfb17c8@musiclabradio.com
Sep 13 04:25:54 Labradio sendmail[32228]: o8D4Ps3B032228: to=lyle@silvergear.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30702, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as B54BF1000EB)
Sep 13 04:25:54 Labradio postfix/qmgr[1354]: B54BF1000EB: from=apache@Labradio.localdomain, size=1093, nrcpt=1 (queue active)
Sep 13 04:25:54 Labradio postfix/smtpd[32223]: disconnect from localhost[127.0.0.1]

I’ve double checked the from address set in joomla’s configuration and I even went as far as to hardcode the from address in the file that does the mail sending and still I always get the same thing.

I guess my question is, how do I change the from address to something other than apache@Labradio.localdomain?

Centos 5.5

When using joomla’s php mail function it was sending the the mail from the <apache user @ servername>
apache@Labradio.localdomain.com

I assume this is because of the ability to set up several virtual domains. Anyways I just switched to joomla’s smtp mail and entered the domains main username and password for authentication and the emails work fine.

Sorry if this was a silly question. This is my first server.