movemail: accept "smtp://" and "sendmail://" as a destination mailbox.
* movemail/Makefile.am (movemail_LDADD): Add MU_LIB_MAILER. * movemail/movemail.c: Register *all* mailbox formats, including remote ones.
Showing
2 changed files
with
4 additions
and
3 deletions
... | @@ -27,6 +27,7 @@ movemail_LDADD = \ | ... | @@ -27,6 +27,7 @@ movemail_LDADD = \ |
27 | ${MU_LIB_MH}\ | 27 | ${MU_LIB_MH}\ |
28 | ${MU_LIB_MAILDIR}\ | 28 | ${MU_LIB_MAILDIR}\ |
29 | ${MU_LIB_AUTH}\ | 29 | ${MU_LIB_AUTH}\ |
30 | ${MU_LIB_MAILER}\ | ||
30 | @MU_AUTHLIBS@\ | 31 | @MU_AUTHLIBS@\ |
31 | ${MU_LIB_MAILUTILS}\ | 32 | ${MU_LIB_MAILUTILS}\ |
32 | @MU_COMMON_LIBRARIES@ | 33 | @MU_COMMON_LIBRARIES@ | ... | ... |
... | @@ -735,8 +735,8 @@ main (int argc, char **argv) | ... | @@ -735,8 +735,8 @@ main (int argc, char **argv) |
735 | MU_APP_INIT_NLS (); | 735 | MU_APP_INIT_NLS (); |
736 | MU_AUTH_REGISTER_ALL_MODULES (); | 736 | MU_AUTH_REGISTER_ALL_MODULES (); |
737 | 737 | ||
738 | /* Register the desired mailbox formats. */ | 738 | /* Register the desired "mailbox" formats. */ |
739 | mu_register_all_mbox_formats (); | 739 | mu_register_all_formats (); |
740 | 740 | ||
741 | /* argument parsing */ | 741 | /* argument parsing */ |
742 | 742 | ||
... | @@ -760,7 +760,7 @@ main (int argc, char **argv) | ... | @@ -760,7 +760,7 @@ main (int argc, char **argv) |
760 | if (emacs_mode) | 760 | if (emacs_mode) |
761 | { | 761 | { |
762 | /* Undo the effect of configuration options that may affect | 762 | /* Undo the effect of configuration options that may affect |
763 | the interaction with Emacs. */ | 763 | interaction with Emacs. */ |
764 | mu_registrar_set_default_record (mu_mbox_record); | 764 | mu_registrar_set_default_record (mu_mbox_record); |
765 | mu_debug_default_printer = mu_debug_stderr_printer; | 765 | mu_debug_default_printer = mu_debug_stderr_printer; |
766 | } | 766 | } | ... | ... |
-
Please register or sign in to post a comment