[Dovecot] dovecot-antispam has some kind of bug

Johannes Berg johannes at sipsolutions.net
Thu Aug 21 17:23:54 EEST 2008


On Thu, 2008-08-21 at 16:15 +0200, Mikael Jenkler wrote:
> The problem is that my %u is a user not the mail address and i train on 
> the mail address from master.cf
> I modded your old script to support (for dovecot 1.0.x) it but when 
> 1.1.x came it didnot work anymore
> 
> i have a diffrent username for auth then for resiveing  mail  so  it 
> impossible to  train on that
> You could have a option called train on resiptient or something
> 
> i got the recipient address in the script then added this:
> 
> execl(DSPAM, "--source=error", "--stdout", "--user", recipient, 
> class_arg, sign_arg, NULL);

So how did you get the recipient? What if the To: header isn't right?
Did you use the envelope recipient? How did you get it?

I'd rather not open that can of worms. If you can send me a clean patch,
I might integrate it, but I'm surely not going to work on it.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080821/1aaf6fc4/attachment.bin 


More information about the dovecot mailing list