procmail
[Top] [All Lists]

Re: MH folder delivery doesn't work via rcvstore

1999-08-15 18:48:53
"Aaron D. Turner" <aturner(_at_)best(_dot_)com> writes:
MHFD variable?  What's that?

As a hack, some of the MH programs will pass around an open file
descriptor to the user's .mh_profile.  They identify the descriptor by
putting its number in the MHFD environment variable.  However, this hack
is only done if MH was compiled with a particular compile time option.
The version that you are using may have not been compiled with the
option: looking at the version of nmh-0.27 installed here, I can see
that it was compiled without that option.  I'm not even sure if the
option still exists in nmh.


Anyways, I do have the HOME env set, and rcvstore does work fine from the
command line.

Weird.  I you still have solved this, I would save copies of the
environment from your .procmailrc and your shell and then compare them.
The recipe:
        :0i
        |env > $HOME/env

will do the former.


the last portion of strace shows:

open("/usr/lib/nmh/rcvstore", O_RDONLY) = 4
fstat(4, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x400fc000
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2"..., 4096) = 4096
write(2, "rcvstore: ", 10)              = 10
write(2, "field name \"\177ELF\1\1\1\" exc"..., 38) = 38
write(2, "\n", 1)                       = 1
write(2, "rcvstore: ", 10)              = 10
write(2, ".mh_profile is poorly formatted", 31) = 31
write(2, "\n", 1)                       = 1
lseek(4, -3967, SEEK_CUR)               = 129
munmap(0x400fc000, 4096)                = 0
_exit(1)                                = ?

If you are still having the problem and still have the strace output or
can generate it again, can you send the entire thing to me?


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>
  • Re: MH folder delivery doesn't work via rcvstore, Philip Guenther <=