full-example1-ref.siv 476 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
require "include";
require "copy";
require "imap4flags";
require "subaddress";
require "reject";

#SCRIPTNAME: test
include :personal :optional :once "sdqd";
include :global :optional "qsdqd";
global "globalvar";
set "globalvar" "415";
redirect :copy "folder";


#SCRIPTNAME: test2
if false
{
    removeflag [ "\\Flagged", "\\Seen", "\\Draft" ];
} elsif address :all :is "Reply-To" "foo@kde.org"
{
    reject text:
rejected 
.
;

} else {
    keep :flags [ "\\Answered" ];
Laurent Montel's avatar
Laurent Montel committed
28
}