Sendmail "local domain" problem
I have a website on a dedicated box, call it mydomain.com. I have sendmail set up to send all mail @mydomain to my linux account "rotwang" on the same machine. That all works fine.The site has a web form for users to send customer service emails. The webform is a php script that sends emails, via sendmail, to webaster@mydomain.com.
The problem is, emails sent via that form fail to be delivered. It's not a php problem- The messages bounce to root as delivery failure ntoices, complaining that there is no user by the name of "webmaster". In other words, it's not doing the catchall and is looking for the "anything@" as literal local users on the machine.
In my send mail configs I have mydomain.com listed as a local domain ("Local Domains (Cw)").
I know what is going wrong but I don't know how to fix it. Please help. I'm very technical I can follow along your instructions.