HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Not able to send/Receive mail in local network (http://www.howtoforge.com/forums/showthread.php?t=3650)

mskumar_y2k 12th April 2006 08:02

Not able to send/Receive mail in local network
 
Hi there,

I have a small network with 10 clients and 3 servers ( assume s1,s2 and s3 )
All the clients are windows XP and the Servers are RHEL.
I configured sendmail in one of the server (s3) with RHEL 4.0.
It is working fine. Now i can able to send mails to my domain.

So, i created many mail users and we are using that now. All the windows clients can able to send and receive mails from outlook express.

we have one more office in another country.
There also mail is working fine.

The problem is ,
when we try to send mail from any linux machine ( such as s1,s2 ) it is giving error...

The error log is as below.........

__________________________________________________ ______________
Apr 7 15:14:56 jupiter sendmail[12010]: k376EuEu012010: from=apache, size=525, class=0, nrcpts=2, m
sgid=<200604070614.k376EuEu012010@jupiter.abc.co.j p>, relay=apache@localhost

Apr 7 15:15:11 jupiter sendmail[12011]: k376EuTn012011: from=<apache@jupiter.abc.co.jp>, size=7
60, class=0, nrcpts=2, msgid=<200604070614.k376EuEu012010@jupiter.abc.co. jp>, proto=ESMTP, daemo
n=MTA, relay=jupiter.abc.co.jp [127.0.0.1]

Apr 7 15:15:11 jupiter sendmail[12010]: k376EuEu012010: to=senthilkumar.m@abc.co.in ctladdr=apache (48/48), delay=00:00:15, xdelay=00:00:15, mailer=relay, pri=60525, relay=[1
27.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k376EuTn012011 Message accepted for delivery)

Apr 7 15:15:11 jupiter sendmail[12017]: k376EuTn012011: to=<senthilkumar.m@abc.co.in>, ctladdr=
<apache@jupiter.abc.co.jp> (48/48), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=150760, r
elay=[xxx.xxx.xxx.x], dsn=4.0.0, stat=Deferred: Connection refu
sed by xxx.xxx.xxx.x
__________________________________________________ ______________

the xxx.xxx.xxx.x is our router ip which is configured for mail server domain abc.co.in.

jupiter is s2
abc.co.in mail is configured in s3.


Can u please tell me why i am not able to send mail from my local linux machine...

any suggestion please...?


Thanks,
senthil

falko 12th April 2006 11:00

Quote:

Originally Posted by mskumar_y2k
the xxx.xxx.xxx.x is our router ip which is configured for mail server domain abc.co.in.

Does your router run a mail server?

mskumar_y2k 12th April 2006 13:38

Not able to send/Receive mail in local network
 
Quote:

Originally Posted by falko
Does your router run a mail server?

No, router ip ix xxx.xxx.xxx.x to acess the mail server from external network
Mail server ip is 192.168.0.16 locally

we forwarded mail related ports from xxx.xxx.xxx.x to 192.168.0.16

from s2 ( jupiter ) - system in local network
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[nsi@jupiter ~]$ telnet mail.abc.co.in 25
Trying 192.168.0.16...
Connected to mail.abc.co.in.
Escape character is '^]'.
220 mail.sysveda.co.in ESMTP Sendmail 8.13.1/8.13.1; Wed, 12 Apr 2006
17:14:26 +0900
quit
221 2.0.0 mail.abc.co.in closing connection
Connection closed by foreign host.


other system from internet from internet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[senthil@PHOEBE ~]$ telnet mail.abc.co.in 25
Trying xxx.xxx.xxx.x...
Connected to (xxx.xxx.xxx.x).
Escape character is '^]'.
220 mail.abc.co.in ESMTP Sendmail 8.13.1/8.13.1; Wed, 12 Apr 2006
17:16:58 +0900
quit
221 2.0.0 mail.abc.co.in closing connection
Connection closed by foreign host.


Thanks,
senthil

falko 12th April 2006 23:37

Is 66.132.181.22 your router's public IP address?

Quote:

No, router ip ix xxx.xxx.xxx.x to acess the mail server from external network
I guess you somehow configured Sendmail to relay mails through your router which cannot work if your router doesn't use a mail server. Use another mail server instead.


All times are GMT +2. The time now is 13:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.