bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Using GNU Mailutils on a MS Exchange IMAP account


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Using GNU Mailutils on a MS Exchange IMAP account
Date: Tue, 13 Dec 2005 10:33:59 EET

Christian Schuhegger <address@hidden> wrote:

> require ["fileinto"];
> if header :contains "Subject" "Some text" {
>       fileinto "imap://user:address@hidden/foldername";
>       discard;
> }

Could you give some more info, please? What is the type of the input
mailbox (is it imap:// as well)? How exactly do you invoke sieve? 

> As a result the mails are really copied into the new folder, but the
> mails are not deleted in the original folder. If I use the verbose and
> debug options I see something like:
> 
> ... FILEINTO on msg uid 0: ...
> ... DISCARD on msg uid 0: marking as deleted ...
> 
> The strange thing is that uid is ALWAYS for every message which is
> matched by the condition 0.

I'm not sure what you mean by "condition 0". 0 here means the message
UID number. Actually, 0 is used as a replacement when Mailutils was
unable to retrieve the uid. 
 
> I think the problem is that all messages seem to have the same "uid"
> equal to 0 and therefore the message is not really deleted.

Although it is indeed strange that messages don't have uids, this cannot
be the reason for them not being deleted.

> Did anybody try to do something similar already with the GNU Mailutils
> with success?

Yes, it is how my mailsystem works.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]