not getting mails

prashantbhushan

Verified User
Joined
Jul 21, 2006
Messages
199
Location
Pune, India.
Hi,
One of my client is not getting mails in his catchall account. logs shows followings :

2006-12-14 23:43:13 1Gv5qD-0007TH-UQ == [email protected] <[email protected]> R=virtual_user T=virtual_localdelivery defer (-9): failed to lock mailbox /var/spool/virtual/abc.com/info (lock file) or (fcntl/flock).

I dont know why it is showing like this. ?
 
Check the directory shown to see if there's a lock file in there for that user. If there is, remove it.

Jeff
 
Yes, there was a lock file present. I removed that file. Its working now.

But how that file get created.? Why the mails were not coming to that id ? What happend of that mails..




jlasman said:
Check the directory shown to see if there's a lock file in there for that user. If there is, remove it.

Jeff
 
By default DA uses one mbox file for holding all the mail in an inbox.

So you can't have to processes (reading and writing) to an mbox file at the same time.

So the POP3 and IMAP servers lock and unlock the file as required.

Somehow a process got killed before it could remove the lock.

(Using a lock file is the easiest way to lock and unlock a file in a multi-process or multi-user system; I've been using lock files as semaphores since the early 1970s.)

Jeff
 
thanks.. i got it.
But what will happen to that mails that are delivering to that mailbox during lock period.



jlasman said:
By default DA uses one mbox file for holding all the mail in an inbox.

So you can't have to processes (reading and writing) to an mbox file at the same time.

So the POP3 and IMAP servers lock and unlock the file as required.

Somehow a process got killed before it could remove the lock.

(Using a lock file is the easiest way to lock and unlock a file in a multi-process or multi-user system; I've been using lock files as semaphores since the early 1970s.)

Jeff
 
Temporary delays; they stay on the server in the queue waiting for the lock to go away.

Jeff
 
Back
Top