Allow to use mailer URLs as append-only mailboxes (deprecates remote+ mailboxes)
* NEWS: Update. * configure.ac (MU_LIB_REMOTE): Remove. (AC_CONFIG_FILES): Remove libproto/remote/Makefile. * include/mailutils/registrar.h (mu_remote_mbox_record): Remove. (MU_REMOTE_MBOX_PRIO): Remove. * libproto/Makefile.am (SUBDIRS): Remove remote. * libproto/include/mailer0.h (_mu_mailer_mailbox_init) (_mu_mailer_folder_init): New protos. * libproto/include/registrar0.h (_url_smtp_init) (_mailer_smtp_init): Remove. (_mu_mailer_sendmail_init, _mu_mailer_prog_init): Add prototype. * libproto/include/url0.h (struct _mu_url._uplevel): New member. * libproto/mailer/Makefile.am (libmu_mailer_la_SOURCES): Remove url_sendmail.c and url_smtp.c. * libproto/mailer/mbox.c: Move from ../remote. * libproto/mailer/url_sendmail.c: Remove. * libproto/mailer/url_smtp.c: Remove. * libproto/mailer/prog.c: Fix namespace. * libproto/mailer/sendmail.c: Likewise. * libproto/mailer/smtp.c: Likewise. * libproto/mailer/remote.c: New file. * libproto/remote/: Remove. * maidag/Makefile.am (maidag_LDADD): Remove ${MU_LIB_REMOTE}. * maidag/deliver.c (deliver_url): Remove `remote+' hack. (deliver): Fix error message. * maidag/guile.c: Fix indentation. * maidag/maidag.c: Support `remote+' mailboxes for backward compatibility. * mailbox/mailbox.c (_create_mailbox0): Call u_init after ensuring that url->scheme coincides with record->scheme. * mailbox/url.c (mu_url_uplevel): Use url->_uplevel, if defined. * libmu_argp/mu_argp.h (mu_check_option): Remove duplicate and incorrect prototype.
Showing
25 changed files
with
315 additions
and
356 deletions
libproto/mailer/remote.c
0 → 100644
libproto/mailer/url_sendmail.c
deleted
100644 → 0
libproto/mailer/url_smtp.c
deleted
100644 → 0
libproto/remote/.gitignore
deleted
100644 → 0
libproto/remote/Makefile.am
deleted
100644 → 0
libproto/remote/folder.c
deleted
100644 → 0
-
Please register or sign in to post a comment