Greetings.

I'd like to create the per-user folders "LearnAsSpam" and "LearnAsHam" for my users, into which they would put messages they've verified to be either spam or ham. Then, a nightly job would come along, feed the messages in those boxes to SpamAssassin, and delete them from the database.

I've read that grabbing messages directly from the database (e.g. via a Perl script) is a bad idea and difficult to implement, anyway, since they're fragmented across several tables and rows.

So, I'm envisioning a master user/password that can access everybody's spam/ham folders. I could log in via IMAP as that user (again, from a Perl script), get the messages in the usual IMAP way, and process them. Presumably, I could also add an ACL for localhost-only access, to address the obvious security issue.

I've been scouring the web for information on how to create a master user but haven't been able to come up with anything.

Is this the advisable way to approach this problem in the first place? If so, what do I need to do to get that master user going?

Thanks.

Colin
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to