First off, some of your recipes are malformed.
for example
:aw: # do i need a 'w' here?
$INCOMING/fusion-list
needs to be
:0aw:
$INCOMING/fusion-list
You're missing the zero behind the ':'.
As for your use of 'w' -- they probably aren't causing any mishap,
though they may be extraneous in places.
You also have a lot of '$'s which don't seem to do anything.
Something like '* $^TO' means that a variable is going to be expanded
in the regex condition.
Here's my version of your recipes (untested, of course!).
:0w:
* ^TO_fusion-list(_at_)cullasaja(_dot_)com
| gzip >> $ARC/fusion.list.gz
:0Ac:
$INCOMING/fusion-list
:0:
* ^TO_thebox-digest(_at_)cullasaja(_dot_)com
$INCOMING/thebox-d
:0Ac:
| gzip >> $ARC/thebox-d.list.gz
:0c:
* ^TO_vjl
| gzip >> $INCOMING/iboxback.gz
On Wed, 13 Sep 2000, Vince LaMonica wrote:
Hi all,
I've had some interesting problems lately which I think are due to
locking. I use one of two methods [shown below] to make a copy of list
mail, and place another copy into a file that I use to read with pine.
I've been noticing lately that I've been 'missing' e.mail. I get a copy in
my gzipped archive, but not in the folder or my main mail spool as I
usually do. I do my mailing list recipes like this [not sure which one is
the better way to do them]:
:0cw:
* $^TOfusion-list(_at_)cullasaja(_dot_)com
|gzip -fc >> $ARC/fusion.list.gz
:aw: # do i need a 'w' here?
$INCOMING/fusion-list
:0c: # do i need a 'w' here?
* $^TOthebox-digest(_at_)cullasaja(_dot_)com
$INCOMING/thebox-d
:aw:
|gzip -fc >> $ARC/thebox-d.list.gz
I also make a copy of all incoming mail addressed to vjl@ and that is
where I started noticing that mail wasn't showing up in pine though a copy
was in my gzipped archive:
:0c: # c-flag means clone a copy
* $^TOvjl
|gzip -fc >> $INCOMING/iboxback.gz
I have since added a 'w' in the iboxback recipe so that gzip doesn't step
on itself. What is weird is that procmail shows that it did write to both
places, but in the following case, I never got the message in
/usr/spool/mail/vjl:
From vjl(_at_)netcom(_dot_)com Tue Sep 12 01:23:32 2000
Subject: test
Folder: gzip -fc >> $INCOMING/iboxback.gz 658
From vjl(_at_)netcom(_dot_)com Tue Sep 12 01:23:32 2000
Subject: test
Folder: /usr/spool/mail/vjl 658
This seems to happen very randomly, so I am hesitant to turn on verbose
logging for long periods of time [i get lots of mail :( ]. In two separate
cases last night, mail sent to vjl and to thebox both failed to show up in
their proper pine "folder" *and* I had pine running and in that folder. I
do receive e.mail into folders that I have open, but in these two cases, I
didn't.
Is there anything I can do to check that I'm locking only what needs to
be? I tested out my iboxback [with the 'w' flag] tonight and my loggin on
verbose, and when I removed the lockfile from that recipe, procmail still
reported locking /usr/spool/mail/vjl [and when i used the lockfile, it
didn't honor my lockfile naming scheme].
I thought I had a handle on locking, but after two nights of playing with
this, I am now more confused then when I started using procmail [2.92
days!]. Any tips would be greatly appreciated...
/vjl/
--
Vince J. LaMonica // T e a m // Photographer: aviation, sports,
vjl(_at_)cullasaja(_dot_)com XX/ A M I G A // nature, art, travel,
documentary
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail