<p>Consider use of sticky (group) bit perhaps, on the quarantine dir...?</p>
<p>Cheers!<br>
-- <br>
-- Glenn</p>
<div class="gmail_quote">Den 23 sep 2011 08:33 skrev &quot;Drew Marshall&quot; &lt;<a href="mailto:drew.marshall@trunknetworks.com">drew.marshall@trunknetworks.com</a>&gt;:<br type="attribution">&gt; Hi All<br>&gt; <br>&gt; 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 :-(<br>
&gt; <br>&gt; 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 :-)<br>&gt; <br>&gt; However, out came last night&#39;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&#39;s worked fine for eons. So I had a look at the MailScanner.conf settings:<br>
&gt; <br>&gt; Quarantine User = postfix<br>&gt; Quarantine Group = www<br>&gt; Quarantine Permissions = 0660<br>&gt; <br>&gt; All good as these produce directories like this:<br>&gt; <br>&gt; drwxr-xr-x  33 postfix  www      1024 Sep 23 02:40 .<br>
&gt; drwxr-xr-x   6 postfix  postfix   512 May 10 19:37 ..<br>&gt; drwxrwx---   6 postfix  www       512 Sep 10 15:59 20110910<br>&gt; drwxrwx---  28 postfix  www      1024 Sep 11 19:31 20110911<br>&gt; drwxrwx---  10 postfix  www       512 Sep 12 16:12 20110912<br>
&gt; drwxrwx---   5 postfix  www       512 Sep 13 16:22 20110913<br>&gt; drwxrwx---   6 postfix  www       512 Sep 14 17:37 20110914<br>&gt; drwxrwx---   5 postfix  www       512 Sep 15 18:57 20110915<br>&gt; drwxrwx---   6 postfix  www       512 Sep 16 17:03 20110916<br>
&gt; drwxrwx---   5 postfix  www       512 Sep 17 20:19 20110917<br>&gt; drwxrwx---   4 postfix  www       512 Sep 18 15:57 20110918<br>&gt; drwxrwx---   4 postfix  www       512 Sep 19 12:52 20110919<br>&gt; drwxrwx---   9 postfix  www       512 Sep 20 17:36 20110920<br>
&gt; drwxrwx---   3 postfix  www       512 Sep 21 00:16 20110921<br>&gt; drwxrwx---   6 postfix  www       512 Sep 22 17:15 20110922<br>&gt; drwxrwx---   3 postfix  www       512 Sep 23 00:00 20110923<br>&gt; <br>&gt; and when you go to yesterday&#39;s directory<br>
&gt; <br>&gt; drwxrwx---   6 postfix  www   512 Sep 22 17:15 .<br>&gt; drwxr-xr-x  33 postfix  www  1024 Sep 23 02:40 ..<br>&gt; drwxrwx---   2 postfix  www   512 Sep 22 14:17 5F0A22A6A46.A7647<br>&gt; drwxrwx---   2 postfix  www   512 Sep 22 09:35 9CCD22A6867.A4D03<br>
&gt; drwxrwx---   2 postfix  www   512 Sep 22 17:15 E62192A6A05.A6977<br>&gt; drwxrwx---   2 postfix  www  8192 Sep 22 23:56 spam<br>&gt; <br>&gt; all good still but when you go to the spam directory<br>&gt; <br>&gt; root@in1.rdc /var/spool/MailScanner/quarantine/20110922/spam # ls -al<br>
&gt; total 12854<br>&gt; drwxrwx---  2 postfix  www        8192 Sep 22 23:56 .<br>&gt; drwxrwx---  6 postfix  www         512 Sep 22 17:15 ..<br>&gt; -rw-rw----  1 postfix  postfix    4335 Sep 22 07:18 002552A6A39.A1A34<br>
&gt; -rw-rw----  1 postfix  postfix    4242 Sep 22 16:02 00E722A68BC.A085C<br>&gt; -rw-rw----  1 postfix  postfix  630189 Sep 22 11:03 02E512A6A44.AC5AA<br>&gt; -rw-rw----  1 postfix  postfix   14310 Sep 22 12:37 049852A6841.A9C3F<br>
&gt; -rw-rw----  1 postfix  postfix    5111 Sep 22 23:03 04E0F2A68A5.A5AAE<br>&gt; -rw-rw----  1 postfix  postfix    4142 Sep 22 09:12 05A032A6A48.AF835<br>&gt; -rw-rw----  1 postfix  postfix    1897 Sep 22 11:18 05B122A689B.A9065<br>
&gt; -rw-rw----  1 postfix  postfix   30585 Sep 22 17:18 05C702A6A49.ACE43<br>&gt; -rw-rw----  1 postfix  postfix    4246 Sep 22 16:53 065CF2A6A46.A84F0<br>&gt; -rw-rw----  1 postfix  postfix   14132 Sep 22 07:30 09F282A6915.A6E6F ….<br>
&gt; <br>&gt; Has anyone else seen this? Is it another taint issue or a by product of me running it in &#39;-u mode&#39;? Perhaps more importantly, any ideas to fix it would be appreciated!<br>&gt; <br>&gt; Many thanks<br>
&gt; <br>&gt; Drew-- <br>&gt; MailScanner mailing list<br>&gt; <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>&gt; <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
&gt; <br>&gt; Before posting, read <a href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</a><br>&gt; <br>&gt; Support MailScanner development - buy the book off the website! <br></div>