Log in

No account? Create an account
User Mode Linux & SpamAssassin - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

User Mode Linux & SpamAssassin [Dec. 22nd, 2003|03:12 am]
Brad Fitzpatrick
[Tags|, ]

My mail is now going into one host (Debian Stable), then being piped through spamc "across" the network back into the same machine, but to a User Mode Linux host running a modern spamd (Debian Unstable).

User Mode Linux is very cool/fun/useful.

Unfortunately, now spamd can't get access to each user's ~/.spamassassin/user_prefs because it doesn't see that filesystem, and even if I made it, it wouldn't have necessary permissions.

So, it looks like I'll need to learn SpamAssassin's MySQL backend to get user prefs, which is actually nice. It's something I oughtta learn anyway.

But reading the spamc/spamd protocol, I'm curious why they didn't just include protocol support for the client pushing its config to the server. Configs are small. Ideally postfix would get it, switch to the user the mail's for, run the global /etc/procmailrc, which runs spamc, spamc picks up its config, pushes it to server, etc. Auto-whitelisting score database and bayesian stuff could also be stored on the server, modified via spamc.

[User Picture]From: muerte
2003-12-22 08:18 am (UTC)
I don't understand the advantage of running SpamAssassin inside its own virtual machine. What do you gain by running it separately like that.
(Reply) (Thread)
[User Picture]From: mart
2003-12-22 11:12 am (UTC)

Brad is running Debian Unstable inside Debian Stable. I guess this way he gets to stay pure Debian stable while still using SpamAssassin.

(Reply) (Parent) (Thread)
[User Picture]From: ydna
2003-12-22 02:04 pm (UTC)
You can also get the 2.6 SpamAssassin stuff from http://backports.org/. I discovered this after I started packaging my own. Specifically, the packages are available in here.
(Reply) (Thread)
[User Picture]From: brad
2003-12-22 02:13 pm (UTC)

(Reply) (Parent) (Thread)
From: evan
2003-12-22 11:25 pm (UTC)
also, http://www.apt-get.org/ has lotsa stuff. i usually check there first when i find something cool that isn't in debian.
(Reply) (Parent) (Thread)