It seems that message payload arrives truncated during read operation performed 
by notifyd.
I placed a debug message in *imap/notify.c* (notify-234), before writing to the 
socket, and another one in *notifyd/notifyd.c* (notifyd-170), after reading 
data and just before actually performing the notification using the  choosen 
type.

2023-02-22 10:59:13 xstreamos cyrus/imaps[11940]: [ID 944875 local6.debug] 
notify-234: 
{"event":"vnd.cmu.MessageMove","timestamp":"2023-02-22T10:59:13.247+01:00","oldMailboxID":"imap://xstreamos/user/gabriele.bulfon%40xstreamos.org;UIDVALIDITY=1676368622","vnd.cmu.oldUidset":"46","mailboxID":"3f5dfd40-41e2-e952-b9bf-95c1b41be15b","uri":"imap://xstreamos/user/gabriele.bulfon/Junk%40xstreamos.org;UIDVALIDITY=1676469851","uidset":"34","pid":11940,"user":"[email protected]","vnd.cmu.mbtype":"el","serverFQDN":"xstreamos","vnd.cmu.mailboxACL":"[email protected]\tlrswipkxtecdan\tcyrus\tlrswipkxtecda\t"}
2023-02-22 10:59:13 xstreamos cyrus/notify[11936]: [ID 921384 local6.debug] 
accepted connection
2023-02-22 10:59:13 xstreamos cyrus/notify[11936]: [ID 450945 local6.debug] 
notifyd-170: 
{"event":"vnd.cmu.MessageMove","timestamp":"2023-02-22T10:59:13.247+01:00","oldMailboxID":"imap://xstreamos/user/gabriele.bulfon%40xstreamos.org;UIDVALIDITY=1676368622","vnd.cmu.oldUidset":"46","mailboxID":"3f5dfd40-41e2-e952-b9bf-95c1b41be15b","uri":"imap://xstreamos/user/gabriele.bulfon/Junk%40xstreamos.org;UIDVALIDITY=1676469851","uidset":"34","pid":11940,"user":"[email protected]","vnd.cmu.mbtype":"el","serverFQDN":"xstreamos","vnd.cmu.mail
2023-02-22 10:59:13 xstreamos cyrus/notify[11936]: [ID 414469 local6.debug] 
do_notify using method 'external'

Do you have any suggestion about this behaviour?

Thank you,
Matteo
------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T84dc31747d015b6c-Ma29cb86f30cc1e09c918079a
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to