1836430 Members
2639 Online
110100 Solutions
New Discussion

Re: Sendmail using SMTP

 
Bernard  Bravo
Advisor

Sendmail using SMTP

Hi,

What could be the problem on my setup...I was able to send mail within the server but I cant send it outside...
below are the messages...

#sendmail -v jag@localhost.globetel.com.ph

TESTING

jag@localhost.globetel.com.ph... Connecting to srgt001.globetel.com.ph. via smtpr...

Deferred: Connection timed out with srgt001jag@localhost.globetel.com.ph... Deferred: Connection timed out wit


HOPE SOMEBODY could help me...

thanks in advance..

bernard

Do good, Look Good, Feel Good
6 REPLIES 6
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail using SMTP

Hi,

Is this server setup with DNS..??
Check DNS configuration, /etc/nsswitch.conf and check resolve.conf.

In senmdial.cf what is DS flag is set for..?
DS is the smarthost where you can send all the external mails to a your mail server.

Good luck

-USA..
Good Luck..
Bernard  Bravo
Advisor

Re: Sendmail using SMTP

Hi,

Nope its not configured as DNS...

I configure it using BIND as Client of a BIND Server...

thanks.
Do good, Look Good, Feel Good
Wodisch
Honored Contributor

Re: Sendmail using SMTP

Hello Bernard,

do you really have an DNS entry for "localhost"???
And it should be an "MX" entry, too!
And that DNS-server must be used by the receiving station, too (or at least get the same MX-record from the DNS-server it is using).

Just my $0.02,
Wodisch
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail using SMTP

Hi,
OK.. Do you have DNS Server..??
IF yes get a MX entry for your this server
-USA...
Good Luck..
David Lodge
Trusted Contributor

Re: Sendmail using SMTP

Is the SMTP server running on the gateway machine? ie can you do a:

telnet srgt001.globetel.com.ph 25

Is it behind a firewall, can you ping it?

Kevin Wright
Honored Contributor

Re: Sendmail using SMTP

You seriously have a host named localhost? I doubt it. try to nslookup that host name and I bet it fails.