finding out that a message was delivered to a mailbox
Vladislav Kurz
vladislav.kurz at webstep.net
Wed Mar 15 06:32:53 EDT 2017
On 03/14/17 21:13, Boylan, Ross wrote:
> When a message is delivered to a mail folder I would like an external
> (but on the same machine) program to know about it.
>
> This seems like a job for the SIEVE enotify extension
> https://tools.ietf.org/html/rfc5435 but I would like to use Debian
> stable, which is cyrus 2.4. I think the extension was added in 2.5.
> Second, even if I use 2.5, I don't know what specific notification
> mechanisms cyrus supports.
>
> I could just stick with my original plan of having a program monitor
> the cyrus logs for info on message delivery--all I need is the
> message identifier and the folder it was delivered to.
Hi,
I use this in imapd.conf to get notifications in syslog
# notifyd(8) method to use for "MAIL" notifications. If not set, "MAIL"
# notifications are disabled. Valid methods are: null, log, zephyr
mailnotifier: log
The notification includes user, folder and headers "From, Subject, To".
Timestamp added by syslog.
--
Best Regards
Vladislav Kurz
More information about the Info-cyrus
mailing list