Would it be possible to set SpamAssassin to delete the mail it flags as spam sent to the catch-all account? If yes, how?
This is a discussion on Can SpamAssassin Delete Spam Sent to Catch All? in the Shared & Semi-Dedicated forum
Would it be possible to set SpamAssassin to delete the mail it flags as spam sent to the catch-all account? If yes, how? ...
Would it be possible to set SpamAssassin to delete the mail it flags as spam sent to the catch-all account? If yes, how?
I don't think so, at least not as things stand right now. You would need to do a combination of SpamAssassin and an email filter because SpamAssassin just flags spam, it doesn't delete it and its settings are account wide--you can't tweak them for just the catch all.
You can also set up a filter to delete all email marked as spam by SpamAssassin, but again, this is an account-wide setting that will effect all mailboxes in your account, not just the catch all.
What CPanel needs to do is add a little logic to their filters, allowing you to group multiple rules with AND or OR, such as:
Delete messages which are flagged by SpamAssassin AND exist in the mailbox xxxxx.
I know that CP doesn't support this, although the backend filtering program may if you want to mess with the config files yourself. Another possibility might be to do something with procmail, but I've never tried to configure it, so I have no idea if what you want to do is possible.
--Jason
Don't know for sure, having dropped Spam Assassin myself some time ago in favor of other solutions to this very same problem. I'd been burned once too many times with S.A. to trust it with my email again, although reports on it from the last year or so indicate the problems many of us had seen with it have been resolved.
Maybe you could set it up to flag things with a common header, then set up a filter on that. I do something like that (without S.A.) on some accounts using a combination of forwarders and the cpanel filters. Jason seems the current S.A. expert here. I'll bet he might have some ideas on the proper S.A. approach.![]()
The trouble with our times is that the future is not what it used to be.
- Paul Valery
Ah, I see Jason already answered. Must have snuck in just before I started my own post....
The trouble with our times is that the future is not what it used to be.
- Paul Valery
Copyright © 2011 JaguarPC.com
Bookmarks