Re: [Mimedefang] use strict

2005-04-26 Thread Rich West
Anyone care to post a strict version of their filter as an example? :-) -Rich ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com

Re: [Mimedefang] use strict

2005-04-26 Thread Kenneth Porter
--On Tuesday, April 26, 2005 3:27 PM -0400 Rich West [EMAIL PROTECTED] wrote: Anyone care to post a strict version of their filter as an example? :-) You should be able to add use strict; at the top of the file and then run mimedefang.pl -test. I got a warning for a missing my for $VirusFound

[Mimedefang] use strict

2005-04-13 Thread John Nemeth
I was thinking of sticking 'use strict;' in my filter in order to make sure that it is written cleanly and is less likely to have bugs (I realise that 'use strict;' is not a panacea). Is this likely to cause any problems with mimedefang.pl? ___

Re: [Mimedefang] use strict

2005-04-13 Thread Richard Laager
On Wed, 2005-04-13 at 16:29 -0700, John Nemeth wrote: I was thinking of sticking 'use strict;' in my filter in order to make sure that it is written cleanly and is less likely to have bugs (I realise that 'use strict;' is not a panacea). Is this likely to cause any problems with

Re: [Mimedefang] use strict

2005-04-13 Thread Kevin A. McGrail
John: No problems here. I switched to back before August of last year on the main server without issue. Regards, KAM I was thinking of sticking 'use strict;' in my filter in order to make sure that it is written cleanly and is less likely to have bugs (I realise that 'use strict;' is not a

Re: [Mimedefang] use strict

2005-04-13 Thread Kenneth Porter
--On Wednesday, April 13, 2005 4:29 PM -0700 John Nemeth [EMAIL PROTECTED] wrote: I was thinking of sticking 'use strict;' in my filter in order to make sure that it is written cleanly and is less likely to have bugs (I realise that 'use strict;' is not a panacea). Is this likely to cause

Re: [Mimedefang] use strict

2005-04-13 Thread David F. Skoll
Kenneth Porter wrote: In addition to use strict, does it make sense to use -wT? Taint-checking would probably cause lots of problems. (Presumably this would need to be in mimedefang.pl.) Could a hostile sender effect a shell escape in a poorly-written filter? Well, by definition, a poorly-written

Re: [Mimedefang] use strict

2005-04-13 Thread Kenneth Porter
--On Wednesday, April 13, 2005 9:05 PM -0400 David F. Skoll [EMAIL PROTECTED] wrote: Kenneth Porter wrote: In addition to use strict, does it make sense to use -wT? Taint-checking would probably cause lots of problems. I just tested it by adding -wT to mimedefang.pl and the only error I got was