Re: Permission fixup (was RE: [Mimedefang] Quarantine management - anyone else working on this?)

2004-04-15 Thread Al Sparks
--- "David F. Skoll" <[EMAIL PROTECTED]> wrote: > On Fri, 2 Apr 2004, Paul Murphy wrote: > system("chmod -R g+rwX $dir"); Perl has its own embeded chmod function. The "system" call to the shell should be avoided if at all possible, since it does slow things down. You'd have to

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-13 Thread Paul Murphy
Mike, > When trying to use the new v1.2 quarantine management files > there seems > to be some syntax errors. I was getting errors in my apache error_log > file and when I run 'perl -c quarantine.pl' I get the > following errors I can confirm the warning messages appear on my system as well

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-13 Thread Peter A. Cole
On Mon, 12 Apr 2004 09:12:01 -0500 Mike Campbell <[EMAIL PROTECTED]> wrote: > When trying to use the new v1.2 quarantine management files there seems > to be some syntax errors. I was getting errors in my apache error_log > file and when I run 'perl -c quarantine.pl' I get the following errors:

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-06 Thread Peter A. Cole
On Tue, 06 Apr 2004 10:25:51 +0100 Paul Murphy <[EMAIL PROTECTED]> wrote: > Pete, > > Version 1.2 attached: > > > Best Wishes, > > Paul. > __ Hi again Paul, Just letting you know it seems to work like a charm so far. Much neater with the new fo

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-06 Thread Peter A. Cole
On Tue, 06 Apr 2004 10:25:51 +0100 Paul Murphy <[EMAIL PROTECTED]> wrote: > Pete, > > Version 1.2 attached: > > > Best Wishes, > > Paul. > __ Hey thanks Paul! I actually intended to go through it myself to see if I could fix up the fonts and ad

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-06 Thread Paul Murphy
Pete, Version 1.2 attached: A. Font size can now be specified as an absolute value (1, 2, etc), or as a relative offset from the default size (-1, -2, +2, etc.) B. The status display when approving/deleting/redirecting messages now has a link at the bottom back to the quarantine list. Note al

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-06 Thread Peter A. Cole
On Mon, 05 Apr 2004 14:20:58 +0100 Paul Murphy <[EMAIL PROTECTED]> wrote: > Pete, > > Excellent, thanks for the update. If you find any problems with the system, or > have any requests for additional features, let me know - I've started a list, > and will implement some/all of them eventually.

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-05 Thread Paul Murphy
Nathan, See http://lists.roaringpenguin.com/pipermail/mimedefang/2004-April/021509.html Best Wishes, Paul. __ Paul Murphy Head of Informatics Ionix Pharmaceuticals Ltd 418 Science Park, Cambridge, CB4 0PA Tel. 01223 433741 Fax. 01223 433788 _

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-05 Thread Nathan Vidican
Looking for a copy of the scripts this thread speaks of, perhaps I can help work out some of the required features... this seems like a viable project to get going. I need to write my own package to manage quarantined attachments and/or emails, and figured rather than try re-inventing the wheel,

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-05 Thread Paul Murphy
ience Park, Cambridge, CB4 0PA Tel. 01223 433741 Fax. 01223 433788 > -Original Message- > From: Peter A. Cole [mailto:[EMAIL PROTECTED] > Sent: 05 April 2004 14:00 > To: [EMAIL PROTECTED] > Subject: Re: [Mimedefang] Quarantine management - anyone else > working on this?

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-05 Thread Peter A. Cole
On Mon, 05 Apr 2004 10:53:32 +0100 Paul Murphy <[EMAIL PROTECTED]> wrote: > Peter, > > Yes, that's why I have a completely separate quarantine folder, plus on a busy > server where you are quarantining a lot of large messages, in theory the > quarantine could fill the disk and kill the mail syste

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-05 Thread Peter A. Cole
On Mon, 05 Apr 2004 10:53:32 +0100 Paul Murphy <[EMAIL PROTECTED]> wrote: > Peter, > > Yes, that's why I have a completely separate quarantine folder, plus on a busy > server where you are quarantining a lot of large messages, in theory the > quarantine could fill the disk and kill the mail syste

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-05 Thread Paul Murphy
Peter, > I've also had to do some very specific permission changes as > the UNIX socket files are also placed into this directory, > and changing the perm's on them gives the old unsafe socket > error with sendmail. Yes, that's why I have a completely separate quarantine folder, plus on a busy

Re: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-02 Thread Peter A. Cole
On Fri, 02 Apr 2004 12:52:46 +0100 Paul Murphy <[EMAIL PROTECTED]> wrote: > OK, here's my code (attached) as it stands at the moment, with some instructions > and comments below. > Hi Paul, thanks for the code!! After getting around my lack of knowledge with cgi scripts in apache, I've got it g

RE: Permission fixup (was RE: [Mimedefang] Quarantine management - anyone else working on this?)

2004-04-02 Thread Paul Murphy
> There's another option, (D): Add this to filter_end: > > if ($QuarantineCount > 0 || $EntireMessageQuarantined) { > my $dir = get_quarantine_dir(); > system("chmod -R g+rwX $dir"); > } Excellent, thanks David! Best Wishes, Paul. __

Permission fixup (was RE: [Mimedefang] Quarantine management - anyone else working on this?)

2004-04-02 Thread David F. Skoll
On Fri, 2 Apr 2004, Paul Murphy wrote: > B. Patch the MIMEDefang code to force all quarantine folders to be > created with full group access (mode 770), and to set the group to > something which the web server is a member of, so that full access > is granted. There's another option, (D): Add thi

RE: [Mimedefang] Quarantine management - anyone else working on this?

2004-04-02 Thread Paul Murphy
OK, here's my code (attached) as it stands at the moment, with some instructions and comments below. Status == This is very much ALPHA code - if you read the source, you'll see that it uses a horrible mix of Perl CGI calls and raw HTML, which is not good style. However, it works, and I'll ha