MailScanner on boot

Information Services lbcadmin at gmail.com
Fri Oct 7 20:16:04 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Yes I do run webmin....I guess I didn't add that to the list of programs
loaded.  You will need to educate me on what I should be looking for
here.

On 10/7/05, Dennis Willson <taz at taz-mania.com> wrote:
      You don't happen to run Webmin do you? There's a feature to
      restart services if they die.

      Information Services wrote:
      > Julian,
      >
      > I see what you are saying, and I gave it a try, and for
      some reason
      > MailScanner starts on it's own.  Thinking about what I have
      running on
      > my system:
      >
      > MailWatch
      > RDJ
      > Spamassassin
      > sendmail
      >
      > I realized that I had made a config change in
      /etc/rulesdujour/config
      > and added
      > SA_RESTART="/etc/init.d/MailScanner restart";
      >
      > I changed this line to "/root/do_nothing.sh";  and then
      turned off
      > MailScanner with 'service MailScanner stop'....rebooted, I
      have looked
      > into all my cron jobs, and there is nothing that I can see
      in cron that
      > would specify MailScanner.  I am not sure what else to
      check.   About
      > one minute after a reboot MailScanner starts
      automatically.  What am I
      > missing here?
      >
      > On 10/7/05, *Julian Field* <MailScanner at ecs.soton.ac.uk
      > <mailto:MailScanner at ecs.soton.ac.uk >> wrote:
      >
      >     It's a bit more intelligent than that.
      >
      >     If you do a "service MailScanner stop" it creates a
      lockfile in
      >     /var/lock/subsys/MailScanner.off. When the hourly cron
      job runs, it
      >     detects the presence of this file and doesn't then
      start up
      >     MailScanner.
      >
      >     So all you need to do is a "service MailScanner stop"
      and it will
      >     stay stopped. No need to mess around with the cron jobs
      at all.
      >
      >     On 7 Oct 2005, at 15:45, Information Services wrote:
      >
      >>     Okay,  I did the 'chkconfig --list MailScanner' and
      saw the
      >>     different run levels turned on.  So yes, I can see
      that
      >>     'mailscanner' is not the way to go.  I ran 'chkconfig
      --levels
      >>     0123456 MailScanner off' and rebooted.  Still the same
      problem.
      >>     Denis, I didn't even thought about the cron.hourly job
      for
      >>     check_MailScanner.  I removed this from the
      cron.hourly, and
      >>     rebooted....currently wait for system to
      reboot.......okay
      >>     rebooted now.
      >>
      >>     Looks like removing the check_MailScanner from the
      cron.hourly
      >>     fixed it.  now when I do a 'service MailScanner
      status' I get an
      >>     error for sendmail.in.pid and sendmail.out.pid.  This
      would be
      >>     expected.  now when I decide to use MailScanner on
      this system, I
      >>     just need to remember to add  check_MailScanner back
      into cron.hourly.
      >>
      >>     Nate, thanks for clearing up difference between
      "MailScanner" and
      >>     "mailscanner," this could have continued to haunt me
      in other
      >>     situations.
      >>
      >>     Casey
      >>
      >>     On 10/7/05, *Denis Beauchemin* <
      Denis.Beauchemin at usherbrooke.ca
      >>     <mailto: Denis.Beauchemin at usherbrooke.ca>> wrote:
      >>
      >>         Information Services wrote:
      >>
      >>> I have a CentOS 4.1 system with MailScanner loaded for
      the
      >>         possibility
      >>> of using in one or our remote locations.  I have gone
      into
      >>         the GUI
      >>> services and took the check out of MailScanner and
      Sendmail
      >>         to startup
      >>> at boot, but that did not seem to keep MailScanner from
      >>         starting on a
      >>> boot.  I did a chkconfig and turned off all mailscanner
      >>         levels, and I
      >>> must not understand the purpose of chkconfig, but once
      again
      >>> Mailscanner has decided to when the system is
      booted.  What
      >>         can I do
      >>> to keep MailScanner from running when the system is
      rebooted?**
      >>
      >>         Maybe /etc/cron.hourly/check_MailScanner is
      restarting it?
      >>
      >>         OTOH, are you sure MS is completely disabled?  Do
      "chkconfig
      >>         --list
      >>         MailScanner" and make sure it is off in all run
      levels.
      >
      >
      >     --
      >     Julian Field
      >     www.MailScanner.info <http://www.MailScanner.info>
      >     Buy the MailScanner book at www.MailScanner.info/store
      >     <http://www.MailScanner.info/store>
      >     PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947
      1415 B654
      >
      >
      >     --
      >     This message has been scanned for viruses and
      >     dangerous content by *MailScanner*
      <http://www.mailscanner.info/>,
      >     and is
      >     believed to be clean.
      >
      >
      >
      > ------------------------ MailScanner list
      ------------------------
      > To unsubscribe, email jiscmail at jiscmail.ac.uk with the
      words:
      > 'leave mailscanner' in the body of the email.
      > Before posting, read the Wiki
      (http://wiki.mailscanner.info/)
      > and the archives (
      http://www.jiscmail.ac.uk/lists/mailscanner.html).
      >
      > *Support MailScanner development - buy the book off the
      website!*

      ------------------------ MailScanner list
      ------------------------
      To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
      'leave mailscanner' in the body of the email.
      Before posting, read the Wiki (http://wiki.mailscanner.info/
      ) and
      the archives
      (http://www.jiscmail.ac.uk/lists/mailscanner.html).

      Support MailScanner development - buy the book off the
      website!



------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list