1. Mail problem because a perl script reads /var/spool/mail/login?
Hi,
I wrote a short application to replace Xbiff. Basically, I wanted
something that shows a short summary of incoming mails, ignoring thus
whose sender matches a given expression (so that I dont get alarmed by
my own bcc: copies), etc. Anyway. Finally it's a perl script that
parses my /var/spool/mail/fleuret on a regular basis.
Everything seems to go smooth except that from time to time I do miss
mails. When I check the /var/log/maillog, I can see that sendmail
received the mail and did not log any error, but I dont have any trace
in my /var/spool/mail/fleuret.
The sendmail deamon runs on a SOLARIS box, and the /var/spool/mail is
mounted by nfs on my linux box. Each 15s, my script opens the mail
file with open(MAILFILE, "< $mailfile"), parses it, and closes it.
So, can there be a sort of "lock" if the file is opened for reading
and thus the sendmail can not write anything in it (I checked that and
it does not seem to lock anything)?
Any idea?
Regards,
F.
2. LILO freezes with 2 Master IDE channels
3. Mail problem for incoming mail
4. Routing dilemma with two dirty-side NICS
5. Mail problem -- can't get mail to queue!
6. Making /dev/sl0 - Wasn't in Slack2
7. mail problem with mail program...
8. assing data to specified memory address
9. mail problem?, DNS problem?
10. A mail problem and a memory problem
13. Mail problem