General Thankyou

Dave Filchak dave.filchak at senecac.on.ca
Sun Jan 11 19:03:00 GMT 2009


Kai,



Dave Filchak wrote:
> Kai,
>
> Kai Schaetzl wrote:
>> Dave Filchak wrote on Fri, 09 Jan 2009 14:06:02 -0500:
>>
>>  
>>> So I checked the permissions there and the Locks directory is owned 
>>> by postfix.root and the locks inside are all owned by root.root.
>>>     
>>
>> That is *all* wrong. Reread the tutorials for MS+postfix and for 
>> MS+clamd (you are using clamd, right).
>>
>> /var/spool/MailScanner/incoming/Locks l
>> total 16
>> drwxr-x--- 2 root    postfix 4096 Jan  9 23:03 .
>> drwxr-xr-x 5 postfix clamav  4096 Jan  9 23:04 ..
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 antivirBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 avastBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 avgBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 bitdefenderBusy.lock
>> -rw------- 1 postfix postfix  100 Jan  9 23:05 clamavBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 cssBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 esetsBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 etrustBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 f-prot-6Busy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 f-protBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 f-secureBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 genericBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 inoculanBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 kasperskyBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 mcafeeBusy.lock
>> -rw------- 1 postfix postfix    0 Jan  7 16:51 MS.bayes.rebuild.lock
>> -rw------- 1 postfix postfix    0 Jan  9 23:03 MS.bayes.starting.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 nod32Busy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 normanBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 pandaBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 ravBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 sophosBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 symscanengineBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 trendBusy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 vba32Busy.lock
>> -rw------- 1 postfix postfix    0 Dec 11 17:31 vexiraBusy.lock
>>
>> Kai
>>
>>   
> Well I will definitely reread these. I never specifically set these 
> permissions anywhere. One would thing that these would be created by 
> the settings in MailScanner.conf .. wouldn't you? There is no specific 
> alternate user settings in spamassassin so  .... something is setting 
> these permissions this way.
>
I have gone through the tutorials a few times and I seem to have 
everything set up correctly yet .... something keeps reseting the 
permissions in the Locks directory back to the following:

-rw-------  1 root root  0 Jan  8 05:09 antivirBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 avastBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 avgBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 bitdefenderBusy.lock
-rw-------  1 root root 49 Jan  9 19:15 clamavBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 cssBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 esetsBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 etrustBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 f-prot-6Busy.lock
-rw-------  1 root root  0 Jan  8 05:09 f-protBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 f-secureBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 genericBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 inoculanBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 kasperskyBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 mcafeeBusy.lock
-rw-------  1 root root  0 Jan  8 19:38 MS.bayes.rebuild.lock
-rw-------  1 root root  0 Jan 11 04:15 MS.bayes.starting.lock
-rw-------  1 root root  0 Jan  8 05:09 nod32Busy.lock
-rw-------  1 root root  0 Jan  8 05:09 normanBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 pandaBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 ravBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 sophosBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 symscanengineBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 trendBusy.lock
-rw-------  1 root root  0 Jan  8 05:09 vba32Busy.lock
-rw-------  1 root root  0 Jan  8 05:09 vexiraBusy.lock

/var/spool/MailScanner/incoming
[root at rosewood incoming]# ls -l
total 604
drwxr-x---  2 postfix clamav    4096 Jan 11 13:43 19962
drwxr-x---  2 postfix clamav    4096 Jan 11 13:38 19969
drwxr-x---  2 postfix clamav    4096 Jan 11 13:41 19976
drwxr-x---  2 postfix root      4096 Jan 11 04:15 Locks
-rw-------  1 postfix postfix 590848 Jan 11 13:41 SpamAssassin.cache.db
drwx------  2 postfix postfix   4096 Jan 11 13:43 SpamAssassin-Temp

Yesterday this was all set as you have it above.

Dave


More information about the MailScanner mailing list