Re: [EXIM] lock file

Top Page
Delete this message
Reply to this message
Author: Rolando Riley (Industrial)
Date:  
To: Philip Hazel
CC: exim-users, paulm
Subject: Re: [EXIM] lock file
Thanx:
    The answer of my troubles were solved changing:


             /var/mail/${local part}


                       for


             /var/spool/mail/${local part}


    For more info the Operating System I am using is Slackware 3.4. So
it is time get on the road with this Exim. Thanks for the Help.


                        regards,
                                                      Rolando Riley







On Mon, 27 Apr 1998, Philip Hazel wrote:

> On Thu, 23 Apr 1998, Rolando Riley (Industrial) wrote:
>
> > 1998-04-23 13:53:00 rriley@??? <rriley@???>:
> > local_delivery transport deferred: no such file or directory: creating
> > lock file hitching post
> > /var/mail/rriley.lock.ns.fii.utp.ac.pa.353f8e22.0000010f
> >
> >    I looked to the /var/mail discovering that there is no such
> > directory so I created it trying to solve the problem with no succes. 
> >    I suppose the answer is on the following lines which I don't
> > understand at all:

> >
> >                 This is how I have set the "configure" file

> >
> > local delivery:
> >     driver= appendfile 
> >     file= var/mail/${local part}
> > # group = mail
> > # mode = 0660    

> >
> >    Why Exim is trying to creat a lock file?

>
> Because that is the traditional way of locking mail folders. You can
> disable it - see the use_lockfile option - but only do this if you are
> *sure* that the MUAs that will use the file also do fcntl locking.
>
>     file= var/mail/${local part}

>
> I presume that really was
>
>     file= /var/mail/${local_part}

>
> You should set there whatever is standard on your operating system. Some
> operating systems call it /var/spool/mail. You normally need to set the
> "sticky bit" (the "t" bit) on shared mail directories like this. We have
>
> drwxrwxrwt   2 root     root      212992 Apr 27 15:16 /var/mail/

>
> -- 
> Philip Hazel                   University Computing Service,
> ph10@???             New Museums Site, Cambridge CB2 3QG,
> P.Hazel@???          England.  Phone: +44 1223 334714

>
>



--
*** Exim information can be found at http://www.exim.org/ ***