Federico Edelman writes: 

> Hi!
>       I'm trying IMAP_EMTPYTRASH. I put in environment variable: 
> 
> IMAP_EMPTRYTRASH=Trash:7 
> 
> My courier-imap is 1.3.10. 
> 
> The message on Trash never has been deleted. 
> 
> I change the source code of: 
> 
> Imap/imapd.c 
> 
> ------------------- snip snip -------------------------------------- 
> 
> void emptytrash()
> {
>         char    *dir, *all_settings, *next_folder, *folder, *p;
>         unsigned l;
>  
>         all_settings=getenv("IMAP_EMPTYTRASH");
>  
>         if (!all_settings)
>                 return;
>  
>         all_settings=strdup(all_settings);
>         if (!all_settings)
>                 return;
>  
> - if (strchr(all_settings, ':') == 0 &&
> +        if (strchr(all_settings, ':') == 0 ||
>             strchr(all_settings, ',') == 0)
>         {
>                 l=atoi(all_settings);
>  
>                 if (l <= 0)
>                         l=1; 
> 
> 
> ------------------- snip snip -------------------------------------- 
> 
> make, make install ... and the messages has been deleted. 
> 
> 
> Is this a bug?

No. 


-- 
Sam 


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to