Re: [Mimedefang] memory leak?

2004-02-09 Thread Ron Peterson
On Mon, 9 Feb 2004, Justin wrote: > On Mon, 9 Feb 2004, Stephen Smoogen wrote: > > > also realize that x86 hardware has to do various internal hacks to deal > > with memory above 2-4 Gigs. [2 gigs for some types of hardware and 4 > > gigs for other types.] Also check for things in your /proc/sla

[Mimedefang] Secondary MX and filter_relay

2004-02-09 Thread Mike Smith
Hey all, What's the best strategy for running MimeDefang on both the primary and secondary MX hosts? Currently I have it set up like this. The secondary is running Mimedefang 2.39, SpamAssassin 2.63, and ClamAV 0.65. All's well and good so it seems, with the exception of figuring out how to use

Re: [Mimedefang] memory leak?

2004-02-09 Thread Justin
On Mon, 9 Feb 2004, Stephen Smoogen wrote: > also realize that x86 hardware has to do various internal hacks to deal > with memory above 2-4 Gigs. [2 gigs for some types of hardware and 4 > gigs for other types.] Also check for things in your /proc/slabinfo to > see if anything is full.. or if dme

[Mimedefang] Content filtering withou spamassasin? -- solved

2004-02-09 Thread Murat Isik
I would like to thank anybody who helped and especially Mr.Jonas Eckerman for the code that does it. This one effectively and successfully works, I hope it helps some other newbei searching the forums in the future: ("hastalavista" is the word to catch, without the "") if (open (INF, "./HEADERS"))

Re: [Mimedefang] memory leak?

2004-02-09 Thread David F. Skoll
On Mon, 9 Feb 2004, Ron Peterson wrote: [...] > What we have been seeing is that the system's memory useage slowly (over a > day or two) creeps up to full utilization. Then the swap space starts > being used. I don't know how hard it's getting hit, just that it goes > from 0% to something slight

Re: [Mimedefang] memory leak?

2004-02-09 Thread Stephen Smoogen
On Mon, 2004-02-09 at 14:45, Ron Peterson wrote: > On Mon, 9 Feb 2004, David F. Skoll wrote: > > On Mon, 9 Feb 2004, Ron Peterson wrote: > > > > > This system has 6GB RAM. On boot, after everything gets going, the system > > > consumes just under 1GB. Over time, this useage is slowly creeping >

RE: [Mimedefang] memory leak?

2004-02-09 Thread Cormack, Ken
> Any ideas about what might bring the machine to it's knees like this? Ron, I too, am running MimeDefang on a Linux kernel (2.4.24smp compiled from the kernel.org tarball), but I am not seeing the CPU problem you are encountering. In addition to Sendmail and MIMEDefang (plus Spamassassin, greyl

Re: [Mimedefang] memory leak?

