leahneukirchen / mblaze

Unix utilities to deal with Maildir
Other
444 stars 48 forks source link

mpick: Increase buffer for decoded header field #133

Closed mniestroj closed 6 years ago

mniestroj commented 6 years ago

When using:

$ mlist maildir | mpick -t '"cc" ~~ "vger.kernel.org"'

with a maildir containing mails from Linux Mailing List, not all messages were picked correctly. It turned out that the reason was small (100 bytes) buffer for header fields.

Increase header field buffer to 4096, which is the most commonly used value.