Autor: Chris Meadors Data: A: Exim CC: Arunas Norvaisa Assumpte: Re: [Exim] inbox file becomes locked while downloading mail
On Wed, 2004-03-03 at 11:16, Arunas Norvaisa wrote: > Hello,
>
> This is my first post here and I am complete newbie, so please bear with
> me... :)
>
> I'm not even sure I'm writing to the correct mailing list! Perhaps what I'll
> write below isn't even Exim's problem...
>
> I (or, to be more exact, my hosting providers - 3 of them) have following
> problem with Exim 4.24:
>
> - my mailbox generates ~500mb/day incoming (NOT outgoing - I'm not a
> spammer, you know..) mail transfer;
>
> - while I'm downloading it (sometimes it's taking quite long time, as you
> can imagine), inbox file becomes locked (quite logical thing) and no
> new mail is delivered;
>
> - after download I experience what I really don't want to: those messages
> which were received by the server, but not delivered aren't delivered for
> a few hours, days, or even lost forever. The 'record' time between 'recei-
> ved' and 'delivery-date' headers was somewhat around 50 hours;
>
> - and yes, I've searched FAQ;
>
> - and no, I've not read O'Reilly or UIT Cambridge books :)
>
> Hosting companies are trying to help, but don't know how.
>
> Is this a known bug (well, not a bug - a MONSTER!)? And what do you can
> propose for a poor fella like me?
>
> If this isn't Exim's problem, please do answer privately, not harassing
> anybody in this nice group. If this is in the FAQ, answers like RTFM are
> accepted as well... Just tell me please where to look... :)
If you change your mbox format mail store to a Maildir format instead,
there is no need for locking. Each mail is stored in a seperate file,
so you can be deleting the first message in the list, while new ones are
being delivered.
You will more than likely need a different POP3/IMAP server, or at least
reconfigure the one you have to read Maildirs instead of mboxes.