Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: flock on postfix /var/spool/mail/user

by gellyfish (Monsignor)
on Jun 01, 2006 at 12:54 UTC ( [id://553040]=note: print w/replies, xml ) Need Help??


in reply to flock on postfix /var/spool/mail/user

This is more a question for a postfix forum but as I understand it postfix does use either flock or fcntl on most systems so it should be safe for you to use flock to get an exclusive lock on the file before processing it, however you may want to confirm that with the postfix documentation before relying on it.

/J\

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://553040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (None)
    As of 2024-04-25 00:10 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found