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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SENDMAIL CONFIG ASSISTANCE

Status
Not open for further replies.

mezanine

IS-IT--Management
Jul 27, 2001
61
0
0
US
I am trying to configure sendmail so that I am able to send e-mail to individuals on the internet. My SCO 5.0.6 box is not on the internet and is only addressable on my local LAN. All of the local PC's on the network use POP3 servers provided by my ISP for sending and retrieving mail. Will I have to use my local ISP Servers in configuring sendmail or can I go without? Any help is greatly appreciated.
 
Just type mkdev cf and try setting your ISP's SMTP gateway as the 'smart' mailhost. Annihilannic.
 
This is how I currently have it configured.


Sendmail configuration information...

Machine name: triangle.com
DOMAIN name:
UUCP connections: NOT SET
Alternate names: triangle
Connect to uunet via UUCP? n
Is there a UUCP gateway on the net? n
Is there a smart mailhost on the net? 192.168.100.159
Use NIS aliases with sendmail? NOT SET
Gateway for non-local X.400 mail? NOT SET
Aliases for X.400 gateway? NOT SET
Is this host on the Internet? n
 
I got the following error messages when attempting to send an e-mail out:
550 5.1.2 jcmacdonald@email.com... Host unknown (Name server: 192.168.100.1
59: host not found)

I have added 192.168.100.159 to /etc/hosts

Any suggestions???
Thanks
 
Since you've already put 192.168.100.159 in /etc/hosts, you can change your info in mkdev cf to whatever symbolic name you put with that ip address in /etc/hosts (like smart.triangle.com or whatever).

Otherwise if you want to use the ip you'll need to enclose it in square brackets, ie: [192.168.100.159]
 
I am still having problems with this. I am sending mail out however the mail is not reaching its destination and I am not getting any errors bounced back.

The only thing I am trying to accomplish here is to be able to send mail sraight out, FROM the SCO Box. Any help is much appreciated.



Sendmail configuration information...

Machine name: triangle.services.com
DOMAIN name: services.com
UUCP connections: NOT SET
Alternate names: triangle
Connect to uunet via UUCP? n
Is there a UUCP gateway on the net? n
Is there a smart mailhost on the net? mail
Use NIS aliases with sendmail? NOT SET
Gateway for non-local X.400 mail? NOT SET
Aliases for X.400 gateway? NOT SET
Is this host on the Internet? n
 
Try editing your /etc/resolv.conf
and make sure you have

nameserver 192.168.100.59

I would put this a top on the list.

Once done, then run

/etc/init.d/sendmail stop
/etc/init.d/sendmail start

Make sure sendmail daemon is running

ps -ef |grep sendmail

Test, should be OK!

If not, just make sure that /usr/lib/sendmail.cf
has right smart host in it - Look for DS macro.

If you edit sendmail.cf, stop/start sendmail and
test again!!!

Good luck!


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top