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=<[email protected]>, relay=apache@localhost Apr 7 15:15:11 jupiter sendmail[12011]: k376EuTn012011: from=<[email protected]>, size=7 60, class=0, nrcpts=2, msgid=<[email protected]>, proto=ESMTP, daemo n=MTA, relay=jupiter.abc.co.jp [127.0.0.1] Apr 7 15:15:11 jupiter sendmail[12010]: k376EuEu012010: [email protected] 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=<[email protected]>, ctladdr= <[email protected]> (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
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
Is 66.132.181.22 your router's public IP address? 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.