Just another Perl shrine | |
PerlMonks |
Re: flock on postfix /var/spool/mail/userby gellyfish (Monsignor) |
on Jun 01, 2006 at 12:54 UTC ( [id://553040]=note: print w/replies, xml ) | Need Help?? |
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\
In Section
Seekers of Perl Wisdom
|
|