Re: [Dovecot] building a simple antispam plugin

2008-04-21 Thread Stephen Usher
Surely spam filtering/rejection should be done by the MTA, preferably during the SMTP protocol conversation so as to prevent the black-holing of legitimate e-mails (i.e. the sender doesn't know it's not been delivered) and the prevention of joe-job collateral spamming? It should also be noted

Re: [Dovecot] building a simple antispam plugin

2008-04-19 Thread Johannes Berg
On Sat, 2008-04-19 at 15:12 +0200, Alexander Prinsier wrote: > Johannes Berg wrote: > > Hi, > > > >> I'm trying to build another antispam plugin, but some things are a bit > >> unclear. > > > > What are you trying to achieve? Just build another backend for my > > antispam plugin? > Yes, just anot

Re: [Dovecot] building a simple antispam plugin

2008-04-19 Thread Alexander Prinsier
Johannes Berg wrote: > Hi, > >> I'm trying to build another antispam plugin, but some things are a bit >> unclear. > > What are you trying to achieve? Just build another backend for my > antispam plugin? Yes, just another backend. It would be logging the signatures to a mysql database, so that I

Re: [Dovecot] building a simple antispam plugin

2008-04-19 Thread Johannes Berg
Hi, > I'm trying to build another antispam plugin, but some things are a bit > unclear. What are you trying to achieve? Just build another backend for my antispam plugin? > In backend_handle_mail I put store the signature returned from > signature_extract into my antispam_transaction_context. In

[Dovecot] building a simple antispam plugin

2008-04-19 Thread Alexander Prinsier
Hello, I'm trying to build another antispam plugin, but some things are a bit unclear. In backend_handle_mail I put store the signature returned from signature_extract into my antispam_transaction_context. In backend_commit it appears that the signature is empty. (It wasn't in backend_handle_mail