-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At some point hitherto, Peter Lee hath spake thusly: > Hi all, > I just trying to setup sendmail in my linux box. I try to from other > system and have 'Refused connection from the hosts' Recent Red Hat sendmail rpms come configured to only bind to localhost, which is why it works if you telnet from localhost. It does not listen on any external interfaces. If you look in /etc/mail/sendmail.mc, you'll find this: 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') insert 'dnl' infront of that last line, and then run the following commands (as root): cp /etc/sendmail.cf /etc/sendmail.cf.bak m4 /etc/mail/sendmail.mc > /etc/sendmail.cf /etc/init.d/sendmail restart Your problem should be solved. - -- Derek Martin ddm@pizzashack.org - --------------------------------------------- I prefer mail encrypted with PGP/GPG! GnuPG Key ID: 0x81CFE75D Retrieve my public key at http://pgp.mit.edu Learn more about it at http://www.gnupg.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8rPq9djdlQoHP510RAmOpAKCktpC2dencuNFTbJYtL4u0Zas38ACeL2Kr p0mU9EoUUfuZozH/eSpdUsk= =0oLo -----END PGP SIGNATURE-----