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>
[184.108.40.206] - first IP of my box
[220.127.116.11] - 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!