Justin Mason wrote: > > Michael Parker writes: > > >Justin Mason wrote: > > >>Michael Parker writes: > >> > >>>Gerard Earley wrote: > >> > >>>>I am debating building a logging tool to record the spamassassin scan > >>>>results to a MySQL DB. > >>>> > >>>I've had this on my TODO list for awhile, glad to see someone looking > >> > >>at it. > >> > >>>> 1. Plugin which dumps the info from directly within SA itself. > >>>> > >>>Do this. There may not be a plugin hook at the appropriate place. If > >>>not, then feel free to add one and supply a patch, I'll seriously > >>>consider it. > >> > >> > >>Michael -- > >> > >>- From within spamd, or within Mail::SpamAssassin::PerMsgStatus? > >>(in my opinion the former makes more sense.) > >> > >Well, within spamd might make the most sense, but I didn't want to limit > >the usability. If it's limited to spamd then programs that make calls > >via the API would not be able to make use of the functionality, > >including spamassassin. > > > Good point. It'd also help in terms of setup and debuggability. > > --j.
Spamd is very tempting idea and from a system resources point of view very efficient. Though If it was implemented as a plugin would it not automatically be called by spamd ? And if that's the case, a plugin would allow wider a selection of OS's to be able to use it and avoid issues such as how a particular OS stores its syslog info, etc... Plus if the DB schema was well written it would be much more database transparent as well, meaning it would be easier to use other databases apart from MySQL. I'll have to examine the data stored in the $permsgstatus object to see if it currently stores all the data needed. Then it might be fairly easy to add objects methods to export the remaining values. Please bear with me if I ask a lot of questions, as I've only been a spamassassin sysadmin before now. Gerard
begin:vcard fn:Gerard Earley n:Earley;Gerard email;internet:[EMAIL PROTECTED] tel;work:02085450133 tel;cell:07940574707 x-mozilla-html:FALSE version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature