[Mimedefang] Allowing ONLY certain extensions

2004-03-06 Thread Steven Rocha
d_log('goodext', $fname, $type); return action_accept(); } else { md_log('badext', $fname, $type); return action_discard(); } } } As always, comments are welcome! Steven Rocha _

RE: [Mimedefang] greylisting implementation

2004-02-13 Thread Steven Rocha
PROTECTED] Subject: RE: [Mimedefang] greylisting implementation On Fri, 2004-02-13 at 06:03, Steven Rocha wrote: > I have modified Jonas' code to work on my Redhat servers if anyone is > interested. I had to make minor changes to the database locking > mechanism. > > Let me know

RE: [Mimedefang] greylisting implementation

2004-02-13 Thread Steven Rocha
I have modified Jonas' code to work on my Redhat servers if anyone is interested. I had to make minor changes to the database locking mechanism. Let me know and I will post the code. Steven Rocha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[Mimedefang] Filter specific .zip filenames

2004-01-27 Thread Steven Rocha
I realize this will probably not be a popular thing to do but it works. We added zip extensions to the bad ext list and added this code to the filter() section to allow all zip extensions through except MyDoom/Novarg files. if (filter_bad_filename($entity)) { if ($fname =~ /.zip/i) {

[Mimedefang] Stream by domain

2004-01-16 Thread Steven Rocha
Just thought I would post this as there might be another newbie like me... I started to have users tell me that spam was slipping though and that they were never assigned a SA score. Hmmm... What would cause that. I added some extra logging and found out that they weren't matching my domains