[Dovecot] dovecot-antispam has some kind of bug

Mikael Jenkler mikael.jenkler at bwin.org
Fri Aug 22 12:52:58 EEST 2008


if it does not exist get_mail_headers returns null or something ?

is this not the best way?
resiptient  = get_mail_headers(mail, "Delivered-To");

is mail a global var ?

Regards
/J3nkl3r


Johannes Berg wrote:
> On Fri, 2008-08-22 at 11:35 +0200, Mikael Jenkler wrote:
>   
>> I dont have the old orginal code anymore :-( only have the modded one
>>
>> I can try to patch it myself, can you tell me where in what variable you 
>> have the mail header or mail
>> Is it reachable in  dspam-exec.c
>>     
>
> Just took a quick look, you seem to be using the "Delivered-To" header.
> That's not guaranteed to be present in any way.
>
>   
>> I relly want this to work :-)
>>     
>
> hack it into the current code, it's possible, or just use the mailtrain
> backend to mail it to the dspam learning process.
>
> johannes
>   



More information about the dovecot mailing list