Quarantined Message Ownership
Drew Marshall
drew.marshall at trunknetworks.com
Fri Sep 23 07:29:16 IST 2011
Hi All
An interesting one. I have just upgraded one of my FreeBSD 8 gateways to perl 5.12.4, which of cause broke the latest stable MS just nicely :-(
So I installed the latest beta and am running MS with the -u switch (Via the rc.conf knob for those who know FreeBSD) and we are back processing mail :-)
However, out came last night's quarantine report and the message details are not available for MailWatch to read, permission denied errors on the files. Strange as nothing has changed in the config and it's worked fine for eons. So I had a look at the MailScanner.conf settings:
Quarantine User = postfix
Quarantine Group = www
Quarantine Permissions = 0660
All good as these produce directories like this:
drwxr-xr-x 33 postfix www 1024 Sep 23 02:40 .
drwxr-xr-x 6 postfix postfix 512 May 10 19:37 ..
drwxrwx--- 6 postfix www 512 Sep 10 15:59 20110910
drwxrwx--- 28 postfix www 1024 Sep 11 19:31 20110911
drwxrwx--- 10 postfix www 512 Sep 12 16:12 20110912
drwxrwx--- 5 postfix www 512 Sep 13 16:22 20110913
drwxrwx--- 6 postfix www 512 Sep 14 17:37 20110914
drwxrwx--- 5 postfix www 512 Sep 15 18:57 20110915
drwxrwx--- 6 postfix www 512 Sep 16 17:03 20110916
drwxrwx--- 5 postfix www 512 Sep 17 20:19 20110917
drwxrwx--- 4 postfix www 512 Sep 18 15:57 20110918
drwxrwx--- 4 postfix www 512 Sep 19 12:52 20110919
drwxrwx--- 9 postfix www 512 Sep 20 17:36 20110920
drwxrwx--- 3 postfix www 512 Sep 21 00:16 20110921
drwxrwx--- 6 postfix www 512 Sep 22 17:15 20110922
drwxrwx--- 3 postfix www 512 Sep 23 00:00 20110923
and when you go to yesterday's directory
drwxrwx--- 6 postfix www 512 Sep 22 17:15 .
drwxr-xr-x 33 postfix www 1024 Sep 23 02:40 ..
drwxrwx--- 2 postfix www 512 Sep 22 14:17 5F0A22A6A46.A7647
drwxrwx--- 2 postfix www 512 Sep 22 09:35 9CCD22A6867.A4D03
drwxrwx--- 2 postfix www 512 Sep 22 17:15 E62192A6A05.A6977
drwxrwx--- 2 postfix www 8192 Sep 22 23:56 spam
all good still but when you go to the spam directory
root at in1.rdc /var/spool/MailScanner/quarantine/20110922/spam # ls -al
total 12854
drwxrwx--- 2 postfix www 8192 Sep 22 23:56 .
drwxrwx--- 6 postfix www 512 Sep 22 17:15 ..
-rw-rw---- 1 postfix postfix 4335 Sep 22 07:18 002552A6A39.A1A34
-rw-rw---- 1 postfix postfix 4242 Sep 22 16:02 00E722A68BC.A085C
-rw-rw---- 1 postfix postfix 630189 Sep 22 11:03 02E512A6A44.AC5AA
-rw-rw---- 1 postfix postfix 14310 Sep 22 12:37 049852A6841.A9C3F
-rw-rw---- 1 postfix postfix 5111 Sep 22 23:03 04E0F2A68A5.A5AAE
-rw-rw---- 1 postfix postfix 4142 Sep 22 09:12 05A032A6A48.AF835
-rw-rw---- 1 postfix postfix 1897 Sep 22 11:18 05B122A689B.A9065
-rw-rw---- 1 postfix postfix 30585 Sep 22 17:18 05C702A6A49.ACE43
-rw-rw---- 1 postfix postfix 4246 Sep 22 16:53 065CF2A6A46.A84F0
-rw-rw---- 1 postfix postfix 14132 Sep 22 07:30 09F282A6915.A6E6F ….
Has anyone else seen this? Is it another taint issue or a by product of me running it in '-u mode'? Perhaps more importantly, any ideas to fix it would be appreciated!
Many thanks
Drew
More information about the MailScanner
mailing list