LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sendmail smtp local domains issue (https://www.linuxquestions.org/questions/linux-newbie-8/sendmail-smtp-local-domains-issue-861503/)

jer2 02-08-2011 05:42 PM

sendmail smtp local domains issue
 
Hi guys!

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:

Code:

sendmail -bt
Enter <ruleset> <address>
> $=w
[1.2.3.4] - first IP of my box
[1.2.3.5] - another one
localhost.localdomain
localhost
thatdomain.tld
[localhost.localdomain]
[127.0.0.1]
[thatdomain.tld]

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!

jer2 02-09-2011 11:24 AM

SOLVED:

If someone runs into same problem, disable interface probing
http://www.sendmail.org/m4/tweaking_...OBE_INTERFACES


All times are GMT -5. The time now is 03:07 AM.