From: Andrew M. <and...@li...> - 2003-10-25 16:17:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 RAHUL T. KARTHA wrote: | Hi list | | | There I go again I know this is might be a very dump question to every | one but it beets me now so got to ask | | | Ok primarly I had a redhat7.3 box doing sendmail with webmin installed | no problems only one that the var dir use to get filledup very | frequently and every thing use to jam up so I made a quantum leap Was it filling you spool or queue directory? | Got a new server with redhat9 with 80gb hdd with the same stuff like | send mail and webmin and usermin ubt this time it seems to have a | problem relaing mail through webmin or usermin it by default tries to | relay through localhost and it gets kicked by sendmail any body help | !!!!!!!!!! [...] It's not really a webmin issue. It's a sendmail configuration problem. First, check and make sure that sendmail is only listening for connections from localhost by doing "netstat -an | grep LISTEN | grep 25" and you should see something like: tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN Webmin can be a good tool to help you make the necessary change though. Log in to the box through webmin, Click on Servers -> Sendmail Configuration -> Sendmail M4 Configuration and find the line that says "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')". Click on the "Other" entry type that is at the beginning of the line and change the 127.0.0.1 to either 0.0.0.0 to listen on all interfaces, or put the primary interface address you want it listening on. Click "Save", then "Rebuild Sendmail Configuration" at the bottom of the page, then "Yes, Replace it Now" to put the new config file in place. Now check it with the above netstat command and you should see: tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN Sendmail is now happily accepting connections through the system's other interfaces, not just localhost. HTH, - -- Andrew Mathews - --------------------------------------------------------------------- ~ 9:50am up 24 days, 13:48, 11 users, load average: 1.10, 1.22, 1.23 - --------------------------------------------------------------------- A consultant is a person who borrows your watch, tells you what time it is, pockets the watch, and sends you a bill for it. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org iD8DBQE/mqD7idHQ0m/kEssRAm4RAJwKjAadWDjmWqdLhRSQTp/joK4w2ACfUpDG DaBUv2VhYDzkUxwutVWdte8= =HvAG -----END PGP SIGNATURE----- |