1753969 Members
7229 Online
108811 Solutions
New Discussion юеВ

Sendmail and smtp

 
Ken Hubnik_2
Honored Contributor

Sendmail and smtp

How do you route mail in Linux to a smtp gateway on another machine?
3 REPLIES 3
Sachin Patel
Honored Contributor

Re: Sendmail and smtp

Hi Ken,
Can you reach that smtp server?
Does ping work?

If so then edit sendmail.cf file

# "Smart" relay host (may be null)
DSsmtp-mta5

Here smtp-mta5 is my smtp server.

restart sendmail.

try sending mail using -v option so you can see what is happening.

Sachin
Is photography a hobby or another way to spend $
Ken Hubnik_2
Honored Contributor

Re: Sendmail and smtp

I can ping the smtp server. When I go to /etc/mail and list the directory there is no sendmail.cf file but there is a sendmail.mc file. My HPUX systems have a sendmail.cf but this is a LINUX system.
Sachin Patel
Honored Contributor

Re: Sendmail and smtp

Linux has his sendmail.cf file at different place.

on 7.x it is in /etc.

Sachin
Is photography a hobby or another way to spend $