Benches Uncategorized

8

Spamsieve and ClamAV

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I know that these processes normally scan mail before it ends up in the users inboxes.

But is it somehow possible to scan mail that is already in users mailboxes?

Kind regards
Hans

8 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You can apply SpamSieve to any selected messages by choosing Apply Rules from Mail's Message menu.

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you for your reply.
    I appologize for not being clear enough on my question and for mixing up names.

    What I'm asking is whether it is possible to run Spamasassin and ClamAV on messages already stored in client mailboxes on the server. That is, the same set of messages that is displayed when using IMAP and Webmail.

    Kind regards
    Hans

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes I understand this.

    The reason for this thread being separated from the other is that we already have some thousands of spam messages on the internal server and the question is how to get rid of them without doing it manually?

    You see, I had always been under the impression that it was a "just a thing to do" to clean users inboxes once the spam mechanism was up and running.

    Is this assumption false?

    Kind regards
    Hans

  5. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The reason for this thread being separated from the other is that we already have some thousands of spam messages on the internal server and the question is how to get rid of them without doing it manually?

    If you know the messages are spam, why run them through the spam filter?

    If you need to clean out a mailbox on your server (not client), either use ipurge or mailbfr -p (see "man ipurge" and "man mailbfr").

  6. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have a few IMAP/POP mailboxes on the server that contain some thousands of messages. some of them are ham messages and some are spam.

    How do I separate and remove the spam messages from these folders?

    On the clients machines I have a duplicate of those messages only there the spam messages are in the junk folders while the ham messages are in the inbox. I used and trained spamsieve (please correct me if I'm wrong about the name) on those machines to seperate the two categories from each other.

    I therefore had the idea to use a portion of the spam messages from the client machines to teach spamassassin on the server about these message and then use, if possible, spamassassin to remove the spammessages from the inboxes.

    Let me know if my line of thought is wrong and I need to use a different approach.

    Kind regards
    Hans

  7. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    As mentioned twice before, it makes no sense whatsoever to try and train the SpamAssassin database with loads of old spam and ham. You are way better off feeding the Bayes DB with new spam as it comes in.

  8. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This I do understand.

    But what options do I have to seperate the spam already in the clients IMAP accounts from the good messages?

    That is remove the spam and leave the good messages.

    Kind regards
    Hans