procmail
[Top] [All Lists]

Re: MH folder delivery doesn't work via rcvstore

1999-07-11 22:54:19
-----BEGIN PGP SIGNED MESSAGE-----


Philip,

MHFD variable?  What's that?

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

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)                                = ?

Though it doesn't mean much to me.

- -- 
Aaron Turner           | Either which way, one half dozen or another. 
aturner(_at_)pobox(_dot_)com      | http://www.pobox.com/~aturner/

"There is no worse tyranny than to make a man pay for something he does
not want merely because you think it would be good for him." 
- -Benjamin Franklin

All emails from this account are PGP signed.  Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80  59 6E 60 BF 45 1B 20 E8


On Sat, 10 Jul 1999, Philip Guenther wrote:

Does rcvstore work when invoked from the command line?  If so, the only
things that come to mind are if the HOME variable is not set to your
home directory or if the MHFD variable is being set at all.

If nothing seems to explain it, you could try tracing rcvstore using
whatever program your machine's OS provides.  For example, under
Solaris you could try the action line:

      |truss -o $HOME/rcvstore.trace /usr/lib/nmh/rcvstore +Test

while under Linux you would use strace instead:

      |strace -o $HOME/rcvstore.trace /usr/lib/nmh/rcvstore +Test

Then send yourself a message that should match the recipe and check the
rcvstore.trace file.


Philip Guenther



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN4mAQjM3jpXy1kJtAQG4VwQAsIdbjQpfPz7a/SJ+1LddXnRmtvjzfUwe
qAb452+HAFmz3wAseYsoiZCm87LdE6U7UXeFS5+Z95nqAjrZCuCpYIxCnVq7Gn4f
Wro3mxrMgU+FAt5DhKZE7OgY4YXtSWDAwOpgBv3YaWLMC6Ly2PpGCF5O4XCk70Fk
ledUVrUOrJM=
=QIwt
-----END PGP SIGNATURE-----

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