Hi all. I've run into a problem with Sendmail on my 6.3 box. The box won't let me telnet into port 25 from any other box. I don't know if this is a Sendmail problem, or something else. I can telnet in normally, but if I
try
port 25 from anywhere else it gets a connection refused. The Sendmail daemon is running, it reports that it is accepting connections on port 25. I've uncomments the like from the inetd.conf to allow it to be run there. Does anyone have any idea what else to try?
Thanks, Lee
Do you have it running under tcp wrappers? You might want to consider running it as a stand alone daemon, this way it doesn't have to keep respawning for each email that is coming in. The bad thing about running it as a stand alone daemon means that anyone can connection to your mail server (but not nessically relay though it), but has better performance. http://www.sendmail.org/faq/section2.html#2.15 If you only want certain hosts to connection, try something like this in "/etc/hosts.allow" (this is with sendmail running from inetd with tcpwrappers) # Internal Network can Connect to sendmail sendmail:192.168.17. # Other trusted host that can connection to sendmail sendmail:trusted.secure.com and in "/etc/hosts.deny" have something like this: # Deny all other connections to sendmail by default sendmail:ALL But if you do this and someone from outside of this (say hotmail.com for example) won't be able to pass you email. So if bob@hotmail.com sends email to you@yourmailserver.com they will get an error saying it couldn't connect or send mail to that server. In the config above, this is most likely be used as an "internal mail server" where people can pass email on the LAN. Also since you are running 6.3, I would recommened that you upgrade to the lastest version of Sendmail (8.11.0 IIRC) and also the lastest 2.2.16 kernel for security reasons. Also after you setup you probably will need this: http://www.sendmail.org/faq/section3.html#3.27 Jack -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq