Cyrus - sieve - notify
Michael Luich
mluich at globalcerts.net
Mon Jul 10 14:51:16 EDT 2006
Hello everyone,
I've been trying for a while now to setup new mail notifications using
sieve's notify.
I've tested sieve in cyrus with a forwarding script.
Now I've edited cyrus.conf to enable the notify daemon, and tested that as
well using:
notifytest -f "/var/lib/imap/socket/notify" -t "test" -n mailto
mluich at globalcerts.net
Which was successful.
I've tried a number of revisions of the following script and nothing I've
tried seems to work. I can see cyrus running sieve and the local delivery
but no indication of the notification being tried.
require
["fileinto","reject","vacation","imapflags","relational","regex","notify"];
# send a reciept notification:
if true {
notify :method "mailto" :options ["mluich at globalcerts.net"]
:message "New FastandSecure Message";
keep;
}
Thanks everyone.
Michael Luich
mluich at globalcerts.net
Jul 10 14:49:05 mail1 sendmail[773]: k6AIn5rl000773: to=mluich,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30055, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(k6AIn5YV000774 Message accepted for delivery)Jul 10 14:49:05 mail1
lmtpunix[553]: duplicate_check:
<200607101849.k6AIn5rl000773 at mail1.fastandsecure.net> user.mluich 0
Jul 10 14:49:05 mail1 lmtpunix[553]: duplicate_mark:
<200607101849.k6AIn5rl000773 at mail1.fastandsecure.net> user.mluich
1152557345 18
Jul 10 14:49:05 mail1 lmtpunix[553]: duplicate_mark:
<200607101849.k6AIn5rl000773 at mail1.fastandsecure.net> .mluich+ at .sieve.
1152557345 0
Jul 10 14:49:05 mail1 sendmail[776]: k6AIn5YV000774:
to=<mluich at mail1.fastandsecure.net>, delay=00:00:00, xdelay=00:00:00,
mailer=cyrusv2, pri=120371, relay=localhost, dsn=2.0.0, stat=Sent
Jul 10 14:49:48 mail1 imap[736]: logi
More information about the Info-cyrus
mailing list