Train Spamfilter Mailserver HowTo?
-
benny
You should use the “Rules” pane in the mailbox editor to setup rules which identify spam and then uses rule actions to mark, redirect, and trash the spam emails.
Trashing the sent emails is going to be more tricky I guess. It would be possible to setup a mailbox which matches emails that are related to emails marked as spam. This mailbox could then have a rule which deletes the emails. There's a bit of a race condition though since you are also deleting the redirected emails... Maybe postpone this part of the puzzle until the main parts are working.
See more about smart mailboxes here.
-
matthias
As I want this on demand, because not every mail marked as spam by SpamSieve is spam, I'd need to setup for each account a subfolder with the action filter on it, which starts running as soon as a mail is dropped in.
Is there another way to create a script - like with MailActOn or AppleScript?
Maybe with your plugin api?
Thanks
Q -
benny
Hmm, if I understand correctly then you could instead create a tag for these emails, e.g., name it
ActOnThis. You could then make a smart mailbox which matches all of these emails and add the rules to that mailbox. Does that make sense?And yes, a bundle could probably do anything you want, but it'll be much simpler if you can avoid it.
-
benny
The work-in-progress documentation for bundles.
-
matthias
Benny,
thanks for the tips.
So I followed you advice and all the mails, which I tagged like that are showing up in the smart folder, but the action is not applied.
Here's what I did in the rules editor for that box:
Under Mailboxes: Any of the following mailbox: Junk
Conditions: All of the following are true: Tags is SendToServ
Submailboxes: -
Rules: 1 Rule: All of the following is True: To is not my@gmail.com
Redirect junkmail@domain.tls
Delete Permanently
What am I missing?
Thanks
Q -
matthias
I don't know how and why, but now it works :-)
Thanks again
Q
p.s. I bought a license as well :-)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.