Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have followed Falko's excellent 'Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10)' tutorial. I now have a mail server up and running serving various domains. Top job Falko. Thanks.
Most of my accounts use IMAP, so the mail stays on the server. What I would like to be able to do is tell SpamAssassin to go though the Junk folders of all the mail accounts on my server and learn what has been tagged as junk/spam, and possibly also go though all read mail and learn what is ham. Is this possible.
I am actually running Ubuntu 11.04 rather than 9.10.
My SpamAssassin is V2.02-beta13, Postfix V2.8.5, Courier Imap 4.8.0-3
I'm not really sure how the mail is stored on the server let alone how to get SpamAssassin to read though it and learn whats spam and whats ham. Its all stored under one user, split in to sub folders for domain, then again for each mail account. Any help on getting this automated via a cron job or similar would be much appriciated.
I am using perl to achieve this. The Mail::IMAPClient and Email::Address modules are good for stepping through the folders and checking the message headers - then use system calls to the spamassassin tools to learn or unlearn as appropriate.
Thats great. Thanks for the info. I do have one question though.
I am marking all my spam with Thunderbird and having it transfer everything to a junk folder on the account. Apart from apearing in the folder, how can I tell its spam. I have looked though a couple of spam emails, marked as such with thunderbird but don't see any x-spam like info in the header. I have also checked two copies of the same email, one marked as spam and one not, and diff reports not difference. How does thunderbird keep track ? Can thunderbird add this info to the headers or does it use a different method to mark the message ? I havn't been able to find any info on this.....