On 7/10/06, <b class="gmail_sendername">Timo Sirainen</b> <<a href="mailto:tss@iki.fi">tss@iki.fi</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I'd suggest upgrading to 1.0rc2 and not even trying to figure out what's<br>wrong with 0.99. It's no longer supported.</blockquote><div><br>
<br>
Roger that ! I had to duild this server quick (2 days) as the old mail
server was almost dead. CentOS/RHEL does not yet
have a 1.0<br>
rpm (Core 5 does). I was in a real hurry or I would of compiled dovecot
by hand. If CentOS does not come out with a 1.0 rpm shortly<br>
I will upgrade by hand.<br>
<br>
I am having problems w/locking (the old box had the same problem, so this is not due to the move):<br>
<br>
imap(tocmtgp): Jul 10 10:35:13 Error: Error rewriting mbox file /var/spool/mail/tocmtgp: Unexpected end of file<br>
imap(tocmtgp): Jul 10 10:35:13 Error: mbox file /var/spool/mail/tocmtgp
was modified while we had it read-locked, make sure all your software
accessing mboxes uses the same locking methods (fcntl, flock, dotlock)<br>
<br>
OK, if I understand things sendmail hands off the procmail to write to
/var/spool/mail/<username>. Dovecot reads this file and writes <br>
all its files/dirs to /home/<username>.<br>
<br>
So this issue is how locking is done by procmail & dovecot ? <br>
<br>
[root@jidmail ~]# procmail -v<br>
procmail v3.22 2001/09/10<br>
Locking strategies: dotlocking, fcntl()<br>
Default rcfile: $HOME/.procmailrc<br>
It may be writable by your primary group<br>
Your system mailbox: /var/mail/root<br>
<br>
[root@jidmail ~]# cat /etc/dovecot.conf | grep locks<br>
# to give "mail" group write access to /var/mail to be able to create dotlocks.<br>
# with is important to avoid deadlocks if other MTAs/MUAs are using both fcntl<br>
mbox_locks = fcntl<br>
[root@jidmail ~]#<br>
<br>
I can't find a lock file in /var/mail/ ie:<br>
ls -la | egrep *lock* or *.lock* or lock<br>
<br>
So is procmail using fcntl or am I just not finding the lock files.<br>
<br>
Any suggestions on fixing this ?<br>
<br>
james<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div><br></div>