procmail
[Top] [All Lists]

avoid saving outgoing mail?

1997-11-01 21:14:11
I've written a Perl 5 script that archives daily and monthly my procmail log.
It uses sendmail to mail me output from mailstat.  However, in my .mailrc
file, I have the line

   set record=$HOME/Mail/outgoing

so the mailstat mails always get copied there.  Is there a way to have my
script temporarily turn this auto-saving off, other than hacking .mailrc or
the outgoing mailbox?  Would having the script change permissions on the
outgoing mailbox be a reasonable fix?

I know this isn't really a procmail question, so my apologies if this annoys
anyone.  (I did manage to tie it [loosely] to procmail, though.  Does that
count? :)

JcL

-- 
Justin C. Lloyd               Harris Corporation, ISD     Voice  407/984-5558
jlloyd(_at_)harris(_dot_)com             505 John Rodes Blvd.        Fax    
407/984-6323
Unix System Administrator     Melbourne, FL  32935        Office  W3/1806

         Only 45 days left until Sarah McLachlan in West Palm Beach!

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