store messages
Kevin Miller
Kevin_Miller at ci.juneau.ak.us
Wed Sep 9 20:53:43 IST 2009
Gavin Silver wrote:
> My mailscanner stores no mail currently. it only relays for multiple
> domains. ( no /path/to/mail)
>
> I would like to be able to push individual messages through sa-learn
>
> I am also using mailwatch which is nice because i can view the
> message list and drill down on a message in particular and then mark
> is as ham/spam. Right now i am not giving that option unless the
> message is a virus because those are the only type of messages i
> store. everything else gets delivered dismarmed(if spam) and the
> subject altered (with spamscore if spam)
>
> I guess i could just add "store" to the operations list in addition
> to the deliver disarm rewrite etc and then figure out how to tell
> postfix to flush messages older thanx days, but i fear i am over
> simplifying the process. ----------------------------------
I run my MailScanner boxes as gateways as well, and store the mail for a couple weeks. I have a simple bash script that deletes anything older than X days in the quarantine directories. Your MTA doesn't have to be involved w/flushing them. They're just files on the hard drive.
Regarding pushing individual messages through sa-learn, I use MailWatch for MailScanner. It is a nice web based interface for managing and reporting the mail. Easy to feed the messages to spamassassin. It keeps track of the messages in a mysql database, so if you adopt it, you'll need to set the database cleanup time to match the shell script. That is, if you delete mail older than 30 days, you'll want the database to also be cleaned of anything older than 30 days. There's a MailWatch discussion list similar to this group where you can get help installing and configuring it.
...Kevin
--
Kevin Miller Registered Linux User No: 307357
CBJ MIS Dept. Network Systems Admin., Mail Admin.
155 South Seward Street ph: (907) 586-0242
Juneau, Alaska 99801 fax: (907 586-4500
More information about the MailScanner
mailing list