Re: [Mimedefang] change_header doesn't add header

2005-11-25 Thread Marco Berizzi
David F. Skoll wrote: Marco, I'm wondering if Sendmail treats the "Precedence:" header specially. Could you try adding a different header? action_change_header('X-My-Custom-Header', 'For testing!'); If that works, then obviously Sendmail doesn't like milters to change the Precedence: h

Re: [Mimedefang] change_header doesn't add header

2005-11-25 Thread Marco Berizzi
David F. Skoll wrote: Marco Berizzi wrote: Strange yes. It did work with some old MD releases (I don't remember which). Are you sure your action_change_header is always being executed? Could you call md_syslog right after the action_change_header call to make sure it is ru

Re: [Mimedefang] change_header doesn't add header

2005-11-25 Thread Marco Berizzi
David F. Skoll wrote: Marco Berizzi wrote: > The last row is action_change_header("Precedence", "bulk"); Hmmm... That should work. It eventually boils down to a smfi_chgheader call into libmilter that looks like this: smfi_chgheader(ctx, "Precedence", 1

Re: [Mimedefang] change_header doesn't add header

2005-11-24 Thread Marco Berizzi
Marco Berizzi wrote: action_add_header("Precedence", "bulk"); [Sorry. This is the working filter.] The last row is action_change_header("Precedence", "bulk"); ___ Visit http://www.mimedefa

Re: [Mimedefang] change_header doesn't add header

2005-11-24 Thread Marco Berizzi
David F. Skoll wrote: Marco Berizzi wrote: > I'm try to use action_change_header in filter_end but MIMEDefang doesn't > add a new one when it doesn't exist as stated in man page. Weird; it works for me. Are you supplying an $index argument? no, I'm no

RE: [Mimedefang] how to disable notify=success

2005-11-24 Thread Marco Berizzi
[EMAIL PROTECTED] wrote: Marco Berizzi wrote: > Aleksandar Milivojevic wrote: > >> You can also prevent requests for them to hit your users. IMO, this >> is good things, since return receipts are very handy way for >> spammers to verify that an email address exists.

[Mimedefang] change_header doesn't add header

2005-11-24 Thread Marco Berizzi
Hello. I'm try to use action_change_header in filter_end but MIMEDefang doesn't add a new one when it doesn't exist as stated in man page. Is this a know problem or am I missing anything? ___ Visit http://www.mimedefang.org and http://www.roaringpeng

Re: [Mimedefang] how to disable notify=success

2005-11-17 Thread Marco Berizzi
Aleksandar Milivojevic wrote: You can also prevent requests for them to hit your users. IMO, this is good things, since return receipts are very handy way for spammers to verify that an email address exists. To disable them on SMTP level, simply tell sendmail you want to disable the feature

Re: [Mimedefang] how to disable notify=success

2005-11-17 Thread Marco Berizzi
[EMAIL PROTECTED] wrote: > Marco Berizzi wrote: > > Hello. > > I'm using a sendmail/MIMEDefang box as a gateway for my M$ Exchange > > 5.5 internal mail server. > > One of our bigger customers are rejecting all messages from <>, so > > MDN and return

[Mimedefang] how to disable notify=success

2005-11-17 Thread Marco Berizzi
Hello. I'm using a sendmail/MIMEDefang box as a gateway for my M$ Exchange 5.5 internal mail server. One of our bigger customers are rejecting all messages from <>, so MDN and return receipt from my M$ exchange relayed through the sendmail/MD box are rejected. I would like to know if there is

[Mimedefang] sendmail X

2005-11-03 Thread Marco Berizzi
Hi. I have taken a look at http://www.sendmail.org and sendmail X is available. Is there any plan for MIMEDefang? ___ Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lis

Re: [Mimedefang] [OT] clamd doesn't recognize virus

2005-09-21 Thread Marco Berizzi
> > Drop all zips until clamav gets a working signature? > > You should read that more carefully. Clamav has a working signature: > his second stanza is from _clamscan_. The problem is that clamscan > _will_ find it, but _clamdscan_ doesn't. > > That is a perplexing one, but hopefully it's as sim

Re: [Mimedefang] [OT] clamd doesn't recognize virus

2005-09-21 Thread Marco Berizzi
Thanks for all the reply and sorry for the OT. > Is it possible that between the clamdscan and the clamscan, that your > virus definitions updated? No. I have run the same test few minutes ago. Same problem. > Is it possible that clamd isn't receiving "virus definitions updated" > messages from

[Mimedefang] [OT] clamd doesn't recognize virus

2005-09-21 Thread Marco Berizzi
Hello everybody. I'm using clam 0.87 with mimedefang 2.51. This morning a virus has been slipped through MD. This is the output from clamdscan: /tmp/photo.zip: OK --- SCAN SUMMARY --- Infected files: 0 Time: 0.143 sec (0 m 0 s) and this is the output from clamscan: photo.zip: Tro

[Mimedefang] whitelist_from not working

2005-09-13 Thread Marco Berizzi
Hello everybody. I have installed a small linux system with sendmail 8.12.11 + MD 2.52 + SA 3.04 I have added to /etc/mail/sa-spamassassin.cf whitelist_from [EMAIL PROTECTED] but spamassassin tag some messages as spam. This is the maillog relative to the message: sm-mta[16739]: j8DAGXGD016739: f

[Mimedefang] wmf - emf extension

2004-11-18 Thread Marco Berizzi
Should be added to $bad_exts to mitigate Worm.Win32.Aler? ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

[Mimedefang] uribl with SA 3

2004-10-14 Thread Marco Berizzi
I'm running MD 2.45 with SpamAssassin 3 and uribl test are not working. My filter has SALocalTestOnly = 1 I have followed this message http://lists.roaringpenguin.com/pipermail/mimedefang/2004-August/023947.html and I commented out all tflags entry in /usr/share/spamassassin/25_uribl.cf Is there a

Re: [Mimedefang] MIMEDefang 2.45 compile errors ??

2004-09-23 Thread Marco Berizzi
David F. Skoll wrote: > On Thu, 23 Sep 2004, J.P van Oyen wrote: > > > Just tried to update to the new MIMEDEFANG 2.45 but after updating also to > > MIME-tools-5.413 from David I get the following error. > > > checking for Perl module MIME::WordDecoder... configure: WARNING: *** Error > > trying

Re: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread Marco Berizzi
David F. Skoll wrote: > On Tue, 24 Aug 2004, Paul Murphy wrote: > > > it will lose communications. See also the man pages for > > mimedefang-notify and mimedefang-multiplexor, which give details of > > a neat system to make notifications available. > > That gave me an idea... for 2.45 Final, the

Re: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread Marco Berizzi
Thanks a lot Paul. It'w working now. One question: is there any way to be notified when a slave die? Paul Murphy wrote: Marco, I believe it's failing because you are calling file-based code on a directory entry in the Zip file. Instead, I use code which skips directory entries: if ($z

[Mimedefang] Not an ARRAY reference error

2004-08-23 Thread Marco Berizzi
Hello. I'm using this code (from Michal Jankowski) to check virus inside zip file: if (-s "./INPUTMSG" < 200*1024) { if (lc($ext) =~ /\.zip$/) { use Archive::Zip qw(:ERROR_CODES); my $path = $entity->bodyhandle->path; my $zip = Archive::Zip->new(); Archive::Zip::setErrorHan

Re: [Mimedefang] problem with archive-zip-1.12

2004-07-20 Thread Marco Berizzi
Thanks Paul. Just few minutes ago I have found and corrected the problem. Paul Murphy wrote: Marco, > mimedefang-multiplexor[11226]: Slave 0 stderr: Undefined subroutine > &Archive::Zip::tempFileName called at /etc/mail/mimedefang-filter line > 348. > > This is line 348: > my $tfname = Archive::

[Mimedefang] problem with archive-zip-1.12

2004-07-19 Thread Marco Berizzi
I'm using this piece of code from Michal Jankowski: ##-- ## Check for banned files in ZIP files - may add considerable processing time ## Requires Archive::Zip to be up to date - base Debian version is ancient and does ##

Re: [Mimedefang] filter error

2004-07-19 Thread Marco Berizzi
Damrose, Mark wrote: > > Scalar found where operator expected at (eval 59) line 284, near ") > > $self" > > (Missing operator before $self?) > > Failed to run header SpamAssassin tests, skipping some: > > syntax error at > > (eval 59) line 284, near ") $self" > > Have you added a custom rule in /

[Mimedefang] filter error

2004-07-19 Thread Marco Berizzi
Hello everybody. I have installed MD-2.44 on Slackware 10 (perl 5.8.4). I'm getting this error running: mimedefang.pl -f mimedefang-filter -test Scalar found where operator expected at (eval 59) line 284, near ") $self" (Missing operator before $self?) Failed to run header SpamAssassin tests, sk

[Mimedefang] sendmail 8.13.0

2004-06-21 Thread Marco Berizzi
Anyone have tried it with MD 2.43? ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

[Mimedefang] W32/Bagle.p@MM spreading as rar

2004-03-15 Thread Marco Berizzi
After password protected zipped file, Bagle is spreading as a rar pwd protected file. Any hint how to scan rar pwd file? ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.co

[Mimedefang] slave ran out of memory

2004-03-11 Thread Marco Berizzi
Hello everybody. I'm having a problem with this piece of filter: if (lc($ext) =~ /\.zip$/) { use Archive::Zip qw(:ERROR_CODES); my $path = $entity->bodyhandle->path; my $zip = Archive::Zip->new(); Archive::Zip::setErrorHandler(sub {}); if ($zip->read($path) == AZ_OK())

Re: [Mimedefang] survey: dropping password protected file

2004-03-03 Thread Marco Berizzi
David F. Skoll wrote: > A third option is to list the zip file directory and reject it if it > contains either another zip file or any banned extensions. Perhaps this test could only be done on small archive (200k)? > We're going to look at integrating Archive::Zip into mimedefang, because this

[Mimedefang] survey: dropping password protected file

2004-03-03 Thread Marco Berizzi
Hello. I would like hearing feedback about dropping password protected zipped file. Could it be a good solution to stop bagle & netsky? ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.r

[Mimedefang] sendmail 8.12.11 is available

2004-01-19 Thread Marco Berizzi
Release notes about milter: .. When a milter invokes smfi_delrcpt() compare the supplied recipient address also against the printable addresses of the current list to deal with rewritten addresses. Based on patch from Sean Hanson of The Asylum. .. LIBMILTER: Add extra checks in case a broken MTA s