hi,

you must be reading 2000 (or so) bytes from the socket and then closing 
it. Try to read the data until you have an EOF from the sender and only 
then closing/exiting the script.

...another wild guess :)

regards,
nuno silva

Eranga Udesh wrote:

> Hi All,
> 
> With the test I conducted lately I found that notification process causes
> this problem. In my setup I'm using unix domain socket notification. For the
> socket I'm using a domain socket created by Postfix which spawns a program
> written in PHP. (This setup I used because it's not possible write a server
> daemon with PHP).
> 
> So the final observation is that when I use notification and when an email
> comes with a large header (more than 2k bytes), delivery failes. But when
> the notification diabled, it works without any problems.
> 
> I'm not sure whether this problem is caused by cyrus, postfix or my PHP
> program. Please see if this be due to a BUG in Cyrus Notification module.
> 
> Thanks & Regards,
> Eranga
> 
> 


Reply via email to