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-M3db76714e39baef968aa7dbf
Delivery options: https://cyrus.topicbox.com/groups/info/subscription