Re: Cyrus imap 3.4.4 - email notification not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ehh, my mistake in the configuration - "connection refused" is not relevant - stupid font/background colors

Anyway - imap/sieve debug logs do not complains to any errors.

l /var/spool/imap/config/log/testuser/
celkem 460
drwxr-xr-x 2 cyrus mail     4096 23. kvě 10.12 ./
drwxr-xr-x 3 cyrus mail     4096 23. kvě 10.01 ../
-rw------- 1 cyrus mail 435786 23. kvě 10.19 imap-25820
-rw------- 1 cyrus mail   5249 23. kvě 10.03 imap-27339
-rw------- 1 cyrus mail    899 23. kvě 10.03 sieve-27178
-rw------- 1 cyrus mail    899 23. kvě 10.03 sieve-27206
-rw------- 1 cyrus mail   1102 23. kvě 10.03 sieve-27259

It is able to debug the "notify" socket ? Or its communication ?

Thanks and best regards

JK



On 2024-05-23 06:46, Josef Karliak via Info wrote:

  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/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]
  Powered by Linux