Re: NMH mail package utility "inc" aborts before incorporating first new email into an NMH folder

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Hi Howard,

> <= +OK 1 3787
> Incorporating new mail into inbox...
>
> => RETR 1
> <= +OK 3787 octets
> inc: abortcpy: would overflow, aborting: 1024 "X-AVAS-Report: FREEM"
> Aborted

The incoming line from the server which starts ‘X-AVAS...’ is too long
for the code.  My guess is the email has a line in it, added by AVAS,
which is over the 1,000 byte limit for an email.  Though my recollection
is hazy.  If you can view the raw email on the server, say through web
mail, you should see the overlong line.

I expect BUFSIZ on Cygwin is 1024.  Others, like Ken, with more
knowledge of that bit of the code may have a better explanation.

If you're happy for that line to be truncated, then you could increase
the number of initial ‘lives’ which abortcpy() has from its default of
one.

    MHNOABORT=2 inc ...

This will still abort if a subsequent line is also too long.  And,
personally, I'd rather look into the problem upstream without truncating.

Not a very thorough response, but I thought you'd like something quick
to be going on with.

-- 
Cheers, Ralph.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.