I am looking for opinions.
I have been building a new mailserver to replace my old one.
The new one has postfix, Cyrus-imap, anomy, spamassassin. I am trying to set up the bays auto-learn stuff. Each user has a home directory on the server (they can not log onto the server). I am using the Maildir format.
Is it better to have a cron job run by a single user (say root) to do the ham / spam learning for everyone, or should I run a cron for each individual user. All users belong to the same company.
Problem I have thought of with the latter.
1. There would be approximitly 130 cron jobs running sa-learn at the same time .... or it would run constantly if I staggered it for every user. What kind of load will that have on my 850 with 756 MB of ram ?
Problems I have with both:
1. What is the best method of obtaining the spam / ham. I have the server create a spam folder for each user when the user is created. spamassassin will automatically put all mail marked as spam in this folder. Obviously I will use this folder to run salearn on for spam. I will also instruct users to move mail that is spam that was not marked as spam to this folder. My problem is, where do I run salearn for ham. If I run it on the INBOX, then I could potentially be running it spam mail that has not yet been moved to the spam directory.
2. How often should I run sa-learn ? Users here for the most part get mail in their inbox and then after reading it move it to some other sub folder ... (of which everyones is different, and some have over 100).
Are there any downfalls to running a site wide one ? What is the best method of doing this if this is a better method. Currently I plan to use this to learn the spam. Does anyone see any problems.
(Note: this assumes it is being run as a particular user.)
/usr/bin/sa-learn --spam --dir ~/Maildir/.Spam/new /usr/bin/sa-learn --spam --dir ~/Maildir/.Spam/cur mv ~/Maildir/.Spam/new/* ~/Maildir/.Trash mv ~/Maildir/.Spam/cur/* ~/Maildir/.Trash
Thanks for the input,
Peter
-- Peter Marshall, BCS System Administrator, CARIS
CARIS 2005 - Mapping a Seamless Society 10th International User Group Conference and Educational Sessions Halifax, NS, Canada E-mail [EMAIL PROTECTED] for more.