Jan-Pieter Cornet | 1 Feb 2008 13:59
Picon
Picon
Favicon

Re: unicode problem in mimedefang

On Wed, Jan 30, 2008 at 05:50:25PM +0530, vinita batra wrote:
> In filter(), $fname is received as method argument.
> 
> i write the value of $fname in some file.
> it works fine
> but if filename is in japanese, then garbage characaters are written to file.
> does mimedegang does not support unicode.

Nope, mimedefang does nothing with unicode... because perl handles all
that.

You are in serious need of someone who knows perl, or someone who is
willing to learn it.

I'd recommend starting with "man perlunitut" (on reasonably modern
versions of perl, otherwise google it)

--

-- 
Jan-Pieter Cornet <johnpc <at> xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!
Jan-Pieter Cornet | 1 Feb 2008 15:57
Picon
Picon
Favicon

Re: Trend Micro patent idiocy - and so it begins

On Thu, Jan 31, 2008 at 01:23:35PM -0600, Stephen L Johnson wrote:
> On Wed, 2008-01-30 at 22:15 +0100, Jan-Pieter Cornet wrote:
> > I don't know exactly who said it (IBM?) but in the current american
> > legal system, it's wise to stock up on a couple of patents, just to
> > defend yourself with, in case one of your competitors comes knocking
> > at the door.
> 
> But nowadays having a patent portfolio doesn't mean a thing to Patent
> Trolls. Companies that own nothing other than patents, and produce
> nothing other than patent litigation. Patent portfolios mean nothing to
> them. 

This I actually consider a "good" thing. "Good" as in "good that that
ravenous looking dog is biting that big guy's leg, and not mine".

It will bring the "big guys" over to the sensible side of the argument,
and help reform patent law, eventually.

--

-- 
Jan-Pieter Cornet <johnpc <at> xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!
Bernd Petrovitsch | 1 Feb 2008 16:20
Picon
Favicon

Re: Trend Micro patent idiocy - and so it begins

On Don, 2008-01-31 at 13:23 -0600, Stephen L Johnson wrote:
[...]
> But nowadays having a patent portfolio doesn't mean a thing to Patent
> Trolls. Companies that own nothing other than patents, and produce
> nothing other than patent litigation. Patent portfolios mean nothing to
> them.

Yes, since you can't litigate back at the patent troll (since he can't
violate any patent as they produce/create/invent something).
In the "nuclear weapon" analogy, the patent troll would be some
organization without country or other property which possesses nuclear
weapons and makes deals with you that they aren't blown up in your
country.

	Bernd
--

-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services

Jan-Pieter Cornet | 2 Feb 2008 00:12
Picon
Picon
Favicon

Re: Trend Micro patent idiocy - and so it begins

On Fri, Feb 01, 2008 at 04:20:52PM +0100, Bernd Petrovitsch wrote:
> > But nowadays having a patent portfolio doesn't mean a thing to Patent
> > Trolls. Companies that own nothing other than patents, and produce
> > nothing other than patent litigation. Patent portfolios mean nothing to
> > them.
> 
> Yes, since you can't litigate back at the patent troll (since he can't
> violate any patent as they produce/create/invent something).
> In the "nuclear weapon" analogy, the patent troll would be some
> organization without country or other property which possesses nuclear
> weapons and makes deals with you that they aren't blown up in your
> country.

I see it more like a terrorist organisation: they can throw nukes
at you, but you can't throw any back cause you don't know where "they"
are.

For some reason this WMD analogy keeps reminding me of Dr.Strangelove
and the doomsday device. I half expect some dimwit patent clerk to
uncover the breakthrough patent application of some neanderthal named
Ugh for the digits 0 and 1, and to grant it.

--

-- 
Jan-Pieter Cornet <johnpc <at> xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!
Mark London | 3 Feb 2008 23:47
Picon
Favicon

mimedefang and spamassassin question.

I want to add a header line to a message, such that it will be seen when 
spamassassin is run on that message.  Is there any way to do that?   
action_add_header adds a line, but spamassassin doesn't see that line.  
Thanks. - Mark

Steve Hanselman | 3 Feb 2008 23:59
Picon
Favicon

RE: mimedefang and spamassassin question.


