bug-mailutils
[Top][All Lists]
Advanced

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

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


From: Christian Schuhegger
Subject: [bug-mailutils] Using GNU Mailutils on a MS Exchange IMAP account
Date: Tue, 13 Dec 2005 07:36:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1

Hello,

we have an MS Exchange server as our SMTP/IMAP/POP3 server and I would like to use sieve scripts to filter my inbox. In fact what I would like
to do is to move mails from my inbox to other folders on the IMAP
account depending on some information given in the mail header.

Currently my first test script looks like this:

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

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 think the problem is that all messages seem to have the same "uid"
equal to 0 and therefore the message is not really deleted.

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

Many thanks for suggestions and help,
--
Christian Schuhegger
http://www.el-chef.de/






reply via email to

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