[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Mailscanner and Sendmail "conflicting"



Hi,

I copied MailScanner init script to sendmail and added a virtual site to the 
domain.
However it looks like the cobalt is doing a killall -9 sendmail

I configured this by watching my mail logs, As soon as the site got created, I 
couldnt see any MailScanner in my mail logs.
I had to manually restart MailScanner then to get it to work.

Any ideas on anyone who tested this out on what I may be doing wrong...

Also When the site got created I got this error (SIGHUP) after which 
MailScanner stopped showing in my logs.
I dont know if this is of any relevance,but I noticed that the aliases 
database was rebuilt before and after this SIGHUP
---------------------------
Aug 30 15:46:13 leo sendmail[11380]: alias database 
/etc/mail/aliases.majordomo rebuilt by root

Aug 30 15:46:16 leo MailScanner[8363]: MailScanner child caught a SIGHUP
Aug 30 15:46:16 leo MailScanner[8319]: MailScanner child caught a SIGHUP
Aug 30 15:46:16 leo MailScanner[8407]: MailScanner child caught a SIGHUP
Aug 30 15:46:16 leo MailScanner[8268]: MailScanner child caught a SIGHUP
Aug 30 15:46:16 leo MailScanner[8253]: MailScanner child caught a SIGHUP

Aug 30 15:46:21 leo sendmail[11490]: alias database /etc/mail/aliases rebuilt 
by root
---------------------------

Regards,
Keith


> On Wednesday 27 August 2003 20:51, Gerald Waugh wrote:
> > On Wed, 27 Aug 2003, Pizza Box manager wrote:
> > > >On Wed, 27 Aug 2003, Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
> > > > wrote: Tip from Brian at nuonce.net, copy Mailscanner to Sendmail in
> > > >/etc/rc.d/init.d/
> > > >Save your sendmail init script first!
> > > >That way when the GUI restarts sendmail, it is really restarting
> > > >Mailscanner
> > >
> > > Sounds like a wonderful idea, this is what I intended but didn't know
> > > how to do ;-)
> > > Just to make sure I won't wreck the box, can you confirm this is about
> > > (backing up first, obviously !), copying the Mailscanner file found in
> > > /etc/rc.d/init.d/ and saving it under the name sendmail in that same
> > > dir ? Won't it wreck anything else ? What if a process really needs to
> > > call sendmail, not Mailscanner, won't that cause some harm ?
> > > thanks for the help,
> >
> > I think Bruce Timberlake confirmed my answer to your question
> >
> > Gerald
>
> Actually, this is a _much_ better way of doing it since once mailscanner is
> loaded on a system the "sendmail" process is divided into two parts -
> sending and receiving.  If you (accidently or otherwise) call the
> "original" sendmail, it will only start as a single daemon process and no
> mail will be scanned, virus checked or anything else (EG: if you use the
> RBL feature in mailscanner it just went away also)....
>
> Copying the init.d/mailscanner script to init.d/sendmail makes sure that
> pretty much all processes (such as the GUI) that start and stop sendmail
> will do it based on how you have the system configured (mailscanner) vice
> the original cobalt way.....