Hi,

We've developed a notify_kafka connector to publish events to a topic (with
librdkafka). We have 2 internal applications that consume these events.
The first one consumes Mailbox and Message related events to index all
mailboxes in real time into a SolrCloud cluster for fulltext search
(including attachments). It also generates the IMAP preview and store it as
message annotation, and detect FN/FP when messages are moved from/to
inbox/junk folders
The second one consumes MessageNew events only to notify for new emails on
our mobile application

Regards,
Sébastien MICHEL
https://worldline.com

Le jeu. 18 déc. 2025 à 10:14, Arnaldo H Viegas de Lima <
[email protected]> a écrit :

> I also use notifyd to retrain spam/ham, when messages are moved from the
> quarantine folder or to the spam one. Much better than my previous solution
> that use to scan the actual folders periodically.
>
> Also used to send ApplePush notifications, but since the ability to get
> the proper certificates is gone, it’s now disabled. It was really nice (has
> anyone found a workaround to get the certificates?)
>
> Arnaldo.
>
>
> Sent from my iPhone with  iTypos
>
> > On Dec 18, 2025, at 6:03 AM, Luca Olivetti via Info <
> [email protected]> wrote:
> >
> > El 18/12/25 a les 9:19, Vladislav Kurz via Info ha escrit:
> >> Dne 18. 12. 25 v 8:40 Luca Olivetti via Info napsal(a):
> >>> El 17/12/25 a les 16:38, Marco van Beek via Info ha escrit:
> >>>
> >>>>
> >>>> So my question is, is anyone on this list using notifyd, and if so,
> how?
> >>>
> >>>
> >>> I'm using it with the method "notify_external" to retrain
> spamassassin/ rspamd when a user moves a message from/into the spam folder.
> >> Hello Luca,
> >> this sounds very interesting. Can you please share more details how to
> do it? So far I thought that notifyd can only notify about new messagaes
> >
> >
> >> - log the message (debug)
> >> - email notification from sieve (I can forward the whole message so why
> should I send only a notification?)
> >> - zephyr notification (Is anyone using that? Never hear of any client.)
> >> Ah, I have not seen the manpage for long time - notify_external,
> event_notifier and imip_notifier are new things.
> >
> >
> > I have this in imapd.conf
> >
> > # Unix domain socket that the new mail notification daemon listens on.
> > event_notifier: external
> > notify_external: /usr/local/bin/trainhamspam
> > event_exclude_specialuse: none
> > notifysocket: /run/cyrus/socket/notify
> >
> > in cyrus.conf, in the SERVICES sections
> >
> > notify          cmd="notifyd" listen="/run/cyrus/socket/notify"
> proto="udp" prefork=1
> >
> > trainhamspam (which you can find here:
> https://github.com/olivluca/trainhamspam, commented in spanish, sorry)
> only manages vnd.cmu.MessageMove and vnd.cmu.MessageCopy events, checks if
> the source or destination folder is the spam folder and in that case forks
> and executes rspamc (with either learn_spam or learn_ham) passing it the
> filename of the message.
> >
> > Bye
> > --
> > Luca Olivetti
> > Tel. +34 935883004 Ext. 3010
> > https://wetron.es
> > https://wecobots.com

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T4b215e6f7680fbe7-M9c2933ff4c6ae06debffdd99
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to