FW: Another attack to fight off

Julian Field MailScanner at ecs.soton.ac.uk
Fri Feb 29 23:04:41 GMT 2008

Hash: SHA1

Just for the list's reference, this is an init.d script problem, as it 
doesn't directly support multiple incoming queues. So it has trouble 
starting up the incoming sendmail process. INQDIR is calculated in 
/etc/sysconfig/MailScanner and used to set the -OQueueDirectory= 
command-line option in /etc/init.d/MailScanner. It is read straight out 
of MailScanner.conf. So if MailScanner.conf's setting refers to a text 
file listing directory names, the init.d script tries to start up 
sendmail with the QueueDirectory option set to a text file, so it shouts 
and screams about it :-(

MailScanner itself is working just fine. Ideally a fancier init.d script 
would find the text file and make nasty noises that it won't be able to 
start up the incoming sendmail without modification.

Jim Hermann wrote:
> ________________________________
>         From: Vlad Mazek [mailto:v at vladville.com]
>         Sent: Thursday, February 28, 2008 04:43 PM
>         To: MailScanner discussion
>         Subject: Re: Another attack to fight off
>         MailScanner doesn't seem to want to accept multiple incoming queues with sendmail. Incoming Queue Dir = doesn't seem to take anything other than a single directory. Documentation indicates it should take filesets but that doesn't work
>         Starting MailScanner daemons:
>                  incoming sendmail: 451 4.0.0 can not chdir(/etc/MailScanner/rules/mqueue.in.list.conf/): Not a directory [  OK  ]
>         (I tried %rules-dir%/mqueue.in.list.conf, permissions are ok, the file contains the queue dir's one per line, etc all looks sane)
>         -Vlad
> -----
> Vlad,
> I use this setting:
> Incoming Queue Dir = /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue /home/virtual/site*/fst/var/spool/mqueue
> It collects email from 200 different directories.
> Jim


- -- 
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc

Version: PGP Desktop 9.8.0 (Build 2158)
Comment: Use Thunderbird Enigmail to verify this message
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list