LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2011, 05:42 PM   #1
jer2
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Question 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!
 
Old 02-09-2011, 11:24 AM   #2
jer2
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
SOLVED:

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using /usr/sbin/sendmail to deliver message to local SMTP server enmingteo Linux - Server 9 05-07-2009 10:55 AM
smtp auth with sendmail through smtp.sbcglobal.yahoo.com woodson2 Fedora 0 10-23-2008 02:55 PM
How allow external access to local services (smtp-sendmail-syslog) Marv Bon *BSD 3 08-24-2007 11:45 AM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM
THUNDERBIRD / local smtp server issue treebug Linux - Software 1 01-25-2006 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration