21 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: More concerni...
FromSent OnAttachments
Courier UserMay 22, 2003 9:32 am 
Sam VarshavchikMay 22, 2003 10:12 am 
Courier UserMay 22, 2003 10:56 am 
Jon NelsonMay 22, 2003 12:06 pm 
Sam VarshavchikMay 22, 2003 12:45 pm 
Mitch (WebCob)May 22, 2003 3:03 pm 
Sam VarshavchikMay 22, 2003 3:35 pm 
Mitch (WebCob)May 22, 2003 6:05 pm 
Sam VarshavchikMay 22, 2003 6:29 pm 
Gabriel AmbuehlMay 23, 2003 2:24 am 
Gabriel AmbuehlMay 23, 2003 2:27 am 
Courier UserMay 23, 2003 7:54 pm 
James McOrmondJun 15, 2003 8:30 pm 
Rodrigo SeveroJun 16, 2003 5:02 am 
James A BakerJun 16, 2003 5:36 am 
Bill MichellJun 16, 2003 5:49 am 
Rodrigo SeveroJun 16, 2003 8:20 am 
Sam VarshavchikJun 16, 2003 9:16 am 
Rodrigo SeveroJun 16, 2003 12:20 pm 
Sam VarshavchikJun 16, 2003 3:07 pm 
Systems AdministratorJun 17, 2003 8:48 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: More concerning SpamAssassinActions...
From:Rodrigo Severo (rodr@fabricadeideias.com)
Date:Jun 16, 2003 8:20:40 am
List:net.sourceforge.lists.courier-users

Bill Michell wrote:

Rodrigo Severo writes:

I tried to rewrite a message using a modified version of the perlfilter to see what would happen and, surprise! It worked. But Mr. Sam told me that it was just good luck. I'm not sure why.

This almost certainly has something to do with support either for messages which are not pure 7-bit ASCII, or for MIME-encoded messages. While it is pretty easy to rewrite ordinary test messages, anything that has to cope with extended character sets or MIME has got its job cut out.

AFAIU, you mean that the "new" message I write might not to be right. Well, if this is the only concearn, I think there is nothing to be worried about. If someone decides to rewrite a message, it his job to guarantee that the new message is right. In my case, Amavisd-new is going to rewrite the message, and, AFAIK, Amavisd-new knows how to rewrite a message ;)

James Baker believes the problem is that Courier keeps some kind of map of the message (MIME parts, headers, etc) in memory and so any rewrite might break this map.

Mr. Sam, could you please enlighten us?

Why can't a global filter rewrite a message?

If you could also point where in the code the problem resides it will certainly get easier to find a solution.

TIA,