Re:How to set up a mail server on a GNU / Linux system
by tsuraan on Monday January 30, 2012 @11:59AM
(#3529490)
While in college, my housemates had a Linux mail server configured with individualized spam filtering; every user had an IMAP "spam" folder and a "ham" folder; they could move false negatives from their inbox to the spam folder, move false positives from spam to ham, and a nightly job would run and generate custom statistics for each user. It was remarkably slick, and for years I've been trying to figure out what that setup was. Does anybody have any ideas, or actual links to similar tutorials?
[ Parent
| on HN ]
Re:How to set up a mail server on a GNU / Linux system
by BCM43 on Monday January 30, 2012 @12:38PM
(#3529694)
Make a cron job run this? http://spamassassin.apache.org/full/3.0.x/dist/doc/sa-learn....
Re:How to set up a mail server on a GNU / Linux system
by flopunctro on Monday January 30, 2012 @12:08PM
(#3529535)
The "spam" and "ham" IMAP folders correspond to a certain file or folder(1) on the server. Email users have the learning commands in crontab. These are as simple as "sa-learn --spam /path/to/spam_folder; sa-learn --ham /path/to/ham_folder".
(1) file if the backend is mbox, folder if the backend is Maildir.
Re:How to set up a mail server on a GNU / Linux system
by yesbabyyes on Monday January 30, 2012 @12:15PM
(#3529572)
We did this for my old company, with Cyrus IMAPd and spamassassin. The mail directories are regular directories on the server, and then it's just a cronjob. I regret that we didn't think of Google's priority inbox, which would have been trivial to implement!
Re:How to set up a mail server on a GNU / Linux system
by Nick_C on Wednesday February 01, 2012 @01:56AM
(#3537012)
It probably was using a bayesian filter of some sort. There are many, I use bogofilter because my email app comes with it, and there is HNer jgc's popfile.
Actually setting up a multi-user SMTP and IMAP server on Linux is straightforward if you've done it before, or it is here-be-dragons stuff if you haven't. (Your distro might configure it all up for you prepackaged, or you could be in for a lot of reading.) Integrating the bayesian filter is probably the easy part.
If it is only for you, it is perhaps easier to integrate it with your email app rather than at the server level. Popfile will do that.
Re:How to set up a mail server on a GNU / Linux system
by thaumaturgy on Monday January 30, 2012 @08:50PM
(#3531422)
I do something similar for my customers via Roundcube/SpamAssassin. With a little bit of effort, you can get SpamAssassin to store its Bayes statistics in MySQL, and then you can have a "mark as not spam" and "mark as spam" function in Roundcube which ties back to sa-learn which will update the per-user Bayes data in MySQL.
Getting it to work right was a little fiddly though.
Re:How to set up a mail server on a GNU / Linux system
by thehermit on Monday January 30, 2012 @12:47PM
(#3529752)
I used this setup for years before switching to google apps using dovecot and dspam.
Doing a quick search this seems to be very close and up to date. http://www.owlfish.com/thoughts/dovecot-antispam-2011-03-21....
Re:How to set up a mail server on a GNU / Linux system
by pavel_lishin on Monday January 30, 2012 @12:05PM
(#3529521)
I'd just e-mail them and ask them. (And hope that your email doesn't fall into the spam box :) )