Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail out of the box... not sending.

Status
Not open for further replies.

bash3r

Technical User
Oct 13, 2001
46
US
Ok. I have a BSD box that has a static REAL IP and I am able to send mail to external addresses successfully.

Now I have another BSD box that is internal PRIVATE IP that I need to send email to external addresses. How do I configure Sendmail to do so? I had it set to "send mail via host" and added one of my email servers, which it did work for some time and now it doesnt. BUT shouldn't I be able to send mail directly or do I have to pass thru another MTA.
 
Im getting messages in my maillog like this:

Jul 21 16:47:50 sd-wb02 sendmail[62139]: h6LLloO0062139: from=basher, size=38, class=0, nrcpts=1, msgid=<200307212147.h6LLloO O0062139@sd-wb02.domain.com>, relay=root@localhost

Jul 21 16:47:50 sd-wb02 sendmail[62139]: h6LLloO0062139: to=bill@basher.net, ctladdr=basher (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30038,relay=00:00:00, mailer=relay, pri=30038, relay=localhost.domain.com., dsn=4.0.0, stat=Deferred: Operation timed out with localhost.domain.com.

any ideas ??
 
Hi,

What you could do, set &quot;smart host&quot; on internal smtp as your primary mail server which has real ip. With this setting, all your mail will be sent to primary smtp. And primary smtp will look after the sending.

If you dont want to do that, I wonder if your internal smtp has connection to outside world.

feroz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top