Possible bug with spam permissions

Julian Field MailScanner at ecs.soton.ac.uk
Wed Aug 24 09:02:19 IST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24 Aug 2005, at 08:58, Jan-Peter Koopmann wrote:
> On Wednesday, August 24, 2005 9:48 AM Julian Field wrote:
>
>
>> I don't agree. Your suggested code change will make the spam
>> quarantine be owned by the user/group used for the /var/spool/
>> MailScanner/incoming directories
>>
>
> Yep. I misread WorkArea.pm.
>
>
>> , whereas it should be owned by the
>> user/group used for the quarantine.
>>
>
> Correct. We agree and this is exactly what is not happening.
>
>
>> In MailScanner.conf, what are these set to:
>>
>>
> Incoming Work User =
> Incoming Work Group =
> Quarantine User =
> Quarantine Group = getqmail
> MTA = exim
> Run As User = mailnull
> Run As Group = mail
>
> Even if I am not able to provide the correct code segment, the  
> current code clearly is wrong. Gid should correspond with  
> "Quarantine Group" but it corresponds with "Run As Group".

It's possible the "6 0 6" is causing the problem, I can understand  
why they do it.
Can you try adding 0 to the gid just before the chown line?
- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQA/AwUBQwwpjhH2WUcUFbZUEQJOJQCeNmcHxVHRfv6PJvrFYGjU/9aEWo8AoL3u
7L0X1R2VbXpPpdOFxsQEZLhw
=c3uM
-----END PGP SIGNATURE-----

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list