[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

procmail+formail failure after 6.0 upgrade



Since upgrading to 6.0 I've been fixing the inevitable small problems that 
arise in any upgrade.  I've encountered one that has me stumped.  (Thanks 
to folks on this list for noticing that one must "chmod g-w /home/*" ... 
once I did that, sendmail actually _ran_ procmail!  Before that sendmail 
would deliver to my /var/spool/mail mailbox rather than execute procmail.)


Here's my current problem with procmail.  My procmail logfile is full of:

procmail: Program failure (69) of " formail -i 'X-list: redhat' \
| /usr/bin/formail +1 -ds /usr/lib/nmh/rcvstore +RH_list"

one for each digest I receive for Apollo and Redhat lists.  (I have yet to 
receive a digest for Hedwig.)  These digests are thus saved, unburst, in my 
Junk folder, matching a later rule that stores everything not "To" me in 
that folder.

The odd thing is that each digest seems to be correctly burst in the 
correct folder.  It's as if the "formail | formail rcvstore" works but for 
some reason generates an error.  I made sure that the paths to formail and 
rcvstore are correct.

Here is my procmail recipe for this list:

	*** begin recipe

# redhat-list mailing list (but not archive requests)

:0 w: RH_list/$LOCKEXT
* ! ^From:.*redhat-list-request
* ^x-loop: *redhat-digest redhat com
| formail -i 'X-list: redhat' \
| /usr/bin/formail +1 -ds /usr/lib/nmh/rcvstore +RH_list

	*** end recipe

Yes, the first "formail" should have the full path on it.  I don't know why 
I didn't put it there.  But that doesn't seem to be the problem as it 
_does_ run.  The first "formail" line adds the "X-list: redhat" header line 
to the message.  As I then burst the digest, I clearly wasn't thinking a 
lot when I added that line!  That line is not added to the "Junk" version 
of the digest.  What I wanted should probably read:

| /usr/bin/formail +1 -ds formail -i 'X-list: redhat' \
| /usr/lib/nmh/rcvstore +RH_list

but that's also another issue!  For now I'm going to remove the useless 
initial "formail".

Does anyone know what "program failure (69)" is?  I looked up errno==69:

kilroy> grep 69 /usr/include/asm/errno.h
#define ESRMNT          69      /* Srmount error */

I couldn't find ESRMNT used anywhere in the kernel source, so I'm not sure 
what a Srmount error is.  Since this error started immediately after my 
upgrade to 6.0, it clearly seems related to something that changed in the 
upgrade.

Any clues, anyone?

                           Thanks,

                                Eddie

-- 
  Eddie Kuns  |  Home: ekuns kilroy chi il us
--------------/  URL:  http://www.physics.rutgers.edu/~ekuns/
  "Ah, savory cheese puffs, made inedible by time and fate."  -- The Tick





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]