On Tue, Nov 19, 2002 at 12:00:59PM +0530, Rajesh K.R. wrote: > Sorry if this question has been asked before.
This is an M-FAQ of sendmail on RedHat (Most FAQ :). Check www.sendmail.org. > I am trying to setup sendmail on RedHat 8.0 server. now the 'sendmail' > service is running. but when I try to send mail from a client machine, the > following error message comes: > Connect to 172.21.0.12: Connection refused. > Even when I try to telnet 172.21.0.12 25, the same error message comes. You have to edit your /etc/mail/sendmail.mc file. This patch will help: --- sendmail.mc.old 2002-11-19 12:15:45.000000000 +0530 +++ sendmail.mc 2002-11-19 12:15:55.000000000 +0530 @@ -49,7 +49,7 @@ dnl This changes sendmail to only listen on the loopback device 127.0.0.1 dnl and not on any other network devices. Comment this out if you want dnl to accept email over the network. -DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') +dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') dnl NOTE: binding both IPv4 and IPv6 daemon to the same port requires dnl a kernel patch dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6') Apply it (pipe this mail to cd /etc/mail; patch -p0), and then run make -C /etc/mail; /sbin/service sendmail reload Binand -- If you found this helpful, please take some time off to rate it: http://svcs.affero.net/rm.php?r=binand ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
