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, bulk); And according to

Re: [Mimedefang] change_header doesn't add header

2005-11-25 Thread David F. Skoll
Marco Berizzi wrote: Strange 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 running? Regards, David. ___ Visit http://www.mimedefang.org and

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 running?

Re: [Mimedefang] change_header doesn't add header

2005-11-25 Thread David F. Skoll
Marco Berizzi wrote: yes. It did work with some old MD releases (I don't remember which). Weird. I just tried with MD 2.54 and Sendmail 8.12.10 and it worked fine. ??? Regards, David. ___ Visit http://www.mimedefang.org and

Re: [Mimedefang] change_header doesn't add header

2005-11-25 Thread David F. Skoll
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: header for some reason.

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:

[Mimedefang] New Sober version bringing MD to its knees?

2005-11-25 Thread Fernando Gleiser
One of my clients has 40+ email accounts. At the gateway I'm runing sendmail 8.13.3 and mimedefang 2.54 on FreeBSD 5.4-p8. The gateway is a Pentium III 700MHz qith 512MB RAM. For such a small system it was more than enough. It worked flawlessly until the last version of sober hit it a couple

Re: [Mimedefang] New Sober version bringing MD to its knees?

2005-11-25 Thread David F. Skoll
Fernando Gleiser wrote: It worked flawlessly until the last version of sober hit it a couple of days ago. Since then that piece of cr*p is hitting it with bursts where the server gets 60+ mails in less than 10seconds, so MD runs out of slaves. You might want to set the ConnectionRateThrottle

Re: [Mimedefang] New Sober version bringing MD to its knees?

2005-11-25 Thread Ben Kamen
is that's what seems to be crapping on the net lately. I got few of those - but not too many... Interesting notes... thanks.. begin:vcard fn:Ben Kamen n:Kamen;Ben adr:;;USA email;internet:[EMAIL PROTECTED] title:O.D.T. - S.P. x-mozilla-html:FALSE url:http://www.benjammin.net/ version:2.1

[Mimedefang] problems compiling mimedefang 2.54

2005-11-25 Thread Harley Race
I am running Fedora Core 4 with Sendmail 8.13.4 (plain vanilla install). I was following the documentation by Mickey Hill, but have run into a problem. Whenever I run make to create mimedefang, I get the following errors: mimedefang.c: In function 'rcptto': mimedefang.c:907: warning: pointer

Re: [Mimedefang] problems compiling mimedefang 2.54

2005-11-25 Thread David F. Skoll
Harley Race wrote: mimedefang.c: In function 'rcptto': mimedefang.c:907: warning: pointer targets in passing argument 2 of 'writestr' differ in signedness All of those warnings are harmless. I guess I should fix them, though. For now, you should be able to run MIMEDefang without any

Re: [Mimedefang] New Sober version bringing MD to its knees?

2005-11-25 Thread Kenneth Porter
--On Friday, November 25, 2005 12:43 PM -0500 David F. Skoll [EMAIL PROTECTED] wrote: Or you can use Sendmail 8.13's more fine-grained rate_control features so that any one IP address can't open too many connections too quickly. Nice, but note that it's FEATURE(ratecontrol). Look for that in

Re: [Mimedefang] Enabling an antivirus in a mimedefang rpm installation

2005-11-25 Thread Kris Deugau
Oliver Schulze L. wrote: I always compilled my installations of mimedefang and now I'm trying the .rpm version of mimedefang. I wonder if I need to include: $Feature{'Virus:CLAMD'} = 1; At the top of my filter in order to MD detect clamAV or will it detect automatically? In the case of

Re: [Mimedefang] Enabling an antivirus in a mimedefang rpm installation

2005-11-25 Thread Kenneth Porter
--On Friday, November 25, 2005 4:32 PM -0500 Kris Deugau [EMAIL PROTECTED] wrote: In the case of a third-party .rpm, probably. Most packages are built in such a way that the configure script doesn't pick up quite a few things - antivirus programs among them. Even if you build the RPM

Re: [Mimedefang] Enabling an antivirus in a mimedefang rpm installation

2005-11-25 Thread Oliver Schulze L.
Hi Kris, my bad, I had a typo. If I use this line in my filter(near the top): $Features{'Virus:CLAMD'} = 1; MD uses clamd as spected. Thanks Oliver Kris Deugau wrote: Oliver Schulze L. wrote: I always compilled my installations of mimedefang and now I'm trying the .rpm version of

Re: [Mimedefang] Enabling an antivirus in a mimedefang rpm installation

2005-11-25 Thread Oliver Schulze L.
Hi Kenneth, do you run your clamd with user clamav or user defang? I had to run clamd with user defang in order to allow MD to access the socket. Maybe there is a better solution. My filter is finally using clamd, now I want to tweak the installation. Thanks Oliver Kenneth Porter wrote: --On

Re: [Mimedefang] New Sober version bringing MD to its knees?

2005-11-25 Thread Jan Pieter Cornet
On Fri, Nov 25, 2005 at 11:58:25AM -0600, Ben Kamen wrote: is that's what seems to be crapping on the net lately. I got few of those - but not too many... Not too many??? Wow. We just put our cricket graphs publicly online that show the number of received virusses per second, just to show the

Re: [Mimedefang] New Sober version bringing MD to its knees?

2005-11-25 Thread Aleksandar Milivojevic
David F. Skoll wrote: Fernando Gleiser wrote: It worked flawlessly until the last version of sober hit it a couple of days ago. Since then that piece of cr*p is hitting it with bursts where the server gets 60+ mails in less than 10seconds, so MD runs out of slaves. You might want to set the