quarantine error = permission denied

ShaunM [MailShield] smcguane at MAILSHIELD.COM.AU
Sun Dec 11 22:03:29 GMT 2005


Heya guys,

 

I have a problem with mailwatch and my quarantine. No matter what I try I
can not access it. This is the output error I get when using mailwatch

 

Warning: is_file(): Stat failed for /var/spool/MailScanner/quarantine

(errno=13 - Permission denied) in
/usr/local/apache/htdocs/mailscanner/functions.php on line 925 No
quarantine directories found

 

Now as for permissions. The apache is run by nobody as its owner as shown
below. I have tried making quarantine owned by the following , nobody,
apache, mailnull anyone
of these permission settings don’t work either. This is what the
settings currently look like

 

root at filter1 [/etc]# ls /var/spool/MailScanner/quarantine/ -la

total 40

drwxrwx---   10 mailnull mail         4096 Dec 11 00:00 ./

drwxr-x---    5 mailnull mail         4096 Dec 11 11:04 .../

drwxrwx---    4 mailnull mail         4096 Dec  4 00:00 20051204/

drwxrwx---    4 mailnull mail         4096 Dec  5 00:00 20051205/

drwxrwx---    8 mailnull mail         4096 Dec  6 13:59 20051206/

drwxrwx---   13 mailnull mail         4096 Dec  7 11:14 20051207/

drwxrwx---    4 mailnull mail         4096 Dec  8 00:01 20051208/

drwxrwx---    9 mailnull mail         4096 Dec  9 12:56 20051209/

drwxrwx---    7 mailnull mail         4096 Dec 10 19:53 20051210/

drwxrwx---    6 mailnull mail         4096 Dec 11 00:13 20051211/

root at filter1 [/etc]#

 

This is the settings used in MailScanner.conf

 

Run As User = mailnull

Run As Group = mail

Quarantine User = mailnull

Quarantine Group = mail

 

I have tried all different variations of the above with even blank
entries in the quarantine user and quarantine group. I still can not get
this to work.

 

If anyone has any ideas that can help it would be appreciated.

 

Thanks

Shaun

 

 

 

 




-----------------------------------------------------------------------------
This message has been scanned for viruses and malicious content by
MailShield
http://www.mailshield.com.au

------------------------ 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