Greetings everyone.
Sorry if this has already been addressed and I missed it while i was searching the archives.
I am writing a Perl script to run as a cron, which will directly access the inbox and process the messages contained therein, using the Perl Mail::Box module.
This inbox is a mail box that is NEVER checked via a POP account and is only ever accesed through this script (and ofcourse mail server delivering mail to the inbox)
My question then is this;
What file locking system does cpanel's mail server respect to keep it out of the inbox while my script is processing the inbox?
I am under the impression that the inbox.lock file is just to keep there from being two(2) pops to the box and does nothing to keep the server out.
OR,
Is keeping the server out, really not an issue while I am reading emails and marking them for deletion?
MrZaphodQB


LinkBack URL
About LinkBacks
Reply With Quote