Re: Cyrus imap 3.4.4 - email notification not working

"Josef Karliak via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
   Good morning,

   I tried to run notify with debug - I've found this in system log :

2024-05-22T11:50:15.135686+02:00 imapserver lmtp[6199]: NOTIFY(EVENT): 
unable to sendto() socket: Connection refused
2024-05-22T11:50:15.135767+02:00 imapserver lmtp[6199]: NOTIFY(EVENT): 
unable to sendto() socket: Connection refused
2024-05-22T11:50:15.135786+02:00 imapserver lmtp[6199]: Delivered: 
<cmu-lmtpd-6199-1716371415-0@imapserver> to mailbox: user.testuser
2024-05-22T11:50:15.135810+02:00 imapserver lmtp[6199]: NOTIFY(MAIL, 
testuser, INBOX): unable to sendto() socket: Connection refused
2024-05-22T11:50:15.135826+02:00 imapserver lmtp[6199]: NOTIFY(SIEVE, 
testuser): unable to sendto() socket: Connection refused

    Whai I missed ?

   Thanks and best regards

   JK

On 2024-05-20 10:36, Josef Karliak via Info wrote:

> Good morning,
> 
> yes, the path in the config is the same :
> 
> /etc/cyrus.conf:    notify              cmd="notifyd" 
> listen="/var/spool/imap/config/socket/notify" proto="udp" prefork=1
> 
> /etc/imapd.conf:notifysocket: /var/spool/imap/config/socket/notify
> 
> And also the notify socket exists:
> 
> l /var/spool/imap/config/socket/notify
> srwxrwxrwx 1 root root 0 17. kvě 06.35 
> /var/spool/imap/config/socket/notify=
> 
> I'm out of ideas :-/
> 
> thanks
> 
> JK
> 
> On 2024-05-16 11:25, Vladas Palubinskas via Info wrote:
> 
> 2024-05-16 11:21 Josef Karliak via Info: Notify socket is set in 
> imapd.conf
> "notifysocket: /var/spool/imap/config/socket/notify",
> the socket exists, idled sockets too
> 
> Does this entry match the same path in cyrus.conf?
> 
> In my case (Cyrus IMAP 3.8.2 on FreeBSD 14R), it is
> 
> # this is required if using notifications
> notify  cmd="notifyd" listen="/var/cyrus/socket/notify" proto="udp" 
> prefork=1 You should probably replace my /cyrus/ with your 
> /spool/imap/config/.
> 
> Vladas
> 
> https://vladas.palubinskas.lt/

Cyrus [1] / Info / see discussions [2] + participants [3] + delivery 
options [4] Permalink [5]

Links:
------
[1] https://cyrus.topicbox.com/latest
[2] https://cyrus.topicbox.com/groups/info
[3] https://cyrus.topicbox.com/groups/info/members
[4] https://cyrus.topicbox.com/groups/info/subscription
[5] 
https://cyrus.topicbox.com/groups/info/Td9403888b602aea0-Mcec15b714644818937ddf494
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Td9403888b602aea0-Md253d058a5399bace3be8da5
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
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.