summaryrefslogtreecommitdiff
path: root/movemail
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-10-16 22:34:02 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-10-16 22:34:02 +0300
commitcea1ebcb1ef0c5d46023e24b6008adb7d04376e3 (patch)
treed2ea28c310bef19676d36a64009f1ec1e3881473 /movemail
parentc93d9f7a12d78e2c3c991fbb8ba49008eee074ef (diff)
downloadmailutils-cea1ebcb1ef0c5d46023e24b6008adb7d04376e3.tar.gz
mailutils-cea1ebcb1ef0c5d46023e24b6008adb7d04376e3.tar.bz2
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.
Diffstat (limited to 'movemail')
-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 9588330be..c018d7f9d 100644
--- a/movemail/Makefile.am
+++ b/movemail/Makefile.am
@@ -27,6 +27,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 421884910..914bd7772 100644
--- a/movemail/movemail.c
+++ b/movemail/movemail.c
@@ -735,8 +735,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 */
@@ -760,7 +760,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;
}

Return to:

Send suggestions and report system problems to the System administrator.