procmail
[Top] [All Lists]

Re: deactivating of /var/mail/$USER ?

2005-11-14 12:19:07
At 19:35 2005-11-14 +0100, Michelle Konzack wrote:
if I filter the messages from /var/mail/$USER with formail/procmail
it works.  I think, it has nothing to do with the messages itself.

Do you know that procmail is actually being invoked for the messages in 
question???  Have you ANY logging enabled, and if so, do you see the basic 
entries for the problem messages?

The errors are occuring sporadic, which mean, it works a time (maybe
several month) and then I have at once  several 1000 messages in
/var/mail/* and then it continues normaly.

The get this error it is (in theory) required that I whatch the size
of ALL files in /var/mail/* and use "VERBOSE=on" in procmail.

If the error occur, I need to get a E-Mail or other warning.

:0
* $? test -e /var/mail/$LOGNAME
{
         VERBOSE=ON
}

One message (for any given user) would slip by unVERBOSE, but after that, 
VERBOSE would automatically be enabled for that user until the problem was 
resolved.

You could fire off an email to yourself using the same logic, understanding 
that the notification would be delayed somewhat.

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>