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:[EMAIL PROTECTED]/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/
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils