mqueue.in on tmpfs

Raymond Dijkxhoorn raymond at PROLOCATION.NET
Wed Apr 9 21:18:54 IST 2003


Julian,

> > outgoing queue directories are on the same partition. Running with
> > mqueue.in or mqueue on tmpfs is very dangerous unless you don't mind losing
> > your customers' mail when you reboot your server.
> > You can run with MailScanner/incoming on tmpfs quite safely, and it's worth
> > doing on a server with high load as it saves a whole load of disk i/o.

> And dont forget to alter the f-prot wrapper if you run f-prot ...
> RamDisk=yes # Set this to yes if you are running in ramdisk or tmpfs

In addition to this, i tested a little tonight, switched incomming to
tmpfs and tested with f-prot

I got:

Apr  9 22:13:32 fallback MailScanner[29995]: New Batch: Scanning 1
messages, 23538 bytes
Apr  9 22:13:32 fallback MailScanner[29995]: Spam Checks: Starting
Apr  9 22:13:33 fallback MailScanner[29995]: Virus and Content Scanning:
Starting
Apr  9 22:13:34 fallback MailScanner[29995]: Error on reading
./h39KDVO30315/hallmark_bears%20
Apr  9 22:13:34 fallback MailScanner[29995]: Either you've found a bug in
MailScanner's F-Prot output parser, or F-Prot's output format has
changed! F-Prot said this "Error on reading
./h39KDVO30315/hallmark_bears%20". Please mail the author of MailScanner
Apr  9 22:13:34 fallback MailScanner[29995]: Error on reading (2).jpg
Apr  9 22:13:34 fallback MailScanner[29995]: Either you've found a bug in
MailScanner's F-Prot output parser, or F-Prot's output format has
changed! F-Prot said this "Error on reading (2).jpg". Please mail the
author of MailScanner
Apr  9 22:13:34 fallback MailScanner[29995]: Uninfected: Delivered 1
messages

Only things i changed were the tmpfs for incomming and setting tmpfs to
yes in the f-prot wrapper.

I didnt get errors before, seems its not ok yet.

Bye,
Raymond.



More information about the MailScanner mailing list