[Dovecot] dovecot-antispam has some kind of bug
Mikael Jenkler
mikael.jenkler at bwin.org
Thu Aug 21 17:49:07 EEST 2008
The problem is that i dont have it working for the new antispam but here
is your old script with the recipient fixed
This is 100% your code so you should be able to understand what i have done
You have changed 1000 things in your antispam plugin so it relly hard
for me to patch it
atleast take a look at it, if its possible to do the same thing with the
new plugin, please
I think that more people then me would like this feature, if the to is
wrong then its wrong but it would be great if this feature existed
= me happy ;-)
Look att the attached lib_dspam.c
/J3nkl3r
Johannes Berg wrote:
> 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: lib_dspam.c
Type: text/x-csrc
Size: 12002 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20080821/ee33cf9c/attachment.bin
More information about the dovecot
mailing list