How to teach spamasassin to recognise junk mail?

I'm planning on using Spamasassin to filter my email.
I do have about 17.000 spam messages in AppleMail and about 100.000 legit messages.
Is it possible to use this collection to teach Spamasassin?
If so how would I achieve this?
Is there any other software I should rather use?
TIA
Hans

Page 51 of the OS X Server Mail Service documentation tells you how to do this.
Easily obtainable here:
http://www.apple.com/server/documentation/
http://images.apple.com/server/pdfs/MailServicev10.4.pdf
I'd probably make sure to su clamav
and run it as the clamav user (make sure the directory and files are readable in terms of permissions)
It might interest you to use spamtrainer, available here:
http://osx.topicdesk.com

Similar Messages

  • I have an iphone 4 how can I delete all my junk mail at the same time without having to selct each maessage

    How do i delete or empty all the messages in my junk email at the same time without having to mark each message?

    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup
    Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.

  • How can I delete all my junk mail or a large number of emails in one go?

    Please can someone tell me if I can delete all the mail in my junk or a large number of mail (100+) in go? I'm so fed up of spending 5-10 mins just selected each mail and deleting it one by one!
    Please help or apple update ASAP. Even old school phones have a delete all button!
    Thanks :)

    Lulu6094 wrote:
    Even old school phones have a delete all button!
    But the iPad mail app does not have one. You must select them one at a time.
    http://www.apple.com/feedback/ipad.html

  • How can I download my hotmail junk mail and other folders?

    I linked my account and i can only see inbox. Please help if possible, thanks!

    Because you are accessing the account as a POP account, which is the nature of a POP account.
    You can access the account as an Exchange account. All server stored mailboxes with the account will be available automatically when accessing the account with the iPod Touch Mail app along with all server stored mailboxes kept synchronized with the server.
    None of this is available with a POP account.

  • How do I send junk mail to spam on my iPad and iPhone?

    How do I get rid of junk mail. The more I unsubscribe the more I get.  Can you send to spam on iPhone or iPad?

    I suggest you rely on your email service provider to do that.  If you're not happy with your provider's filtering, Gmail has a good reputation for filtering spam.

  • Thunderbird has totally blocked junk mail, how do I unblock it?

    Thunderbird won't receive any junk mail whatsoever, from time to time some emails labeled junk aren't as such. This is quite annoying as it forces me to use other email programs, how do I get Thunderbird receiving junk mail?

    Is this a POP account? Where is the junk mail located in the Hot mail folders? Thunderbird only connects to the Inbox of POP accounts. If the messages are not in the Inbox of a POP account it cannot download them. Fix the Hotmail filtering so it stops placing wanted messages in a junk folder.

  • Question about training junk mail

    In Mail I've set the Junk preference as 'Move it to the Junk Mailbox', but it's missing quite a few junk mails & delivering them to my Inbox.
    So I thought I'd set it to 'Leave it on my Inbox... (Training)' & mark them manually for a while.
    I'm thinking that if I train Mail to recognise all the junk mail for a while I'll be able to switch it back to 'Move it to the Junk Mailbox' & should catch the junk mail that it previously missed.
    Am I right in thinking this?
    If so then how long (roughly) should I train junk mail for? If not any suggestions on what might be the best thing to do?
    (Would leaving the setting at 'Move it to the Junk Mailbox' but clicking the Rest button in preferences help?)

    What Dan said. The junk filter never stops learning, and learns the same regardless of the mode of operation. What trains the filter is manually marking messages as either junk or not junk when Mail fails to correctly identify them.
    The only difference between Training and Automatic modes is whether junk mail is automatically moved to a separate Junk mailbox or not. Keeping junk mail in the Inbox is called Training mode simply because nobody in his/her right mind would want to keep doing that after having trained the filter for some time. The filter could be set Automatic mode right away without that having any adverse impact on its training.

  • Junk mail in mail

    How do I access my Hotmail Junk Mail from the Mail in my mac Mini?

    Hi-
    If you open the Preferences under Mail > Preferences in the menu and go to the Junk Mail tab, do you have it marked to "Move to the Junk mailbox (Automatic)" when junk mail arrives? You don't have to do the "training" option, which leaves the junk mail in your inbox. Just make sure if you set it on automatic that you mark mail as "junk" or "not junk" if it goes to the wrong box and the training will still take place.
    Hope this helps.

  • Junk mail folder in iOS7 MAIL?

    in iOS7, how do I set up a junk mail folder in MAIL. I use gmail.

    Thanks Mulder, I did have 'Enable Junk Mail Filtering' on, but had 'Leave it in my Inbox but indicate it is Junk mail (training)'. I have now checked 'Move it to the Junk Mailbox (automatic)'. I now have a Junk Mailbox showing. Thank you for your assistance. Cheers.

  • How can I delete ALL of my junk mail at the same time?

    Hello I need some help!
    I could not check my e-mail for a week and now I have nearly 600 junk mail on my mail box.
    I am too busy to delete the junk mail one by one.
    Mac wizard, please tell me how to delete all the junk mail at once!

    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup
    Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.

  • I have several imap accounts and want to click one button to empty all junk mail at once. How can I do this?

    I currently run Apple Mail on Lion with several IMAP acocunts... I know that there is a right-click option to remove "all deleted" messages  but what If I wanted to do the same for all messages marked at junk in all accounts.  It's really a pain to have to click on each account, select all the junk in the junk folder, press delete over and over.. and then right-click and select "Erase Deleted Items"    Why the heck can't they just have "Erase All Spam Items" also... ??   Or how about "Erase all SPAM and DELETED ITEMS from ALL accounts"   ????

    I found the solution and here's how to correct things:
    Apple Mail
    Mail has a feature, accessible from the Mailbox Behaviors (or Special Mailboxes) tab of the Accounts preferences, that can automatically delete old spam messages from the Junk mailbox. You can use this feature if you tell SpamSieve to put spam messages in the Junk mailbox instead of the Spam mailbox.
    (Note: If you do this, be careful not to use the Junk and Not Junk buttons that will appear in Mail when the Junk mailbox is active; you should always use the SpamSieve - Train as Good and SpamSieve - Train as Spam commands instead. You can use the Customize Toolbar… command in Mail’s View menu to remove the Junk button from the toolbar. Also, if you select a message that SpamSieve has classified as spam, Mail will show a banner saying that you marked it as junk. Ignore this.)
    Make sure that Mail knows which mailbox is your Junk mailbox by selecting it and choosing Mailbox ‣ Use This Mailbox For ‣ Junk.
    To tell SpamSieve to use the Junk mailbox, open Mail’s Preferences window and click on Junk Mail. Make sure that Enable junk mail filtering is checked. Select Move it to the Junk mailbox. If Mail asks whether you want to move all the messages to the Junk mailbox, say No. Next, select Perform custom actions. Then click theAdvanced… button and edit the rule such that the conditions don’t match any messages. For example, use these two conditions:
    Message is addressed to my Full Name
    Message is not addressed to my Full Name
    and set it to If all of the following conditions are met. Click OK to close the sheet. Do not make any further changes to the Junk Mail preferences.
    Go to the Rules section of Mail’s preferences and change the SpamSieve rule to move the messages to the Junk mailbox instead of the Spam mailbox. Finally, chooseSpamSieve - Change Settings from Mail’s Message menu and, when prompted, say that the name of your spam mailbox is Junk.

  • How can I remove the junk mail folder from appearing in my macbook mail program?

    Hi all
    Can someone please tell me how I can remove the "junk" mailbox from showing in my mail program on my macbook? It wasn't there before and I would like it removed. I've attached a screen shot to be clearer in my request.
    Thank you!

    Hey PrincessJasmine,
    I see that you wish to get rid of the Junk Mail folder from your sidebar in Mail on OS X. I have an article for you that will explain how to do this:
    Choose Mail > Preferences, then click Junk Mail. Make sure “Enable junk mail filtering” and “Mark as junk mail, but leave it in my Inbox” are selected.
    Mail (Yosemite): If junk mail filters aren’t working correctly
    https://support.apple.com/kb/PH19190
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • TS4002 How can I change iCloud junk mail settings from my iPhone?

    I have junk mail filtering turned on in iCloud. If it incorrectly tags mail as junk it is easy to correct using the web interface but there doesn't seem to be a way to do it from iPhone. How can you mark mail as junk / not junk from iOS? Matters are made worse in that it is not even possible to access the web app from an iOS device?

    Yes! Fine if you have a computer and of course that's exactly what I do. But it is a bit frustrating! iOS and iCloud are supposed to be seamlessly integrated and this seems like a big omission. And with the push towards iOS devices being completely independent devices, unhooked from a computer, this seems like something that should be improved upon. Seems minor, but if you use your iOS device as your primary email client it is a real hassle. I'd be surprised if nobody else is frustrated by this. Anyone? How do you go about nagging Apple to sort it out?

  • How do I put junk e-mail in the junk mail box on my iPad automatically like it does on iMac?

    Does anyone know how to get junk mail to go into the junk mailbox on an iPad like it does on the iMac?

    That is a function of your email providers server when it comes to iOS. The mail client does not have any way to create and run rules.

  • How can i see previous sent mail and junk mail on my new iMac?

    Hi guys.
    I'm new imac user.I use Mavericks 10.9.When i install my mail accounts one of them which is Hotmail my imac downloaded whole incoming box.this is ok.But didnt download previous sent outgoing mail.So my outgoing folder empty.And how can i see my junk mail on my new imac's mail app.
    Thanks all

    Is anybody know these answers?

Maybe you are looking for