Possible bug with spam permissions
Martin Hepworth
martinh at SOLID-STATE-LOGIC.COM
Wed Aug 24 08:38:52 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Jan-Peter Koopmann wrote:
> On Tuesday, August 23, 2005 4:48 PM Julian Field wrote:
>
>
>>I'm having a bit of a stupid day. What do you mean by "GID: 6 0 6"
>>and what is wrong? And which chown are you talking about? I don't see
>>your point at all.
>
>
> OK, let me start over:
>
> Setup:
> Run as Group = mail
> Quarantine Group = getqmail
>
> Problem:
> Quarantined virus (etc.) mail is created under
>
> /var/spool/Mailscanner/quarantine/date/Message-ID/...
>
> The group of those directories and the files in them is correct: getqmail. So far so good. But:
>
> Quarantined spam mail is created under
>
> /var/spool/Mailscanner/quarantine/date/spam/...
>
> The directory belongs to the correct group (getqmail) but the spam mails in there belong to group mail. Which clearly is wrong. Now I debugged a bit in Message.pm and found the following bits of code:
>
>
<snip>
> Kind regards,
> JP
Hmm - I need to retract my "it works for me" statement....
I've checked te actual entries and 'cos I'm running with
Quarantine Permissions = 0664 for MailWatch
I didn't notice that indeed the spam and non-spam contents are still
created with the primary group (Run As Group) not the "Quarantine
Group". The 'dirty content' (viruses etc) are all fine, just the spam
and non-spam contents are the wrong group.
--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
tel: +44 (0)1865 842300
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**********************************************************************
------------------------ 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