v4 boot script and other questions
Jeff A. Earickson
jaearick at COLBY.EDU
Thu Nov 21 21:27:22 GMT 2002
Hi,
I'm experimenting with the upgrade from v3 to v4. First off,
is there a boot-time /etc/init.d script for MailScanner v4 already?
Or just invoke "/opt/MailScanner/bin/check_mailscanner" from my
v3-era boot-script?
Second, I'm wondering about weirdness when I run the sendmail
queue by hand with v4. With v3, I used:
Delivery Method = queue
instead of batch. My boot-time script for sendmail looks like:
#---delivery-only mode for mailscanner
/usr/lib/sendmail -bd -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in
#---process /var/spool/mqueue every 5 minutes for actual delivery
/usr/lib/sendmail -q5m
For v4, I commented out the "-q5m" line in my sendmail boot script,
and used "Delivery Method = batch". If I process /var/spool/mqueue
by hand, ie "/usr/lib/sendmail -v -q", then I get complaints in
the window where I did "/opt/MailScanner/bin/check_mailscanner" from,
which doesn't look good:
Cannot create + lock headers file /var/spool/MailScanner/incoming/14521/gALLA6xo015767.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot create + lock headers file /var/spool/MailScanner/incoming/14978/gALLA6xo015767.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot create + lock headers file /var/spool/MailScanner/incoming/14616/gALLA6xo015771.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot chdir for rules checking, No such file or directory at /opt/MailScanner/bin/MailScanner/SweepOther.pm line 83.
Cannot create + lock headers file /var/spool/MailScanner/incoming/14811/gALL9sxo015709.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot create + lock headers file /var/spool/MailScanner/incoming/14479/gALL9sxo015709.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot create + lock headers file /var/spool/MailScanner/incoming/14908/gALL9sxo015709.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot mkdir /var/spool/MailScanner/incoming/15112/gALLA7xo015773, No such file or directory at /opt/MailScanner/bin/MailScanner/WorkArea.pm line 90
Cannot create + lock headers file /var/spool/MailScanner/incoming/15045/gALLA6xo015767.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot create + lock headers file /var/spool/MailScanner/incoming/14673/gALL9sxo015709.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
We haven't got any child processes, which isn't right!, No child processes at /opt/MailScanner/bin/mailscanner line 191.
We have just tried to reap a process which wasn't one of ours!, No child processes at /opt/MailScanner/bin/mailscanner line 194.
Cannot mkdir /var/spool/MailScanner/incoming/15832/gALL9sxo015709, No such file or directory at /opt/MailScanner/bin/MailScanner/WorkArea.pm line 90
Cannot mkdir /var/spool/MailScanner/incoming/15902/gALLAOxo015899, No such file or directory at /opt/MailScanner/bin/MailScanner/WorkArea.pm line 90
Cannot create + lock headers file /var/spool/MailScanner/incoming/15967/gALLAfxo015958.header, at /opt/MailScanner/bin/MailScanner/Message.pm line 237
Cannot mkdir /var/spool/MailScanner/incoming/15995/gALLAkxp015979, No such file or directory at /opt/MailScanner/bin/MailScanner/WorkArea.pm line 90
-----------------------------------
Jeff A. Earickson, Ph.D
Senior UNIX Sysadmin and Email Guru
Information Technology Services
Colby College, 4214 Mayflower Hill,
Waterville ME, 04901-8842
phone: 207-872-3659 (fax = 3076)
-----------------------------------
More information about the MailScanner
mailing list