From: Mark H. <ma...@in...> - 2004-10-01 20:02:06
|
Jamie, A couple of additional trials this morning and I found the problem. It was a number of interrelated issues. 1) We do not use anything for common naming conventions across machines here (I.E. NIS or LDAP). SO each machine is pretty much stand alone. 2) Each machine has two interfaces that are configured via the hostname.InterfaceName file with local host file entries. Because we were lazy when we set them up, we used just the short host name and not the fully qualified names in the those files, even though the hosts file has both the short name and the fully qualified name. This resulted in the hostname of the machine being set to the short name and not the fully qualified name (server1 vs. server1.inherent.com) 3) Each local Sendmail was configured for send only and queue cleanup, so was not running in daemon mode to accept local connections. In order to make this work I had to: 1) Change the hostname.InterfaceName so that it used the fully qualified name of the machine, so it would properly set hostname to the fully qualified name. This is required because the code that sends mail constructs the from address as webmin@hostname and the mail hub in the (see #2) needed a fully qualified name that it could validate before it would allow mail to be sent through it as part of our SPAM controls. 2) In the "Module Config" of "Read User Mail" on each machine, I had to set "Send Mail Using" to "SMTP Server" and point it at our central mail hub machine. With this we are now receiving our update reports properly. Thank you for all your help on this! markh =========================================================== Mark A. Holm - Director of Network Engineering & Operations Inherent.com, Inc. 2140 SW Jefferson St. Phone: (503) 224-6751 Suite 200 extension 236 Portland, OR 97201 Fax: (503) 224-8872 <http://www.inherent.com> <mailto:ma...@in...> -----Original Message----- From: Mark Holm [mailto:ma...@in...] Sent: Thursday, September 30, 2004 6:34 PM To: 'Jamie Cameron' Cc: Network Operations Center Subject: RE: [webmin-l] Error message: "No mail program wasfoundonyoursyst em!" on Sol aris and older Linux Jamie, Thanks for keeping with me on this one. I just set it to local host for tonight as you suggested and unchecked the box that said to only send a report if an update happened in the update WebMin module. That should generate a report (or failure) tonight, so we don't have to wait for the next true update. If that one fails, then I'll set it to the centralized mailhub here. markh -----Original Message----- From: Jamie Cameron [mailto:jca...@we...] Sent: Thursday, September 30, 2004 4:07 PM To: ma...@in... Subject: RE: [webmin-l] Error message: "No mail program wasfoundonyoursystem!" on Sol aris and older Linux Try this - go to the Read User Mail module, click on Module Config, and set the 'Send mail using' option to 'localhost' or whatever your SMTP server is. I'd be interested to know if that helps .. - Jamie On Thu, 2004-09-30 at 22:40, Mark A. Holm wrote: > Yes. Only from the cron job, but the error message comes from the update script. > > markh > > -----Original Message----- > From: Jamie Cameron [mailto:jca...@we...] > Sent: Sunday, September 26, 2004 5:12 PM > To: ma...@in... > Subject: RE: [webmin-l] Error message: "No mail program was foundonyoursystem!" on Sol aris and older Linux > > > Just to confirm - you are only getting this message from the Cron job > that checks to see if new versions of Webmin or updates are available? > > - Jamie > > On Sun, 2004-09-26 at 17:26, Mark A. Holm wrote: > > Never tried that, as it's not something we do with this. Found a piece of mail in one of the mailboxes on one of the problem > systems > > and it forwarded just fine. Composed a new message and that also worked. > > > > markh > > > > -----Original Message----- > > From: Jamie Cameron [mailto:jca...@we...] > > Sent: Sunday, September 26, 2004 12:10 AM > > To: ma...@in... > > Subject: RE: [webmin-l] Error message: "No mail program was found onyoursystem!" on Sol aris and older Linux > > > > > > It's an odd bug, as I can't figure out how it could happen.. > > Does the same thing happen if you try to send email using the Read User > > Mail module? > > > > - Jamie > > > > On Sun, 2004-09-26 at 01:20, Mark A. Holm wrote: > > > We are currently running version 1.160. We have been seeing this problem since version 1.140. It's just been an annoyance as I > > could > > > always tell what was being updated from the other Linux boxes that would email me the update status. > > > > > > markh > > > > > > -----Original Message----- > > > From: Jamie Cameron [mailto:jca...@we...] > > > Sent: Tuesday, September 21, 2004 2:20 AM > > > To: ma...@in... > > > Subject: RE: [webmin-l] Error message: "No mail program was found on yoursystem!" on Sol aris and older Linux > > > > > > > > > You can ignore my comment about the status module .. I thought that it > > > was the source of the problem originally. > > > > > > Have you tried upgrading to Webmin 1.160? There have been a few bug > > > fixes in this area since version 1.140 .. > > > > > > - Jamie > > > > > > On Tue, 2004-09-21 at 17:23, Mark A. Holm wrote: > > > > Just checked the configuration of Read User Mail Module and it is configured correctly for Sendmail. Still not finding the > > Status > > > > Module that you referenced initially. > > > > > > > > > > > > markh > > > > > > > > -----Original Message----- > > > > From: Jamie Cameron [mailto:jca...@we...] > > > > Sent: Monday, September 20, 2004 4:23 PM > > > > To: Mark Holm > > > > Subject: RE: [webmin-l] Error message: "No mail program was found on your system!" on Sol aris and older Linux > > > > > > > > > > > > Another thing to check - go to the Read User Mail module, and make sure it is set up to use the correct mail server, which in > > your > > > > case should be Sendmail. You can set this on the Module Config page .. > > > > > > > > - Jamie > > > > > > > > Mark Holm wrote .. > > > > > Jamie, > > > > > > > > > > On the Solaris machines, the Sendmail executable is located in > > > > > /usr/lib/sendmail and is executable appropriately. I don't appear to have > > > > > a > > > > > Status module to configure. Where should I be able to access it from? > > > > > > > > > > Also, these are Solaris 8 not 9. Had 9 on the brain from the RedHat > > > > > machines... > > > > > > > > > > BTW, this is a great program. Thank you for all your work on this! > > > > > > > > > > markh > > > > > > > > > > -----Original Message----- > > > > > From: Jamie Cameron [mailto:jca...@we...] > > > > > Sent: Friday, September 10, 2004 4:00 AM > > > > > To: web...@li... > > > > > Subject: Re: [webmin-l] Error message: "No mail program was found on your > > > > > system!" on Sol aris and older Linux > > > > > > > > > > > > > > > This could happen if neither /usr/lib/sendmail or /usr/sbin/sendmail > > > > > exist on your system. Webmin tries to run one of those to send out > > > > > email, unless the Status module has been configured to send using an > > > > > SMTP server.. > > > > > > > > > > If you have Sendmail installed elsewhere, you should symlink > > > > > /usr/lib/sendmail to the correct location of the sendmail program. > > > > > > > > > > - Jamie > > > > > > > > > > On Fri, 2004-09-10 at 10:05, Mark Holm wrote: > > > > > > Has anybody seen this problem on Solaris 9 or pre RedHat 9 systems > > > > > > configured for native send-only Sendmail, where the update script > > > > > > returns the following error message: "No mail program was found on > > > > > > your system!" ? This has been happening on our systems since version > > > > > > 1.40. I can find where the error message is generated in boxes-lib.pl > > > > > > in the (I am assuming) Sendmail directory in the distribution > > > > > > directory in /usr/local. The reason that I said 'I assume" is that it > > > > > > also exists in each of the other MTA subdirectories in the same named > > > > > > file. Is there something in a configuration screen/file that I am > > > > > > supposed to set that specifies that I am using Sendmail as my MTA? > > > > > > Pre-1.40, this was not a problem. We have even tried removing WebMin > > > > > > completely and doing a scratch installation just to see if it was > > > > > > caused by upgrading, but it made no difference. > > > > > > > > > > > > Any pointers would be greatly appreciated. > > > > > !DSPAM:415cb417156621994216263! |