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?

Improve company productivity with a Business Account.Sign Up

x
 
ai_ja_naiConnect With a Mentor Commented:
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
 
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
 
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
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.

All Courses

From novice to tech pro — start learning today.