procmail
[Top] [All Lists]

Re: changing log file within a 'c'

1999-09-23 10:01:37
Replying to message of Thu, 23 Sep 1999 11:55:38 -0500
        from Philip Guenther <guenther(_at_)gac(_dot_)edu>
        regarding ``Re: changing log file within a 'c' ''
        
I will note that setting LOGABSTRACT=no is more efficient than
LOGFILE=/dev/null as it doesn't take any system calls.


Thanks... I remembered that seconds after sending my message... I didn't  
know it was more efficient though, just that it was "another way"


Note that you almost always want to end a nested block with a delivery
to /dev/null or an assignment to HOST so that if all of the previous
delivery attempted failed you won't get duplicate messages later.

I suppose that's the best way to do it, although I check for duplicates in  
my next receipe so for me it doesn't much matter


# if that didn't work, try just /tmp
:0:
/tmp/emailbackups.luomat.$$

I would follow that with:

# It *still* didn't work!  Log an error then toss this copy.
LOG = "procmail: Help me, help me -- couldn't deliver to /tmp!
"
HOST

I suppose a full /tmp filesystem could occur.

Since this is to be my backup, I wouldn't want to dump it to HOST but I'll  
have to look into that.

Thanks

TjL


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