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

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



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.....

-- 
Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx