1. 20 May, 2010 1 commit
    • * movemail/movemail.c: New options: --ignore-errors and --program-id.
      (_compare_msgno): Remove now unneded static.
      (main): Handle --ignore-errors and --program-id settings.
      Optimize the main loop for the case when --uidls is given.
      Return 1 on errors.
      * doc/texinfo/programs.texi: Document new features.
      Sergey Poznyakoff authored
  2. 05 Jan, 2010 2 commits
    • * configure.ac: Remove doc/rfc/Makefile.am
      * doc/Makefile.am (SUBDIRS): Remove rfc.
      (EXTRA_DIST): Add rfc/README.
      * doc/rfc/README: New file.
      * doc/rfc/CMC_V1.PS.gz: Remove.
      * doc/rfc/Makefile.am: Remove.
      * doc/rfc/rfc1413.txt: Remove.
      * doc/rfc/rfc1521.txt: Remove.
      * doc/rfc/rfc1731.txt: Remove.
      * doc/rfc/rfc1734.txt: Remove.
      * doc/rfc/rfc1738.txt: Remove.
      * doc/rfc/rfc1870.txt: Remove.
      * doc/rfc/rfc1891.txt: Remove.
      * doc/rfc/rfc1892.txt: Remove.
      * doc/rfc/rfc1893.txt: Remove.
      * doc/rfc/rfc1894.txt: Remove.
      * doc/rfc/rfc1939.txt: Remove.
      * doc/rfc/rfc1957.txt: Remove.
      * doc/rfc/rfc2045.txt: Remove.
      * doc/rfc/rfc2046.txt: Remove.
      * doc/rfc/rfc2047.txt: Remove.
      * doc/rfc/rfc2049.txt: Remove.
      * doc/rfc/rfc2060-errata
      * doc/rfc/rfc2060.txt: Remove.
      * doc/rfc/rfc2087.txt: Remove.
      * doc/rfc/rfc2088.txt: Remove.
      * doc/rfc/rfc2111.txt: Remove.
      * doc/rfc/rfc2177.txt: Remove.
      * doc/rfc/rfc2180.txt: Remove.
      * doc/rfc/rfc2192.txt: Remove.
      * doc/rfc/rfc2193.txt: Remove.
      * doc/rfc/rfc2195.txt: Remove.
      * doc/rfc/rfc2221.txt: Remove.
      * doc/rfc/rfc2222.txt: Remove.
      * doc/rfc/rfc2231.txt: Remove.
      * doc/rfc/rfc2245.txt: Remove.
      * doc/rfc/rfc2298.txt: Remove.
      * doc/rfc/rfc2342.txt: Remove.
      * doc/rfc/rfc2368.txt: Remove.
      * doc/rfc/rfc2384.txt: Remove.
      * doc/rfc/rfc2444.txt: Remove.
      * doc/rfc/rfc2449.txt: Remove.
      * doc/rfc/rfc2595.txt: Remove.
      * doc/rfc/rfc2683.txt: Remove.
      * doc/rfc/rfc2808.txt: Remove.
      * doc/rfc/rfc2821.txt: Remove.
      * doc/rfc/rfc2822.txt: Remove.
      * doc/rfc/rfc2831.txt: Remove.
      * doc/rfc/rfc3028.txt: Remove.
      * doc/rfc/rfc3206.txt: Remove.
      * doc/rfc/rfc3348.txt: Remove.
      * doc/rfc/rfc3431.txt: Remove.
      * doc/rfc/rfc3501.txt: Remove.
      * doc/rfc/rfc3691.txt: Remove.
      * doc/rfc/rfc4314.txt: Remove.
      * doc/rfc/rfc821.txt: Remove.
      * doc/rfc/rfc822.txt: Remove.
      * doc/rfc/rfc934.txt: Remove.
      * doc/rfc/sasl-mechanisms: Remove.
      Sergey Poznyakoff authored
    • Happy GNU year!
      Sergey Poznyakoff authored
  3. 31 Oct, 2009 1 commit
  4. 26 Aug, 2009 1 commit
  5. 20 Aug, 2009 1 commit
  6. 14 Aug, 2009 1 commit
    • * mail/from.c: Rewrite using format string.
      * mail/mail.c (default_setup): Set default value for `headline'.
      (main): Fix call to util_do_command.
      * mail/mail.h [HAVE_STDARG_H]: Remove conditions.
      (mail_compile_headline): New proto.
      * mail/mailvar.c (mailvar_tab): New variable "headline".
      * mail/util.c: Minor fixes.
      * NEWS, doc/programs.texi: Update.
      Sergey Poznyakoff authored
  7. 12 Aug, 2009 1 commit
  8. 09 Aug, 2009 1 commit
  9. 13 Jul, 2009 1 commit
    • * NEWS, doc/texinfo/programs.texi: Document struct command.
      * mail/struct.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add struct.c
      * mail/decode.c (fprint_msgset, mime_descend): New functions.
      Rewrite the rest using mime_descend.
      * mail/mail.h (mail_struct): New function.
      (MDHINT_SELECTED_HEADERS): New define.
      (struct mime_descend_closure, mime_descend_fn): New types.
      (mime_descend): New proto.
      (util_get_content_type): Get two arguments.
      * mail/table.c (mail_command_table): Add st[ruct].
      * mail/util.c (util_get_content_type): Get two arguments.
      All callers updated.
      (util_get_hdr_value): use mu_header_aget_value_unfold and
      mu_rtrim_class.
      Sergey Poznyakoff authored
  10. 12 Jul, 2009 2 commits
  11. 11 Jul, 2009 1 commit
    • * NEWS: Update.
      * doc/texinfo/programs.texi: Document new variables and commands.
      * mail/envelope.c: New file.
      * mail/mailvar.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add envelope.c and mailvar.c.
      
      * mail/mail.h (EF_HIDDEN): New constant
      (mail_env_data_t, mail_env_entry, mail_env_entry_is_set)
      (mail_env_entry, util_getenv, util_printenv, util_setenv)
      (var_iterator_t, var_iterate_next, var_iterate_first)
      (var_iterate_end, var_compl): Removed.
      
      (union mailvar_value, struct mailvar_variable
      (mail_variable, mail_envelope, print_envelope)
      (mailvar_find_variable, mailvar_get, mailvar_print)
      (mailvar_variable_format, mailvar_set, mailvar_set_compl): Add prototypes.
      (MOPTF_OVERWRITE, MOPTF_QUIET)
      
      * mail/table.c: List new commands: envelope, setq, variable.
      Implement completion for `set'.
      * mail/testsuite/mail/if.exp: Use setq to set a read-only variable.
      
      mail/alias.c, mail/decode.c, mail/delete.c, mail/escape.c
      mail/file.c, mail/folders.c, mail/from.c, mail/if.c,
      mail/mail.c, mail/mailline.c, mail/msgset.y, mail/pipe.c,
      mail/print.c, mail/quit.c, mail/reply.c, mail/send.c,
      mail/set.c, mail/shell.c, mail/top.c, mail/unset.c,
      mail/util.c: Use mailvar functions.
      Sergey Poznyakoff authored
  12. 08 Jul, 2009 1 commit
    • * include/mailutils/mailbox.h (MU_UIDL_LENGH)
      (MU_UIDL_BUFFER_SIZE): New defines.
      (struct mu_uidl): New struct.
      (mu_mailbox_get_uidls): New prototype.
      * libproto/include/mailbox0.h (struct _mu_mailbox): New member
      _get_uidls.
      * libproto/pop/mbox.c: Implement _get_uidls.
      * libproto/pop/folder.c: Include mailutils/cctype.h.
      
      * mailbox/mailbox.c (mu_mailbox_get_uidls): New function.
      
      * movemail/movemail.c: Implement --uidl option: use UIDLs to avoid
      downloading same messages twice.  Based on the idea of Alfred M. Szmidt.
      Implement --verbose option.
      
      * libproto/imap/mbox.c: Fix comment.
      
      * NEWS: Update.
      * doc/texinfo/programs.texi: Update.
      Sergey Poznyakoff authored
  13. 27 Mar, 2009 1 commit
  14. 25 Mar, 2009 2 commits
  15. 22 Mar, 2009 1 commit
    • * scripts/guile-1.4: Removed.
      * scripts/guile-1.6/guile-doc-snarf: Move to the parent dir.
      * scripts/guile-1.6/guile-doc-snarf.awk: Move to the parent dir.
      * scripts: Rename to mu-aux. All references updated.
      * am/enable.m4 (MU_ENABLE_SUPPORT): add fourth argument, action-default
      Translate + to x.
      * am/guile.m4 (MU_RESULT_ACTIONS): Remove.
      (MU_CHECK_GUILE): Rewrite. Drop support for versions < 1.8
      * am/lib.m4 (MU_CHECK_LIB): Rewrite using a cleaner approach.
      * bootstrap.conf: Remove build_aux assignement.
      * configure.ac: Assume a new naming scheme for optional builds: for
      each subst variable named MU_whatever_BUILD there is a corresponing
      Makefile.am variable named MU_whatever_LIST, if `whatever' is to be
      built MU_whatever_BUILD is set to '$(MU_whatever_LIST)'
      New option --disable-c++.
      Improve status output.
      * examples/Makefile.am, examples/cpp/Makefile.am,
      include/mailutils/Makefile.am, libmu_cpp/Makefile.am, libmu_scm/Makefile.am,
      libmu_sieve/Makefile.am, libmu_sieve/extensions/Makefile.am,
      libmu_sieve/load.c, mail.remote/Makefile.am,
      mail.remote/testsuite/Makefile.am, mailbox/Makefile.am,
      mh/Makefile.am, mimeview/Makefile.am, mu-aux/Makefile.am,
      python/mailutils/Makefile.am: Reflect changes to autoconf machinery.
      
      * /include/mailutils/guile.h: Drop support for versions < 1.8
      * libmu_scm/mu_util.c: Likewise.
      Sergey Poznyakoff authored
  16. 14 Feb, 2009 1 commit
    • Update docs · 7824f73f
      * doc/texinfo/libmuauth.texi: Move to libmu_auth.texi
      * doc/texinfo/libsieve.texi: Move to libmu_sieve.texi
      Wojciech Polak authored
  17. 25 Dec, 2008 2 commits
  18. 24 Dec, 2008 1 commit
    • * include/mailutils/gocs.h (gocs_init_fp): Rename to mu_gocs_init_fp. Change
      signature.
      (mu_gocs_mailbox_init, mu_gocs_locking_init, mu_gocs_source_email_init)
      (mu_gocs_mailer_init, mu_gocs_logging_init)
      (mu_gocs_debug_init): Fix prototypes.
      * include/mailutils/gsasl.h (mu_gsasl_module_init): Update prototype.
      * include/mailutils/libsieve.h (mu_sieve_module_init): Update prototype.
      * include/mailutils/mu_auth.h (struct mu_auth_module.init): Update type
      to mu_gocs_init_fp.
      * include/mailutils/radius.h (mu_radius_module_init): Update prototype.
      
      * include/mailutils/tls.h (struct mu_tls_module_config.client_enable):
      Replace with .enable. It affects entire TLS subsystem, not only client
      part.
      (mu_tls_module_init): Update prototype.
      * include/mailutils/types.hin (mu_gocs_op): New enum.
      
      * mailbox/gocs.c (mu_gocs_dummy, mu_gocs_mailbox_init)
      (mu_gocs_locking_init, mu_gocs_source_email_init)
      (mu_gocs_mailer_init, mu_gocs_logging_init)
      (mu_gocs_debug_init): Take two arguments.
      (mu_gocs_flush): After running set stage, call all init callbacks with
      mu_gocs_op_flush.
      
      * auth/tls.c (mu_tls_module_config): Initialize .enable to 1.
      (mu_tls_module_init): Rewrite using new prototype.
      Use mu_gocs_op_flush to initialize the library.
      (mu_init_tls_libs): Initialize the library only if mu_tls_module_config.enable
      is set.
      * auth/gsasl.c (mu_gsasl_module_init): Update.
      * auth/ldap.c (mu_ldap_module_init): Update.
      * auth/pam.c (mu_pam_module_init): Update.
      * auth/radius.c (mu_radius_module_init): Update.
      * auth/sql.c (mu_sql_module_init): Update.
      * auth/virtual.c (mu_virtual_module_init): Update.
      * libcfg/tls.c (mu_tls_param): Update.
      * libsieve/conf.c (mu_sieve_module_init): Update.
      * doc/texinfo/programs.texi: Update.
      Sergey Poznyakoff authored
  19. 23 Dec, 2008 2 commits
  20. 08 Dec, 2008 1 commit
  21. 09 Nov, 2008 2 commits
    • Fix typos. · 8a6fdf20
      * doc/texinfo/mailcap.texi, doc/texinfo/mailutils.texi
      doc/texinfo/mom.texi, doc/texinfo/mu-mh.texi,
      doc/texinfo/mu_message.texi, doc/texinfo/programs.texi,
      doc/texinfo/sieve.texi: Fix typos.
      Wojciech Polak authored
    • …odetection. Improve the docs.
      
      * configure.ac (MU_DEFAULT_SCHEME): New configuration variable.
      * mailbox/version.c (mu_conf_opt): Include default scheme.
      
      * examples/mimetest.c, examples/mta.c, libmu_scm/mu_scm.c: Remove
      mu_path_record. Use mu_registrar_set_default_record.
      
      * libproto/mbox/folder.c (_path_is_scheme): Rename to
      _mbox_is_scheme. Minor changes as well.
      (_path_record, mu_path_record): Removed.
      (_mbox_record): Use _mbox_is_scheme.
      
      * libsieve/actions.c: Remove unused variable.
      
      * include/mailutils/Makefile.am (types.h rule): Replace
      _MU_DEFAULT_RECORD_. Change MU_OFF_TYPE replacement pattern to
      _MU_OFF_TYPE_.
      
      * include/mailutils/mailbox.h (mu_mailbox_set_default_proto)
      (mu_mailbox_get_default_proto): Remove. See below.
      * include/mailutils/registrar.h (mu_registrar_set_default_scheme)
      (mu_registrar_get_default_scheme)
      (mu_registrar_get_default_record)
      (mu_registrar_set_default_record)
      (mu_registrar_lookup_scheme): New prototypes.
      (mu_path_record): Remove.
      (mu_register_all_mbox_formats): Remove mu_path_record.
      Set default scheme using mu_registrar_set_default_record.
      (mu_register_local_mbox_formats): Likewise.
      * include/mailutils/types.hin (MU_OFF_TYPE): Rename to
      _MU_OFF_TYPE_.
      (MU_DEFAULT_RECORD): New define.
      
      * mailbox/mailbox.c (mu_mailbox_set_default_proto)
      (mu_mailbox_get_default_proto): Remove.
      (mu_mailbox_create): Remove default_proto kludge. mu_registrar
      stuff is responsible for finding the correct record.
      * mailbox/registrar.c (mu_registrar_set_default_record)
      (mu_registrar_get_default_record)
      (mu_registrar_set_default_scheme)
      (mu_registrar_get_default_scheme)
      (mu_registrar_lookup_scheme): New functions.
      (mu_registrar_lookup_url): Fall back to default record if no
      matching record is found and the URL was not set explicitly
      (i.e. does not begin with a scheme).
      
      * mailbox/gocs.c: Use mu_registrar_set_default_scheme instead of
      mu_mailbox_set_default_proto.
      * libsieve/extensions/pipe.c, libsieve/extensions/spamd.c,
      libsieve/extensions/vacation.c: Fix comments.
      
      * doc/texinfo/getdate.texi: New file (from gnulib).
      * doc/texinfo/Makefile.am (mailutils_TEXINFOS): Add getdate.texi
      (fix-sentence-spacing): New rule. Forces single-space
      inter-sentence spacing.
      (check-tabs, check-sentence-spacing): New rules.
      (check-format): Depend on the above two.
      (check-refs, check-fixmes, check-unrevised): Fix copy-paste
      errors. Print diagnostics to stderr.
      
      * doc/texinfo/auth.texi, doc/texinfo/fdl.texi,
      doc/texinfo/framework.texi, doc/texinfo/imap4.texi,
      doc/texinfo/libmuauth.texi, doc/texinfo/mailbox.texi,
      doc/texinfo/mailcap.texi, doc/texinfo/mailutils.texi,
      doc/texinfo/mbox.texi, doc/texinfo/message.texi,
      doc/texinfo/mom.texi, doc/texinfo/mu_message.texi,
      doc/texinfo/mu_mime.texi, doc/texinfo/mu_scm.texi,
      doc/texinfo/muint.texi, doc/texinfo/pop3.texi,
      doc/texinfo/rendition.texi, doc/texinfo/sieve.texi,
      doc/texinfo/url.texi, doc/texinfo/usage.texi: Use GNU instead of
      @sc{gnu}, because latter looks awful when typeset (especially when
      followed by a capitalized word). Fix format by running `make final'.
      
      * doc/texinfo/programs.texi: Document more config statements.
      * doc/texinfo/libsieve.texi: Document loadable actions and tests.
      Sergey Poznyakoff authored
  22. 07 Nov, 2008 1 commit
    • * mailbox/permstr.c: New file.
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add permstr.c.
      * imap4d/imap4d.c (parse_mode_spec): Remove function.
      (cb_mailbox_mode): Use mu_parse_stream_perm_string instead of
      parse_mode_spec.
      * imap4d/imap4d.h (namespace_getfullpath)
      (namespace_checkfullpath): First arg is const.
      * imap4d/namespace.c (namespace_getfullpath)
      (namespace_checkfullpath): First arg is const.
      * include/mailutils/message.h (mu_message_save_to_mailbox): Add
      5th argument (permissions).
      * mailbox/message.c: Likewise.
      * include/mailutils/mutil.h (mu_parse_stream_perm_string): New
      proto.
      (mu_stream_flags_to_mode): Add isdir argument.
      * libsieve/actions.c (sieve_action_fileinto): New tag :permissions
      allows to set permissions to the mailbox being created.
      * mailbox/mutil.c (mu_stream_flags_to_mode): Add 2nd argument
      (isdir). Any bits in [go] sets imply raising 'x' bit for
      directories (i.e. if isdir != 0).
      
      * libproto/maildir/mbox.c, mailbox/amd.c: Update calls to
      mu_stream_flags_to_mode.
      
      * NEWS, doc/texinfo/sieve.texi: Update.
      
      Allow to set file permissions of the local mailboxes during
      creation.
      Sergey Poznyakoff authored
  23. 19 Oct, 2008 1 commit
  24. 18 Oct, 2008 1 commit
    • * NEWS: Update.
      * doc/texinfo/libmuauth.texi: Update.
      * doc/texinfo/mailutils.texi: Update.
      * doc/texinfo/programs.texi: Update.
      
      * include/mailutils/mailbox.h (mu_mailbox_create_from_url): New
      function.
      * include/mailutils/mutil.h (mu_aget_user_email_domain): New
      function.
      * libproto/include/address0.h: Remove obsolete comment.
      * libproto/remote/mbox.c (remote_mbox_append_message): If
      recipient address is not given, try to construct it from the URL.
      * mailbox/mailbox.c (mu_mailbox_create_from_url): New function.
      * mailbox/mutil.c (mu_aget_user_email_domain): New function.
      
      * maidag/deliver.c (deliver_to_user): Mailbox and auth must be
      freed by the caller.
      (deliver_url): New function.
      (deliver): Rewrite to allow for delivering to mailboxes explicitly
      specified by URLs (--url command line option).
      * maidag/maidag.c (options): New option --url.
      (main): Handle --url.
      * maidag/maidag.h (url_option): New global.
      * maidag/mailquota.c (check_quota): Return if auth == NULL.
      Sergey Poznyakoff authored
  25. 16 Oct, 2008 2 commits
  26. 05 Oct, 2008 1 commit
    • * doc/texinfo/programs.texi: Document Locking, ACL, and
      Tcp-wrappers.
      * mailbox/cfg_driver.c (mu_cfg_assert_value_type): Convert
      MU_CFG_STRING to MU_CFG_ARRAY.
      * mailbox/cfg_parser.y: Replace `tag: value' with `tag: vallist'.
      This allows for constructs like `acl a b c {', which were
      understood by the previous version.
      * mailbox/version.c (mu_conf_opt): Add WITH_LIBWRAP.
      Sergey Poznyakoff authored
  27. 02 Oct, 2008 1 commit
  28. 24 Sep, 2008 1 commit
  29. 22 Sep, 2008 1 commit
    • representation of syslog facility.
      * mailbox/cfg_lexer.l: Re-introduce pragmatic comment
      #debug=, for setting debugging level in config module.
      * mailbox/cfg_parser.y: Likewise.
      * mailbox/gdebug.c (mu_debug_level_from_string): Ignore trailing
      newline.
      * mailbox/version.c (mu_conf_option): Add SYSCONFDIR, MAILSPOOLDIR
      and LOG_FACILITY.
      
      * mh/mh_init.c (mh_list_format): Reformat to make it more
      readable. Use decode primitive on header fields that may be
      encoded.
      
      * doc/texinfo/mailutils.texi: Further update.
      * doc/texinfo/programs.texi: Likewise.
      Sergey Poznyakoff authored
  30. 21 Sep, 2008 1 commit
    • * configure.ac: Configure doc hints.
      * config/mailutils-config.c (main): Use mu_fprint_conf_option.
      * mailbox/version.c (mu_conf_option): Change type.
      (mu_fprint_conf_option): New function.
      (mu_fprint_options): Use mu_fprint_conf_option.
      (mu_print_options): Fix signature
      (mu_check_option): Change return type.
      * testsuite/lib/mailutils.exp (mu_version): Reflect changes in the
      output produced by --show-config-options.
      
      * include/mailutils/version.h (struct mu_conf_option): New data
      type.
      (mu_check_option): Change return type.
      (mu_fprint_conf_option): New prototype.
      * libargp/common.c (mu_common_argp): Rename --rcfile-* options
      to --config-*. Retain old names for a while.
      
      * doc/texinfo/Makefile.am (RENDITION_TEXI): New variable.
      (check-format, check-refs, check-fixmes, check-unrevised)
      (all-check-docs, check-docs): New rules.
      * doc/texinfo/rendition.texi: New file.
      * doc/texinfo/macros.texi: New file.
      * doc/texinfo/mailutils.texi: Start rewriting
      * doc/texinfo/programs.texi: Likewise.
      
      * doc/texinfo/c-api.texi: Reformat.
      * doc/texinfo/fdl.texi: Likewise.
      * doc/texinfo/libmuauth.texi: Likewise.
      * doc/texinfo/libsieve.texi: Likewise.
      * doc/texinfo/mu-mh.texi: Likewise.
      * doc/texinfo/sieve.texi: Likewise.
      
      * doc/texinfo/gendocs_template: Rewrite.
      Sergey Poznyakoff authored
  31. 18 Aug, 2008 2 commits
  32. 17 Aug, 2008 1 commit
    • * doc/rfc/Makefile.am: Add rfc3691.txt
      * doc/rfc/rfc3691.txt: New file.
      * imap4d/capability.c: Announce UNSELECT capability.
      * imap4d/close.c: Implement UNSELECT command.
      * imap4d/commands.c: Add UNSELECT command.
      * imap4d/imap4d.h (imap4d_unselect): New proto.
      * imap4d/testsuite/imap4d/anystate.exp: Reflect UNSELECT
      capability.
      * imap4d/testsuite/imap4d/examine.exp: Reflect yesterday's changes
      to STATUS output.
      Sergey Poznyakoff authored