nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] First Byte of Body Lost on inc(1).

2016-09-05 19:14:05
Hi Ken,

   nmh 1.6-3

It's entirely possible I got it wrong ... but I couldn't reproduce
this problem with the given exact message.

Does it happen on every message?

I don't normally suffer it, no, so it needs particular circumstances.

    $ /usr/bin/mail $USER <<<a
    $ /usr/bin/mail $USER <<<ab
    $ /usr/bin/mail $USER <<<abc
    $ /usr/bin/mail $USER <<<abcd
    $ /usr/bin/mail $USER <<<abcde
    $ /usr/bin/mail $USER <<<abcdef
    $ /usr/bin/mail $USER <<<abcdefg
    $ /usr/bin/mail $USER <<<abcdefgh
    $ /usr/bin/mail $USER <<<abcdefghi
    $ inc
    Incorporating new mail into inbox...

    31692+ 09-06  me                a 
    31693  09-06  me                ab 
    31694  09-06  me                abc 
    31695  09-06  me                abcd 
    31696  09-06  me                abcde 
    31697  09-06  me                abcdef 
    31698  09-06  me                abcdefg 
    31699  09-06  me                abcdefgh 
    31700  09-06  me                abcdefghi 
    $

All good.

    $ /usr/bin/mail $USER <<<abcdefghi
    $ /usr/bin/mail $USER <<<abcdefgh
    $ /usr/bin/mail $USER <<<abcdefg
    $ /usr/bin/mail $USER <<<abcdef
    $ /usr/bin/mail $USER <<<abcde
    $ /usr/bin/mail $USER <<<abcd
    $ /usr/bin/mail $USER <<<abc
    $ /usr/bin/mail $USER <<<ab
    $ /usr/bin/mail $USER <<<a
    $ inc
    Incorporating new mail into inbox...

    31701+ 09-06  me                abcdefghi 
    31702  09-06  me                abcdefgh 
    31703  09-06  me                abcdefg 
    31704  09-06  me                abcdef 
    31705  09-06  me                abcde 
    31706  09-06  me                abcd 
    31707  09-06  me                abc 
    31708  09-06  me                ab 
    31709  09-06  me                
    $

That last one's wrong.  Perhaps it has to have the short body ending the
spool file.

    $ /usr/bin/mail $USER <<<abc
    $ /usr/bin/mail $USER <<<abc
    $ /usr/bin/mail $USER <<<abc
    $ inc
    Incorporating new mail into inbox...

    31716+ 09-06  me                abc 
    31717  09-06  me                abc 
    31718  09-06  me                abc 
    $

All good.

    $ /usr/bin/mail $USER <<<ab
    $ /usr/bin/mail $USER <<<ab
    $ /usr/bin/mail $USER <<<ab
    $ inc
    Incorporating new mail into inbox...

    31710+ 09-06  me                ab 
    31711  09-06  me                ab 
    31712  09-06  me                b 
    $

a?

    $ /usr/bin/mail $USER <<<a
    $ /usr/bin/mail $USER <<<a
    $ /usr/bin/mail $USER <<<a
    $ inc
    Incorporating new mail into inbox...

    31713+ 09-06  me                a 
    31714  09-06  me                a 
    31715  09-06  me                
    $

a?

I can repeat these and they behave consistently.  It seems to need a
short body at the end of the spool file.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

_______________________________________________
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>