Quarantine permissions
Steve Freegard
steve.freegard at LBSLTD.CO.UK
Tue Jun 24 11:49:14 IST 2003
Hi Kris,
Thanks for the info.
I'm using PHP also - so far I've got a quarantine viewer which shows all the
messages (date, from, to, subject, size, sascore, quarantine reason) and
another bit which allows release of Spam messages and/or files caught by the
filename rules using the pear Mail::MIME class.
I've got it slightly easier as I'm reading the message info from MySQL and
not the syslogs, so I don't have to worry about log rotation.
Kind regards,
Steve.
_____
From: Kris Zabriskie [mailto:zabriskw at ITECH.NET]
Sent: 20 June 2003 16:31
To: MAILSCANNER at JISCMAIL.AC.UK
Steve,
I am doing a VERY similar thing with PHP. It will retrieve e-mail from
quarantine on a certain date. I am having trouble with the quarantine
directory as well as the daily rotated out syslogs. I have been playing with
a utility for Tru64 that allows you to set permissions, regardless of what
something else tells it to be. You might want to see if your OS has an
option like that.
----- Original Message -----
From: Steve Freegard <mailto:steve.freegard at LBSLTD.CO.UK>
To: MAILSCANNER at JISCMAIL.AC.UK <mailto:MAILSCANNER at JISCMAIL.AC.UK>
Sent: Friday, June 20, 2003 11:21 AM
Subject: Quarantine permissions
Hi Julian,
I've just been looking at putting a feature into MailWatch to release
quarantined spam and/or blocked files that a few people have requested.
I've still got a fair bit to do, but do have it working for the most part -
but I have to manually keep chown/chmodding the quarantine files as root as
Quarantine.pm creates the files/dirs mode 0700 root:root. To work correctly
from MailWatch, ideally the dirs should be 0750 root:apache, and the files
0640 root:apache, but this will vary depending on people's local set-ups.
Any chance that you could add a couple of options the MailScanner.conf to
give the values for 'Quarantine Files Mode', 'Quarantine Dirs Mode' and
'Quarantine Owner/Group' or something similar?
Kind regards,
Steve
--
Steve Freegard
Systems Manager
Littlehampton Book Services Ltd.
Tel: +44 (0)1903 82 8594
Fax: +44 (0)1903 82 8620
--
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 sender and delete
the message from your mailbox.
This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.
--
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 sender and delete the message from your mailbox.
This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030624/07b7653e/attachment.html
More information about the MailScanner
mailing list