[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

automating sa-learn via cyrus mailbox?



i've been thinking again, so to avoid doing something dangerous
i thought i run it past y'all'uns-- :)

we're running cyrus21 and exim4 for email services, and would
like to automate the "sa-learn" feature system-wide.

so why not create a "user.spam" cyrus mailbox, BOUNCE any spams
there and have cron do some sort of automated "sa-learn --spam"
on the results, and then delete them?

anybody doing anything like this? got code i could sniff before
i work up my own wheel from scratch?

====

also -- sa-learn appears to work based on the shell user's home
~/.spamassassin/* files, and our cyrus setup is non-shell-user
heaven. do we have to "su - $spamassassin_user" before
"sa-learn" will work the way we want? haven't been able to track
it down in black-and-white yet...

-- 
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
 
DEBIAN NEWBIE TIP #111 from Alvin Oga <aoga@Maggie.Linux-Consulting.com>
:
HOW TO MAKE DEBIAN MORE SECURE:
1. turn off everything in inetd: sunrpc, printer, unknowns,
   netbios, finger, time (comment-out lines in /etc/inetd.conf
   or later versions in xinetd.d/*)
2. you need to verify that you are running bind-8.2.3 or better
3. turn off ftp (especially anonymous ftp)
4. if you allow users to upload files... make them do it it with scp
5. for more hardening stuff, see http://www.Linux-Sec.net/
and for generic debian security updates be sure you have
these in /etc/sources.list:
	http://security.debian.org/debian-security stable/updates main contrib non-free
	http://security.debian.org/debian-non-US stable/non-US main contrib non-free
	http://security.debian.org stable/updates main contrib non-free

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: