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
signature.asc
Description: This is a digitally signed message part