summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2010-10-18 08:50:57 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2010-10-18 08:50:57 (GMT)
commit998888781247d0a60306cd2f6bd1a9ff7b60ee83 (patch) (unidiff)
tree4cd2a85ea7dbf2c53ed9672ebe8462c4aba90d14
parentf0fbffbabf159f45baae3561a65e006846e0d13a (diff)
downloadmailutils-998888781247d0a60306cd2f6bd1a9ff7b60ee83.tar.gz
mailutils-998888781247d0a60306cd2f6bd1a9ff7b60ee83.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.
Diffstat (more/less context) (ignore whitespace changes)
-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 7bc6228..9752905 100644
--- a/movemail/Makefile.am
+++ b/movemail/Makefile.am
@@ -30,6 +30,7 @@ movemail_LDADD = \
30 ${MU_LIB_MH}\ 30 ${MU_LIB_MH}\
31 ${MU_LIB_MAILDIR}\ 31 ${MU_LIB_MAILDIR}\
32 ${MU_LIB_AUTH}\ 32 ${MU_LIB_AUTH}\
33 ${MU_LIB_MAILER}\
33 @MU_AUTHLIBS@\ 34 @MU_AUTHLIBS@\
34 ${MU_LIB_MAILUTILS}\ 35 ${MU_LIB_MAILUTILS}\
35 @MU_COMMON_LIBRARIES@ 36 @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)
738 MU_APP_INIT_NLS (); 738 MU_APP_INIT_NLS ();
739 MU_AUTH_REGISTER_ALL_MODULES (); 739 MU_AUTH_REGISTER_ALL_MODULES ();
740 740
741 /* Register the desired mailbox formats. */ 741 /* Register the desired "mailbox" formats. */
742 mu_register_all_mbox_formats (); 742 mu_register_all_formats ();
743 743
744 /* argument parsing */ 744 /* argument parsing */
745 745
@@ -763,7 +763,7 @@ main (int argc, char **argv)
763 if (emacs_mode) 763 if (emacs_mode)
764 { 764 {
765 /* Undo the effect of configuration options that may affect 765 /* Undo the effect of configuration options that may affect
766 the interaction with Emacs. */ 766 interaction with Emacs. */
767 mu_registrar_set_default_record (mu_mbox_record); 767 mu_registrar_set_default_record (mu_mbox_record);
768 mu_debug_default_printer = mu_debug_stderr_printer; 768 mu_debug_default_printer = mu_debug_stderr_printer;
769 } 769 }

Return to:

Send suggestions and report system problems to the System administrator.