Sendmail: Domain of sender address does not exist (in reply to MAIL FROM command)

Out website has a registration form which sends a copy of the form submitted to both the registrant and the system admin.

Lately, I have been receiving a number of "Undelivered Mail Returned to Sender" emails including the error below (in code box).

I'm pretty new to Sendmail so what do I need to do to resolve this?


This is the Postfix program at host 112233-www1.web.mydomain.com.
 
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 <postmaster>
 
If you do so, please include this problem report. You can delete your own text from the attached returned message.
 
			The Postfix program
 
<recipient@domain.com>: host domain-smtpin.mail.rr.com[11.22.33.444] said:
    554 5.1.8 - Domain of sender address apache@112233-www1.web.mydomain.com
    does not exist (in reply to MAIL FROM command)

Open in new window

bearclaws75Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ai_ja_naiCommented:
it can be the mail inserted is a fake
0
bearclaws75Author Commented:
Well...the error message says "Domain of SENDER address" and the "sender" is my server.

This is the email referenced: "apache@112233-www1.web.mydomain.com" (FYI - I've changed the domain for privacy purposes here).

"112233-www1.web.mydomain.com" is HOSTNAME of this server.

So maybe the problem is that there isn't an "apache@112233-www1.web.mydomain.com" email alias? I don't see that listed anywhere in "/etc/aliases".

Any ideas?
0
ai_ja_naiCommented:
That mail address in generated on the fly. The request in started by the webserver, apache user, at the host 112233etcetc.. so its apache@blablabla.
Of course that mailbox doesn't exist. Is that a problem for you? Since the important thing is to send mails to the admin and to the user that submitted the form
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bearclaws75Author Commented:
ai_ja_nai -

I'm not sure that the mailbox is the problem. It seems like the domain is the problem:

*Domain of sender address* apache@112233-www1.web.mydomain.com does not exist (in reply to MAIL FROM command)


0
bearclaws75Author Commented:
Solved. The mail that was being sent to the admin was using an invalid address. I added an alias to an existing address and everything is now working.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.