nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Relative Message Numbers

2013-04-18 09:26:49
so it looks to me like this command:
   
/home/pgf/src/pdom/nmh/nmh.git/test/testdir/inst/usr/local/nmh.git/lib/slocal 
-maildelivery /home/pgf/src/pdom/nmh/nmh.git/test/testdir/Mail/maildelivery
should have produced the .actual file, but didn't.  the contents of that
maildelivery file is:
* 1 qpipe A "/usr/bin/tee 
/home/pgf/src/pdom/nmh/nmh.git/test/testdir/13697.actual"

So ... seems like the key problem there is:

./test/slocal/test-slocal: "grep ^delivering 
/home/pgf/src/pdom/nmh/nmh.git/test/testdir/10982.actual2" expected:
    'delivering to pipe "/usr/bin/tee", success.'
    but instead got:
        'delivering to file 
"/home/pgf/src/pdom/nmh/nmh.git/test/testdir/Mail/maildrop" (mbox style), 
success.'

It's not correctly delivering the file to /usr/bin/tee.  So ... why?  Hm.

Given the maildelivery file you listed:

* 1 qpipe A "/usr/bin/tee 
/home/pgf/src/pdom/nmh/nmh.git/test/testdir/13697.actual"

That breaks down to:

  * - match any header
  1 - I guess this is just a placeholder?
  qpipe - "Quoted pipe"

From the messages that you've listed ... it doesn't sound like that was being
read.  Maybe the wrong maildelivery file is being read?  We supply the
-maildelivery flag so it _should_ work, but maybe it isn't.  Maybe some
work with a system call tracer would let you make sure it's reading the
right file.  Otherwise putting some breakpoints in the localmail() and
usr_delivery() functions for slocal should get to the bottom of the problem.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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