I think this problem is kind of common ones, but search showed nothing...
I have a debian box as a web-server. And when php script sends mail to a domain, that hosted on this server (I mean site with that domain name), sendmail tries to receive mail, ending up with "dsn=5.1.1, stat=User unknown" in log.
I've found that one of IPs of my box resolves to that domain, and sendmail -bt showed:
Enter <ruleset> <address>
[18.104.22.168] - first IP of my box
[22.214.171.124] - another one
So the question is: I don't need a web-server to receive any mail, that is done on other box. How can I make sendmail to relay everything?
Thnx in advance!