more Anti-Spam options

You have suggestions to improve PopMan? Here is the right place to mention them.

Moderator: Christian

Posts: 1
Joined: 24 Apr 2006, 16:11

Post by pman » 24 Apr 2006, 16:19

Hi Christ,

How do i delete any unwanted attachment automatically like .pif, .bat, .scr etc...?
*** actually i received a lots of files like .pif .hqx .bhx .mim (100+ per day).

Thanks in advance.

User avatar
Posts: 53
Joined: 24 Jan 2005, 09:05
Location: Delft, Netherlands

Post by Jeroen » 24 Apr 2006, 16:47

I think it should be possible, but not advised, to use a rule like this:

Mail contains any of {".pif", ".bat", ".scr", "etcetera"} -> MarkForDelete

This rule should check the raw source of the message, and the attachment should be somewhere in there. So this rule should mark those messages for deletion. Be aware that it marks ALL messages containing this text for deletion, also the messages with, for example, the sentence "I watched Spiderman.Batman is a better movie" :wink:

User avatar
Site Admin
Posts: 319
Joined: 11 Jan 2004, 13:04
Location: Magdeburg, Germany

Post by Christian » 24 Apr 2006, 17:26

You are right, Jeroen!

But you can extend the rule to make sure that there is at least an attachment:

Mail contains any of {".pif", ".bat", ".scr", "etcetera"} AND
Mail contains all of {"Content-Disposition: attachment", "Content-Type: application/octet-stream" }
-> MarkForDelete

So you will have to look at the source of some unwanted mails to find the patterns...
Christian Hübner

Posts: 66
Joined: 16 Oct 2005, 07:12

Post by Tommy » 26 Apr 2006, 18:08

thank you again Christian. this "rules" feature is awesome!!!! POPMAN RULES!!!

Posts: 66
Joined: 16 Oct 2005, 07:12

Post by Tommy » 04 May 2006, 05:52

hey folks, watch this topic about an antispam idea i had this morning: viewtopic.php?p=960#960

Post Reply