summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-10-18 11:50:57 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-10-18 11:50:57 +0300
commit998888781247d0a60306cd2f6bd1a9ff7b60ee83 (patch)
tree4cd2a85ea7dbf2c53ed9672ebe8462c4aba90d14
parentf0fbffbabf159f45baae3561a65e006846e0d13a (diff)
downloadmailutils-patches-2.2.tar.gz
mailutils-patches-2.2.tar.bz2
movemail: accept "smtp://" and "sendmail://" as a destination mailbox.patches-2.2
(port cea1ebcb1e from master) * movemail/Makefile.am (movemail_LDADD): Add MU_LIB_MAILER. * movemail/movemail.c: Register *all* mailbox formats, including remote ones.
-rw-r--r--movemail/Makefile.am1
-rw-r--r--movemail/movemail.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/movemail/Makefile.am b/movemail/Makefile.am
index 7bc622868..975290556 100644
--- a/movemail/Makefile.am
+++ b/movemail/Makefile.am
@@ -32,2 +32,3 @@ movemail_LDADD = \
${MU_LIB_AUTH}\
+ ${MU_LIB_MAILER}\
@MU_AUTHLIBS@\
diff --git a/movemail/movemail.c b/movemail/movemail.c
index 4e7bdb986..3d3cf2ac5 100644
--- a/movemail/movemail.c
+++ b/movemail/movemail.c
@@ -740,4 +740,4 @@ main (int argc, char **argv)
- /* Register the desired mailbox formats. */
- mu_register_all_mbox_formats ();
+ /* Register the desired "mailbox" formats. */
+ mu_register_all_formats ();
@@ -765,3 +765,3 @@ main (int argc, char **argv)
/* Undo the effect of configuration options that may affect
- the interaction with Emacs. */
+ interaction with Emacs. */
mu_registrar_set_default_record (mu_mbox_record);

Return to:

Send suggestions and report system problems to the System administrator.