From: Brian G. Peterson <brian@br...> - 2006-09-19 19:39:52
On Tuesday 19 September 2006 13:47, Jorge Bastos wrote:
> Hum... that's the problem, i only want to do this for some accounts,
> not systemwide :(
> Any idea? or any sieve guru here?
Sieve doesn't support examining MIME parts. There is a draft extension
that would solve this problem in the spec:
For now, something like I've provided might be your only solution.
Some implementations of Sieve (but not Cyrus) provide the content as
x_body, making it addressable by regex rule.
> From: "Brian G. Peterson" <brian@...>
> Sent: Tuesday, September 19, 2006 6:59 PM
> > On Tuesday 19 September 2006 11:32, Jorge Bastos wrote:
> >> With avelsieve, how can i block certein extensions that are in the
> >> messages attachments? I don't see any option here. Or even, how can
> >> i do this via code?
> > I don't know about in avelsieve, but here is the systemwide
> > procmailrc I use to block certain attachment extensions.