Hi Kamil, > --8<---------------cut here---------------start------------->8--- > kjonca@alfa:~%movemail -v imap://kjonca:[email protected]/z > 'smtp://alfa.kjonca;noauth' > movemail: could not create mailbox `smtp://alfa.kjonca;noauth': No registered > handler > > kjonca@alfa:~%movemail --version > movemail (GNU Mailutils 2.2) > --8<---------------cut here---------------end--------------->8---
Please apply the attached patch and re-make. Note that rebuilding the patched version will require reasonably new autotools (automake 1.11.1, autoconf 2.63). Regards, Sergey
>From 998888781247d0a60306cd2f6bd1a9ff7b60ee83 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff <[email protected]> Date: Mon, 18 Oct 2010 11:50:57 +0300 Subject: [PATCH] movemail: accept "smtp://" and "sendmail://" as a destination mailbox. (port cea1ebcb1e from master) * movemail/Makefile.am (movemail_LDADD): Add MU_LIB_MAILER. * movemail/movemail.c: Register *all* mailbox formats, including remote ones. --- movemail/Makefile.am | 1 + movemail/movemail.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/movemail/Makefile.am b/movemail/Makefile.am index 7bc6228..9752905 100644 --- a/movemail/Makefile.am +++ b/movemail/Makefile.am @@ -30,6 +30,7 @@ movemail_LDADD = \ ${MU_LIB_MH}\ ${MU_LIB_MAILDIR}\ ${MU_LIB_AUTH}\ + ${MU_LIB_MAILER}\ @MU_AUTHLIBS@\ ${MU_LIB_MAILUTILS}\ @MU_COMMON_LIBRARIES@ diff --git a/movemail/movemail.c b/movemail/movemail.c index 4e7bdb9..3d3cf2a 100644 --- a/movemail/movemail.c +++ b/movemail/movemail.c @@ -738,8 +738,8 @@ main (int argc, char **argv) MU_APP_INIT_NLS (); MU_AUTH_REGISTER_ALL_MODULES (); - /* Register the desired mailbox formats. */ - mu_register_all_mbox_formats (); + /* Register the desired "mailbox" formats. */ + mu_register_all_formats (); /* argument parsing */ @@ -763,7 +763,7 @@ main (int argc, char **argv) if (emacs_mode) { /* Undo the effect of configuration options that may affect - the interaction with Emacs. */ + interaction with Emacs. */ mu_registrar_set_default_record (mu_mbox_record); mu_debug_default_printer = mu_debug_stderr_printer; } -- 1.6.0.3
_______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
