Re: finding out that a message was delivered to a mailbox

Vladislav Kurz <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.