LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Sendmail issue! (https://www.linuxquestions.org/questions/linux-server-73/sendmail-issue-660271/)

crash_override_me 08-04-2008 03:58 AM

Sendmail issue!
 
hi all,

i just installed (via apt) sendmail 8.13 on my debian etch. although i am able to connect on the localhost 25. but i can't connect when i supply the global ip or my domain name.

here's wat error i get:
Code:

telnet dspace.ipu.ernet.in 25
Trying 202.x.x.x...
telnet: Unable to connect to remote host: Connection refused

do i need to perform some extra configs after installation before sendmail gets ready for everything..?

Mr. C. 08-04-2008 04:00 AM

Use your LAN IP when you are on the LAN, or localhost, not your WAN IP.

Phil-B 08-04-2008 08:46 AM

Assuming that you want to accept remote SMTP connections and that your linux box has been assigned a routable IP (from your ISP) you should be able to telnet it.

I have not used Debian but your installation may have set up some iptables rules which block access to port 25 from public networks.

Have a look by typing:

iptables -L

If you only want to use it as a local SMTP server for delivering your own email, just use localhost or the LAN IP like Mr. C has said.

Mr. C. 08-04-2008 03:09 PM

Quote:

Originally Posted by Phil-B (Post 3236156)
Assuming that you want to accept remote SMTP connections and that your linux box has been assigned a routable IP (from your ISP) you should be able to telnet it.

If the OP's server is connected to a firewall/router appliance that does not support NAT loopback, only LAN IPs will work.

crash_override_me 08-18-2008 03:16 AM

hi..

sorry for the late reply!
i have checked the iptables rules, & none of them is blocking port 25.
actually, i had setup sendmail on a RHEL system with the same WAN ip & ISP.

also, whenever i boot the system, i get some kind of error messages regarding sendmail. how can i see those messages?


All times are GMT -5. The time now is 12:10 PM.