smtp problem in Sendmail

Taking care of your Linux box.
Post Reply
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

smtp problem in Sendmail

Post by kashif »

Asslam 0 alikum!
Dear friends I made Redhat 7.2 mail server.

when i send and recieve mail from server it works fine.

But when i connect for client(outlook express) Mail recieves properly

but i am unable to sendmail from clients.
it give following eror message.





The connection to the server has failed. Account: 'Sendmail', Server:

'192.168.0.1', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error:

10061, Error Number: 0x800CCC0E






More over when I try to telnet server from client at port 25(SMTP)
it does not telnet the sever.

Allah Hafiz
zaeemarshad
Lieutenant Colonel
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Location: Islamabad
Contact:

Post by zaeemarshad »

this problem is caused by a line in your sendmail.mc that tells the sendmail server to listen only on the local host for smtp. i dont exactly remember that line but you will find this one as it contains 127.0.0.1 in it and probably localhost too if i remember correctly. Simply delete it or add dnl before it and then remake your sendmail.cf and this will work fine. better search the forum as i posted this somewhere else too.

Regards
Zaeem Arshad
kernel-trap
Havaldaar
Posts: 105
Joined: Thu Dec 25, 2003 2:31 pm

Post by kernel-trap »

Yes he is right

aslo dont forget to put yr clients ip range in /etc/mail/access

and after that

makemap hash /etc/mai/access < /etc/mail/access
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

problem with two sendmail Servers

Post by kashif »

Asslam 0 alaikum

Sir Thanks all for giving me vauluable informations.

Now sir new problem arise.

I have configured one mail server properly.
and getting and sending mail from client computers properly.

Now I have configured TWO sendmail server.

Now when I send mail from clinet of one mail server(tahir.com) to the client of other mail server(ali.com) it does not recieve .
/var/log/maillog gives the following info





[root@Redhat root]# cat /var/log/maillog |grep queued
Dec 25 18:53:10 Redhat sendmail[1186]: hBPNqU501186: to=info@ali.com, delay=00:00:40, mailer=esmtp, pri=33, dsn=4.4.3, stat=queued



Please help me
Allah Hafiz
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Tahir,
Salam,

I think you must read the Sendmail FAQ also Check out Server Resources

Best Regards.
Farrukh Ahmed
zaeemarshad
Lieutenant Colonel
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Location: Islamabad
Contact:

Post by zaeemarshad »

have u configured dns for both domains. the dns server should be same or atleast both servers should know of the multiple dns servers if u have any. check ur access file for blocks.

regards
zaeem
kernel-trap
Havaldaar
Posts: 105
Joined: Thu Dec 25, 2003 2:31 pm

Post by kernel-trap »

Yes check your both machines dns entries . aslo verify there have route to access each other

are you facing problem when only that domain our all domain try send and receiving mail from hotmail etc

is there any error message you got when u try to send mail .

Regards

KT
Post Reply