2004-02-09 Thread Ron Peterson
On Mon, 9 Feb 2004, David F. Skoll wrote: > On Mon, 9 Feb 2004, Ron Peterson wrote: > > > This system has 6GB RAM. On boot, after everything gets going, the system > > consumes just under 1GB. Over time, this useage is slowly creeping > > up. > > Which process is growing? (Use "ps" to find th

Re: [Mimedefang] memory leak?

2004-02-09 Thread David F. Skoll
On Mon, 9 Feb 2004, Ron Peterson wrote: > This system has 6GB RAM. On boot, after everything gets going, the system > consumes just under 1GB. Over time, this useage is slowly creeping > up. Which process is growing? (Use "ps" to find the process with the large VSZ entry.) When you say the us

[Mimedefang] memory leak?

2004-02-09 Thread Ron Peterson
System: Dell 2650 Debian Stable Perl 5.6.1-8.6 MIMEDefang 2.39 Sendmail 8.12.3-6.6 Spamassassin 2.60 This system has 6GB RAM. On boot, after everything gets going, the system consumes just under 1GB. Over time, this useage is slowly creeping up. After a couple of days, it starts swapping, per

[Mimedefang] PING: MD filter_end problem with my SA checks

2004-02-09 Thread Justin
It looks like my message got lost in the high list traffic on the day I sent it. Does anyone have any thoughts on the matter? I've tried the default filter and sa-mimedefang.cf to no avail. Something is seriously broken here. Any pointers would be very welcomed. Thanks Justin __

Re: [Mimedefang] filters for subject content

2004-02-09 Thread David F. Skoll
On Mon, 9 Feb 2004 [EMAIL PROTECTED] wrote: ... > while(){ > chomp; > $line = $_; > $idx = index($line, "Subject: "); > if ($idx == 0){ > $msgSubject = substr($line, 9); > } > } The message subject is already available as the global variable $Subject;

Re: [Mimedefang] filters for subject content

2004-02-09 Thread Ron Peterson
On Mon, 9 Feb 2004 [EMAIL PROTECTED] wrote: > Date: Mon, 9 Feb 2004 14:07:02 -0500 (EST) > From: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [Mimedefang] filters for subject content > > > Hi, > >I would like to set some filters to look at the subjec

Re: [Mimedefang] filters for subject content

2004-02-09 Thread james . madill
> Hi, >I would like to set some filters to look at the subject line of > an email. I have found some codes on a spam assassin webpage and > would like to know where I would paste them in to the mimedefang > filter (that's if they are in the correct format to work). > > Code: > > ##

[Mimedefang] Perhaps old now; MyDoom/Novarg [was: New .zip virus?]

2004-02-09 Thread Paul Whittney
To all, esp those with the Novarg/MyDoom virus going through their systems. Been in two minds to post this, or to just stay quiet... However, since we're getting 100 or so mydoom emails per day (I know, not that much, but still causes our mx IP address to be blocked by some sites), I decided to br

RE: [Mimedefang] filters for subject content

2004-02-09 Thread Cormack, Ken
> I believe he asked for a NON-spamassassin way to do this unless I have > gotten the threads confused. > > They're SpamAssassin rules. They go in your SpamAssassin configuration > > file, not your MIMEDefang filter. Here is what I use, to block subject lines via sendmail. Add this to the LOCAL

Re: [Mimedefang] filters for subject content

2004-02-09 Thread Jason Englander
On Mon, 9 Feb 2004, Kevin A. McGrail wrote: > I believe he asked for a NON-spamassassin way to do this unless I have > gotten the threads confused. Andrew, did I misunderstand you? > I would like to set some filters to look at the subject line of an email. > I have found some codes on a spam ass

Re: [Mimedefang] filters for subject content

2004-02-09 Thread Kevin A. McGrail
I believe he asked for a NON-spamassassin way to do this unless I have gotten the threads confused. > They're SpamAssassin rules. They go in your SpamAssassin configuration > file, not your MIMEDefang filter. ___ Visit http://www.mimedefang.org and htt

[Mimedefang] winmail.dat / ms-tnef extracting

2004-02-09 Thread hans hm04
hello some of e-mails we receive have attached a file "winmail.dat" and as we use lotus notes as central mail-hub, it isn't readable for the user. in dmz we run 2 solaris 9 boxes with sendmail and md. solaris 9 delivers a program called "tnef", which is the counterpart to "cpio" or "tar" for suc

Re: [Mimedefang] 12,000 /var/spool/MIMEDefang/mdefang-xxxxxxxxxxxxxx directories in 7 days

2004-02-09 Thread james . madill
> >When I took a look in the /var/spool/MIMEDefang directory, I was quite > >surprised to see over 12,000 directories with timestamps spanning the > >previous 7 days. > > > >It would appear that they weren't deleted because the directory (still) > >contained contents. > > This happened to me wh

Re: [Mimedefang] filters for subject content

2004-02-09 Thread Jason Englander
On Mon, 9 Feb 2004, Andrew Jayes wrote: > so what do you think? Will this work in the mimedefang filter? And where > in the filter would I paste it in? They're SpamAssassin rules. They go in your SpamAssassin configuration file, not your MIMEDefang filter. -- Jason Englander <[EMAIL PROTECTED]

Re: [Mimedefang] Content filtering withou spamassasin?

2004-02-09 Thread Kevin A. McGrail
Jonas, I think you might want just $line =~ /something/. The my would scope it as a new variable that should be blank I would think. > A syntax error. Shuld be: > while (my $line = ) { Regards, KAM ___ Visit http://www.mimedefang.org and http://www.

[Mimedefang] filters for subject content

2004-02-09 Thread Andrew Jayes
Hi, I would like to set some filters to look at the subject line of an email. I have found some codes on a spam assassin webpage and would like to know where I would paste them in to the mimedefang filter (that's if they are in the correct format to work). Code: ###

Re: [Mimedefang] Content filtering withou spamassasin?

2004-02-09 Thread Jonas Eckerman
On Mon, 9 Feb 2004 01:18:11 +0200, Murat Isik wrote: > Also when I asked this question on the list some time ago, a good > fellow send a modifed version as such: Ah. I told you I wrote that before finishing my first cup of coffee. :-/ Now I'm at work with too much to do instead, but a quick lo

RE: [Mimedefang] Content filtering withou spamassasin?

2004-02-09 Thread Kayne Kruse
> /etc/mail/mimedefang-filter line 187, near "(my line" syntax error at Unless that is a typo, one would have put a $line where you have "(my line". Perhaps you stayed up too late when doing this? :D Kayne ___ Visit http://www.mimedefang.org and http:

Re: [Mimedefang] MIME::Tools is buggy (slightly OT)

2004-02-09 Thread Chris Myers
- Original Message - From: "David F. Skoll" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 7:28 AM Subject: Re: [Mimedefang] MIME::Tools is buggy (slightly OT) > > The point is that MIME-tools-5.411a (patched or not) are pretty old so maybe > > it's time for

Re: [Mimedefang] MIME::Tools is buggy (slightly OT)

2004-02-09 Thread David F. Skoll
On Mon, 9 Feb 2004, Andrzej Marecki wrote: > mimedefang-multiplexor: Slave 0 stderr: Use of uninitialized value in > concatenation (.) or string at [...]/MIME/Entity.pm line 1806. I never get that. > ... and occasionally like: > mimedefang-multiplexor: Slave 0 stderr: Use of uninitialized value

RE: [Mimedefang] uv scan is hanging

2004-02-09 Thread Alexander Dalloz
Am Mo, den 09.02.2004 schrieb Andrew Jayes um 11:00: > Hi, > It does seam to be the problem described below, in the NAI knowledge base. So > when I use the 'LD_PRELOAD=/lib/libc.so.6 uvscan' command the scanner works fine can > anyone tell me how I can set this up to be used by mimedefang.

RE: [Mimedefang] uv scan is hanging

2004-02-09 Thread Seelig, CD (Chris)
Try adding the line export LD_PRELOAD=/lib/libc.so.6 Towards the top of the script from which you start the mimedefang daemons (probably /etc/rc.d/init.d/mimedefang) A different solution, which I use, and which is probably the same problem is... export LD_ASSUME_KERNEL=2.4.1 I have several

RE: [Mimedefang] uv scan is hanging

2004-02-09 Thread Andrew Jayes
Hi, It does seam to be the problem described below, in the NAI knowledge base. So when I use the 'LD_PRELOAD=/lib/libc.so.6 uvscan' command the scanner works fine can anyone tell me how I can set this up to be used by mimedefang. Maybe I could use an alias so when mimedefang runs 'uvscan

[Mimedefang] MIME::Tools is buggy (slightly OT)

2004-02-09 Thread Andrzej Marecki
According to the MD README files one should get MIME-tools-5.411a-RP-Patched-02 before installing MD. However, I get numerous messages like: mimedefang-multiplexor: Slave 0 stderr: Use of uninitialized value in concatenation (.) or string at [...]/MIME/Entity.pm line 1806. ... and occasionally l