David,

> % Instead, I have my procmail recipe write a line to a log file when
> % interesting email arrives (i.e. only when one of a few recipes fires).
> % And I have a small window which tails that logfile. If I were in text mode I
> % could just tail that log in the background.
> 
> I like this, and I've been looking for something this simple.  Can you
> post or send your config for me to blatantly copy? :-)

I don't actually use this anymore (since someone mentioned
gkrellm-mailcheck), but this is the sort of thing I tried:

    # Here's how we send the subject to the logfile
    :0
    * Subject: test
    {
        :0 c: logger.lock
        | formail -X "Subject:" | logger -p kern.warn
    
        :0:
        /var/mail/cswingle
    }

kern.warn probably isn't exactly the right facility and level to
use, but I wanted to make sure it showed up on my syslog server.
Maybe mail.info, or something.

Test first, I'm far from a procmail wizard.

Chris
-- 
Christopher S. Swingley           phone: 907-474-2689
Computer Systems Manager          email: [EMAIL PROTECTED]
IARC -- Frontier Program          GPG and PGP keys at my web page:
University of Alaska Fairbanks    www.frontier.iarc.uaf.edu/~cswingle

Reply via email to