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 reply to Re: flock on postfix /var/spool/mail/user
by gellyfish
in thread flock on postfix /var/spool/mail/user
by abachus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |