Quick Exim question

Tony Finch dot at DOTAT.AT
Fri Jul 11 10:59:04 IST 2003


Mike Oliveri <moliveri at UTI.COM> wrote:
>
>Because my current config is only running with one config file, I only have
>one spool directory: /var/spool/exim/input/*  The new config files will
>have an input directory of /var/spool/exim.in/input/*, but of course they
>do not exist yet. The MailScanner Exim configure page says I should create
>all the subdirectories of ../input before running MailScanner.

MailScanner's much happier if all the directories it needs exist before it
starts. There's not much point in taking shortcuts. My Exim setup script does

        for exim in exim exim.in
        do
                for split in \
                    a b c d e f g h i j k l m \
                    n o p q r s t u v w x y z \
                    A B C D E F G H I J K L M \
                    N O P Q R S T U V W X Y Z \
                    0 1 2 3 4 5 6 7 8 9
                do
                        run mkdir -p /var/spool/$exim/input/$split
                done
                run chown -R exim:exim /var/spool/$exim
                run chmod -R 0750      /var/spool/$exim
        done

Tony.
--
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
ST DAVIDS HEAD TO COLWYN BAY, INCLUDING ST GEORGES CHANNEL: WEST 4 LOCALLY 5,
VEERING NORTHWEST TO WEST 2 OR 3 LOCALLY 4. ISOLATED SHOWERS IN THE NORTH
OTHERWISE MAINLY FAIR. MAINLY GOOD. SLIGHT TO MODERATE.



More information about the MailScanner mailing list