At 10:56 AM 9/13/2005, Theo Van Dinter wrote:
On Thu, Sep 08, 2005 at 11:00:28AM -0400, Matt Kettler wrote:
> AFAIK this isn't all that easy in SA versions under 3.1.
It's actually the same difficulty with 3.0 as with 3.1. Just use a plugin.
(Ok, 3.1 is easier since the plugin already exists ..
On Thu, Sep 08, 2005 at 11:00:28AM -0400, Matt Kettler wrote:
> AFAIK this isn't all that easy in SA versions under 3.1.
It's actually the same difficulty with 3.0 as with 3.1. Just use a plugin.
(Ok, 3.1 is easier since the plugin already exists ... But it wouldn't be
hard to write a custom one
Loren Wilton wrote:
This is completely untested, but something along these lines might work for
you.
header __BOGUS_SENDERFrom =~ /[EMAIL PROTECTED]/i
full__ATTACH_HDR/\nContent-Type\:.{0,100}\sname=\".{1,50}\.pps\"/is
metaBLOCK_STUPID_PPS__BOGUS_SENDER && __ATTACH_HDR
score
This is completely untested, but something along these lines might work for
you.
header __BOGUS_SENDERFrom =~ /[EMAIL PROTECTED]/i
full__ATTACH_HDR/\nContent-Type\:.{0,100}\sname=\".{1,50}\.pps\"/is
metaBLOCK_STUPID_PPS__BOGUS_SENDER && __ATTACH_HDR
scoreBLOCK_STUPID_PPS
Matt Kettler wrote:
Arthur Kerpician wrote:
Realistically it will be significantly easier to do this in
qmail-scanner. Blocking a specific filename is just as easy as
blocking an extension. Just edit your quarantine-attachments.txt.
There's examples in there of blocking by complete filename
Arthur Kerpician wrote:
>>
>> Realistically it will be significantly easier to do this in
>> qmail-scanner. Blocking a specific filename is just as easy as
>> blocking an extension. Just edit your quarantine-attachments.txt.
>> There's examples in there of blocking by complete filename.
>
>
> Th
Matt Kettler wrote:
At 06:27 AM 9/8/2005, Arthur Kerpician wrote:
Hi,
I'm pretty new in writing custom SA rules and I was wondering how can
I check if a message has an attachement with a specific extension (eg
.pps). What I'm trying to do is to tag as spam messages that have
.pps attachemen
At 06:27 AM 9/8/2005, Arthur Kerpician wrote:
Hi,
I'm pretty new in writing custom SA rules and I was wondering how can I
check if a message has an attachement with a specific extension (eg .pps).
What I'm trying to do is to tag as spam messages that have .pps
attachements and are coming from
Hi,
I'm pretty new in writing custom SA rules and I was wondering how can I
check if a message has an attachement with a specific extension (eg
.pps). What I'm trying to do is to tag as spam messages that have .pps
attachements and are coming from one e-mail address. I don't want to
block all