Right before that little script:
$ttmp = $maildir
$maildir = $home/mail/incomming
:0
* test(s)
listfolder
(now right after your script):
$maildir = $ttemp
Luke
On Sun, 1 Jun 1997, Mike A. Harris wrote:
I'm still very new to procmail so bear with me...
I want my normal mail to go into the system inbox, but I want
mailing lists to be sorted into the directory:
$HOME/mail/incoming/
How can I set up a procmail recipe so that I don't have to supply
that full path for every single recipe? In other words, I'd like
to put:
:0:
* ^TOsomelist
SOMELIST
I'd like to have it *just* like that, but I wan't SOMELIST to end
up in $HOME/mail/incoming/SOMELIST.
Is this possible? Can I set a default inbox path for processed
mail, but one that doesn't affect other mail processing, ie:
whatever mail doesn't match a recipe - ends up in
/var/spool/mail/$USER ?
Thanks in advance for your help. Allready I've doubled my
knowledge of procmail from only a few postings to his list.
TTYL
Mike A. Harris | http://blackwidow.saultc.on.ca/~mharris
Computer Consultant | Coming soon: dynamic-IP-freedom...
My dynamic address: http://blackwidow.saultc.on.ca/~mharris/ip-address.html
Email: mharris at blackwidow.saultc.on.ca <-- Spam proof address
URL: Digital Equipment Corp. http://www.digital.com