Would some kind genius please quickly show me how to lock
a mailbox with FCNTL so that neither procmail nor qpopper4.0x
will touch it until the lock is gone.
Using FLOCK I would do something like,
$FILE = "/var/spool/mail/username":
open (MAIL,">$FILE"); flock($FILE,2);
Thanks Homer
------------------------------------------------------------------------
Homer Wilson Smith The Paths of Lovers Art Matrix - Lightlink
(607) 277-0959 KC2ITF Cross Internet Access, Ithaca NY
homer(_at_)lightlink(_dot_)com In the Line of Duty
http://www.lightlink.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail