From: RAHUL T. K. <rt...@nc...> - 2003-10-26 07:41:19
|
Hi Andrew Let me rather reframe my question what I meant to say is that it is only listening on the interface specified that is eth0 in my case but when I try sending a mail through usermin it usermin tries to relay through local host 127.0.0.1 which is denied what I want to know is how do I specify in usermin as to what host should it relay through Regards ------------------------------------ NCCAARSLEFF J V Tz RAHUL T. KARTHA IT Coordinator rt...@nc... rt...@ul... rt...@ir... PoBox 252 Morogoro Tanzania tel: +255748676713 mobile: +255748676713 ------------------------------------ -----Original Message----- From: web...@li... [mailto:web...@li...] On Behalf Of Andrew Mathews Sent: Saturday, October 25, 2003 19:13 To: web...@li... Subject: Re: [webmin-l] (no subject) -----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----- ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ - Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |