Page 1 of 1

mark as "spam" certain domains

Posted: 09 Dec 2007, 13:35
by Tommy
is it possible to create a rule to filter certain domains from email addresses ad spam.

this slightly differs from black list were selected domains are autoatically deleted.

Posted: 09 Dec 2007, 14:39
by Christian
You can use a rule like this:

Code: Select all

[Name="Bad Domain Spam"]
From contains any of Bad_Domains -> MarkForDelete, NotNew, Read

define list Bad_Domains = {
"@domain.com",
"@other.domain.com"
}
Note that since PopMan 1.3 Beta 16, there is a setting that can be used to specify that all black listed mails are not deleted but only marked for delete. Maybe this is just what you want. To enable this setting you have to open your PopMan.ini and search the item "MarkBlackListedMail" and set it to 1.

Posted: 09 Dec 2007, 16:13
by Tommy
thanks, your rule works!!!

what i want is to have blacklisted domains to be automatically deleted (i.e. @freeporn.com ; @viagra.com ; etc) becuase i know for sure that are spammers.

on the other hand i want other domains to be marked for deletion.
many spammers use diffuse domain like @hotmail.com or @gmail.com to avoid blacklist.

what i can do with this new rule is to mark for deletion all mail from these domain and avoid deletion of freinds message who have the same domain with the White list