procmail
[Top] [All Lists]

Re: Locking problem

1998-05-21 15:37:43
And thus spake Geir Johannessen, on Thu, May 21, 1998 at 11:10:29PM +0200:
:0:joge
     ^^^^ this is your problem

* ^From.*joge
joge

This produces the following output in procmail.log:

procmail: Match on "^From.*joge"
procmail: Locking "joge"
procmail: Assigning "LASTFOLDER=joge"
procmail: Opening "joge"
procmail: Error while writing to "joge"
procmail: Unlocking "joge"
procmail: Locking "/home/stud/luser1/Mailbox.lock"
procmail: Assigning "LASTFOLDER=/home/stud/luser1/Mailbox"
procmail: Opening "/home/stud/luser1/Mailbox"
procmail: Unlocking "/home/stud/luser1/Mailbox.lock"

Notice that it does not say

procmail: Locking "joge.lock"
                       ^^^^^
Where does this error come from? Why is it not locking folder.lock instead
of folder?

Whatever you specify after the second : overrides the default file name
of the dotlock file. If you want to use joge.lock just delete everything
after the second :. If you want to specify another lock file name, you
need to specify it literally (i.e. foo.lock if you want it to end in
.lock).

-- 
Elie Rosenblum <erosenbl at nyx.net>That is not dead which can eternal lie,
     <fnord at cosanostra.net>   And with strange aeons even death may die.
Developer / Mercenary / System Administrator             - _The Necromicon_

<Prev in Thread] Current Thread [Next in Thread>