mbox: Replaced EBADMSG errno for invalid mboxes with EINVAL to fix compiling with OpenBSD. The errno is used only for logging purposes so it doesn't really matter what it is.
mbox: Replaced EBADMSG errno for invalid mboxes with EINVAL to fix compiling with OpenBSD.
The errno is used only for logging purposes so it doesn't really matter what
it is.

--HG--
branch : HEAD

jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jkerihuel/dovecot,jkerihuel/dovecot