Alessandro Vesely wrote:
> Rocco Scappatura wrote:
>   
>>>> in pop3 log file I get theese errors:
>>>>
>>>> ERR: rename(./new/1179507568.V804I4c4004.mail4
>>>>         
>>> That is the only message that looks somewhat strange. It 
>>> probably happened while moving files from "./new" to "./cur". 
>>> The message itself is truncated, as the target name and error 
>>> reason are missing. Does it happen often?
>>>       
>> About 50 per day vs 200000 mail per day downloaded..
>>     
>
>   

http://www.lerfjhax.com/articles/2007/05/21/ocfs2-racy-rename
renames aren't pure atomic in some environments, according to this. They 
introduced a semaphore I guess, and it can result in a race condition in 
certain circumstance.
I think on line 143 in courier-imap-4.1.3/maildir/maildirgetnew.c (thats 
what I have anyways) you could try removing it, or making it true to fix 
that error, but you can crash the server if its not in the circumstance 
of an actual race condition occurring, e.g. a rename failing because of 
permissions.
Maybe could rewrite it as a small for loop to try a few times, and then 
drop it instead of an if break

> Hmm... I'm not sure if that can happen because a user logs
> in twice and performs the same operation concurrently. An
> error like "no such file or directory" may point in that
> direction. It seems the pop3 daemon does not lock maildirs.
>
>
>   
>> Yes. But when POP3 says
>>
>> ERR: TIMEOUT
>>
>> Who has closed the connection (the pop3d? And how I can tune this
>> timeout?)
>>
>> And when POP3 says
>>
>> ERR: DISCONNECTED
>>  
>> Who is disconnected and what's eally means 'disconnected' (the client
>> pop3 has sent a quit command or the client has chrashed inaxpectatly?)
>>     
>
> I'd say timeout means the server did not read any command from the
> client in the last few minutes, disconnected that the read failed
> either after client/network crash or the client closing the socket
> without "QUIT".
>
> Hope this helps
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to