FreeBSD and MailScanner --lint

Glenn Steen glenn.steen at gmail.com
Wed Aug 8 14:05:41 IST 2007


On 08/08/07, Glenn Steen <glenn.steen at gmail.com> wrote:
> On 08/08/07, Mikael Syska <mikael at syska.dk> wrote:
> > Hi,
> >
> > Dont knwo if this is intended to be so, but here goes ....
> >
> > root [/usr/local/etc/MailScanner]# /usr/local/etc/rc.d/mailscanner restart
> > Stopping mailscanner.
> > Waiting for PIDS: 778, 778.
> > Starting mailscanner.
> >
> > root [/usr/local/etc/MailScanner]# cat /var/run/MailScanner.pid
> > 3229
> >
> > Then running running, with MailScanner still running:
> > #MailScanner --lint
> >
> > Its overwriting:
> > root [/usr/local/etc/MailScanner]# cat /var/run/MailScanner.pid ( yes,
> > it writes MailScanner in the pid file )
> > MailScanner
> >
> > Is this the way its supposed to be or ? I just noticed this today ...
> >
> Very likely not.
>
> I just verified that it does this on Mandriva with the rpm install
> method (and hence likely on any rpm-based system, perhaps barring
> SuSE...).
>
> Will have a look.
>
> Cheers

Looking at that init script... it just seems to be set there, never
really used... Perhaps check_MailScanner uses it, will look further...
Nope, not that I can easily grep/see at a cashual glance. So it should
be safe... One can wonder what good it does, setting/managing at
all:-).

I noticed one thing though... When stopping MailScanner, one process
hangs around a _long_ while, claiming to be "compressing
attachments"...:
# ps -ef|grep MailScanner
postfix  31370     1  1 14:52 ?        00:00:05 MailScanner:
compressing attachments
root     31760  8403  0 15:00 pts/0    00:00:00 grep --color MailScanner

But I have:
Zip Attachments = no
... Or is this perhaps the tnef repackaging? 'Cause I do use that...
Sorry for the semi-hijack of your thread Mikael, hope you don't mind:).

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list