Duaine Hechler said the following on 08/24/2010 06:19 PM:
Now, if I can tell spamassassin to delete it from the POP server then
You can't. It doesn't work that way. Like you were told, SpamAssassin TAGS mail. What you want is this: use 'fetchmail' to get the mail from the POP server and hand it over to 'procmail' Among other things, 'procmail' pipes in into SpamAssassin and back and then looks at the tags. 'Procmail' can do the delete, or 'rate' the severity/likelihood. It can also whitelist and blacklist. I use the whitelist to avoid the load of sending known 'closed' and presumable 'safe' mailing lists directly to my local mailbox rather than waste effort running them through spamassassin. If you check the archives I've described my setup at length before. Let me repeat that SpamAssassin ONLY tags the mail. You can't use it to delete. You need to have a wrapper around it such as procmail Some user interfaces such as Thunderbird have the hooks to fetch from the repository, pipe though SpamAssassin and then you can set up filters on the tags. Pop is fine, but the pop protocol "downloads" and removed the mail from the server. I use that to fetch and empty my various _remote_ mailboxes and, via fetchmail/procmail/spamassassin put them in my local mail server. I then access it with Thunderbird using IMAP. Unlike POP, IMAP does NOT delete on read. POP and IMAP are very different. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org