From: Jamie C. <jca...@we...> - 2003-10-26 23:07:25
|
To change the SMTP server that Usermin sends mail via, you can do the following : - Login to Webmin, and go to the Usermin Configuration module. - Click on Usermin Module Configuration. - Click on Read Mail. - Change the 'Send mail via connection to' field to your system's ethernet IP address (or the hostname of some other SMTP server). - Jamie RAHUL T. KARTHA wrote: > 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. |