-----Original Message-----
From: "Mark London" <mrl <at> psfc.mit.edu>
To: "mimedefang <at> lists.roaringpenguin.com" <mimedefang <at> lists.roaringpenguin.com>
Sent: 03/02/08 22:56
Subject: [Mimedefang] mimedefang and spamassassin question.

I want to add a header line to a message, such that it will be seen when 
spamassassin is run on that message.  Is there any way to do that?   
action_add_header adds a line, but spamassassin doesn't see that line.  
Thanks. - Mark

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang <at> lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

The information contained in this email is intended for the personal and confidential use
of the addressee only. It may also be privileged information. If you are not the intended
recipient then you are hereby notified that you have received this document in error and
that any review, distribution or copying of this document is strictly prohibited. If you have 
received  this communication in error, please notify Brendata immediately on: 

+44 (0)1268 466100, or email 'technical <at> brendata.co.uk' 

Brendata (UK) Ltd
Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX  UK
(Continue reading)

vinita batra | 4 Feb 2008 10:34
Picon

handling/scanning japanese email attachment through mimedefang

Hi,
I am using mimedefang to scan/handle email attachments.

but if email attachment name is in japanese, then i get garbage
character in email attachment name.

Please tell me how to check for japanese character in attachment name.

Thanks and Regards,
Vinita Batra.
Mark London | 4 Feb 2008 13:25
Picon
Favicon

Re: mimedefang and spamassassin question.

In looking at mimedefang.pl, I decided that the only way to do this what 
I want, would be to modify the INPUTMSG file, and that's what I've ended 
up doing.  If there is a more elegant way, please let me know.  Thanks! 
- Mark

Mark London wrote:
> I want to add a header line to a message, such that it will be seen 
> when spamassassin is run on that message.  Is there any way to do 
> that?   action_add_header adds a line, but spamassassin doesn't see 
> that line.  Thanks. - Mark
>
>
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID.  You may ignore it.
>
> Visit http://www.mimedefang.org and http://www.roaringpenguin.com
> MIMEDefang mailing list MIMEDefang <at> lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Jan-Pieter Cornet | 4 Feb 2008 13:38
Picon
Picon
Favicon

Re: mimedefang and spamassassin question.

On Sun, Feb 03, 2008 at 05:47:40PM -0500, Mark London wrote:
> I want to add a header line to a message, such that it will be seen when 
> spamassassin is run on that message.  Is there any way to do that?   
> action_add_header adds a line, but spamassassin doesn't see that line.  

There are multiple solutions possible:

The official solution is to modify INPUTMSG in place, since the
spam_assassin_mail routine uses that to construct the message that
is passed to SA.

Another way is to write your own spam_assassin routines. You could copy
the current routines, and add somewhere in my_spamassassin_mail
a line: push( <at> sahdrs,  <at> my_extra_spam_assassin_headers);

A similar but more dangerous solution is to patch your installed
mimedefang.pl with a line like that. Note that that change will be
removed as soon as you upgrade, so I wouldn't recommend that.
Note that just such a patch has been suggested here in the past.
It was mailed on Mon, 22 May 2006 18:15:57 +0200 by Jonas Eckerman
<jonas_lists <at> frukt.org>. That has been rejected by David because he
didn't want to add another global variable.

Finally, the "best" way is to come up with a patch that doesn't add
a global, yet still allows you to insert custom headers for spamassassin,
and send that to David to be included. I have however no idea how
that would fly, as I believe a pretty complete rewrite of mimedefang
is in progress.

--

-- 
(Continue reading)

Kris Deugau | 4 Feb 2008 19:31
Picon

Re: mimedefang and spamassassin question.

Jan-Pieter Cornet wrote:
> There are multiple solutions possible:
[snip]

Here's another one that I use, although it may not work for everyone:

Rather than messing around getting SA itself to see the new header, just 
fiddle the results you get back from SA as if the header was in place 
and the message triggered the matching SA rule.  Add your header as 
usual with action_add_header().  This also works well on conditions not 
nearly as clear-cut as a new header.

You could probably stick that code in a sub of your own for tidiness.

I use this on one system to give a score boost to ClamAV-tagged phishing 
mail.

-kgd

Gmane