Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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..?
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.