1. 12 Nov, 2008 1 commit
  2. 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
  3. 23 Oct, 2008 1 commit
    • * sieve/sieve.c: New working mode: if `-f -' is given, treat
      stdin as an RFC2822 message, apply the script to it and exit with
      1 if the message gets deleted, 0 if it is not and EX_SOFTWARE on
      software errors.
      In traditional mode, exit with standard sysexit codes.
      * testsuite/sieve/i-numeric.exp: Reflect changes in sieve.
      * NEWS: Update.
      Sergey Poznyakoff authored
  4. 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
  5. 19 Aug, 2008 1 commit
    • * imap4d/id.c: New file.
      * imap4d/Makefile.am (imap4d_SOURCES): Add id.c, remove version.c.
      * imap4d/commands.c: Add ID command.
      Remove X-VERSION command.
      (SELECT,EXAMINE): Switch to authenticated mode on failure.
      * imap4d/imap4d.c (imap4d_argc, imap4d_argv): New variables.
      (imap4d_cfg_param): New keyword `id-fields'.
      (main): Save command line arguments.
      * imap4d/imap4d.h (imap4d_argc, imap4d_argv): New declarations.
      * imap4d/select.c (imap4d_select0): Do not reset state to auth on
      failure, this is done by util_finish.
      * imap4d/version.c: Remove.
      * imap4d/capability.c: Announce ID capability, remove X-VERSION.
      * imap4d/testsuite/imap4d/x.exp: Use ID instead of X-VERSION.
      
      * TODO, NEWS: Update.
      
      * mailbox/cfg_parser.y (_set_fun,parse_param): Bugfix.
      Sergey Poznyakoff authored
  6. 18 Aug, 2008 1 commit
    • Bugfixes. · ced56434
      * TODO: Update.
      * imap4d/fetch.c: Prevent coredumps on inexpected end of statement
      (e.g. `FETCH 1:* (uid')
      * imap4d/imap4d.h (imap4d_select0): Update protottype.
      * imap4d/select.c (imap4d_select0): Do not advertise actual
      mailbox name with a NO response.
      Return to authenticated state on failure.
      Sergey Poznyakoff authored
  7. 17 Aug, 2008 1 commit
  8. 18 Jul, 2008 1 commit
    • Minor fixes. · 69b1db83
      * NEWS, configure.ac: Raise version to 1.9.91
      * mail/mailline.c (ml_getc): Fix indentation.
      * mailbox/mime.c (mu_mime_get_part): Return MU_ERR_NOENT if part
      is out of range.
      Sergey Poznyakoff authored
  9. 02 Mar, 2008 1 commit
  10. 06 Feb, 2008 1 commit
    • * imap4d/bye.c, imap4d/starttls.c, imap4d/util.c: Use exit codes
      from sysexits.h
      * imap4d/imap4d.c: Use mu_set_signals to install signals.
      Use exit codes from sysexits.h.
      * imap4d/imap4d.h: Include sysexits.h and muaux.h
      (ERR_TERMINATE): New define.
      (imap4d_sigchld,imap4d_signal): Remove.
      (imap4d_master_signal,imap4d_child_signal): New prototypes.
      * imap4d/signal.c (imap4d_master_signal,imap4d_child_signal): New
      functions.
      
      * pop3d/pop3d.h Include sysexits.h and muaux.h
      (ERR_TERMINATE): New define.
      (pop3d_signal): Remove.
      (pop3d_master_signal, pop3d_child_signal): New protos.
      * pop3d/signal.c (pop3d_master_signal, pop3d_child_signal): New
      functions.
      
      * pop3d/extra.c, pop3d/popauth.c
      * pop3d/pop3d.c: Use mu_set_signals to install signals.
      Use exit codes from sysexits.h.
      
      * include/mailutils/server.h (mu_m_server_set_strexit): New
      prototype.
      * include/mailutils/types.hin (MU_ARRAY_SIZE): New define.
      
      * lib/Makefile.am (libmuaux_la_SOURCES): Add signal.c, strexit.c.
      (noinst_HEADERS): Add muaux.h
      * lib/muaux.h: New file.
      
      * libsieve/extensions/spamd.c: Add NLS markers.
      
      * mailbox/header.c (header_readline): Minor rewrite.
      * mailbox/msrv.c (struct _mu_m_server): New member `strexit'.
      (mu_m_server_begin): Call alloc_children.
      (mu_m_server_restore_signals): New function.
      (mu_m_server_end): Call mu_m_server_restore_signals.
      (m_srv_conn): Reset signals in child branch.
      
      * po/POTFILES.in: Update.
      Sergey Poznyakoff authored
  11. 04 Feb, 2008 1 commit
    • * examples/header.c: New command `itr'.
      (main): Empty input repeats the recent command.
      * include/mailutils/header.h (mu_header_get_iterator): New
      function.
      * libproto/include/header0.h (struct _mu_header): New member itr.
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add hdritr.c
      * mailbox/hdritr.c: New file.
      * mailbox/header.c (mu_header_remove): Bugfix. Invalidate the
      header after removal.
      Sergey Poznyakoff authored
  12. 12 Jan, 2008 1 commit
  13. 05 Jan, 2008 1 commit
    • * mailbox/Makefile.am: Replace tcpsrv.c with ipsrv.c.
      * mailbox/tcpsrv.c: Replace with ...
      * mailbox/ipsrv.c: ... this file, which supports both TCP and UDP.
      
      * mailbox/msrv.c: Use mu_ip_server_t.
      * mailbox/server.c (mu_server_destroy): Bugfix.
      * comsat/comsat.c, comsat/comsat.h: Use m-server.
      
      * maidag/lmtp.c, maidag/maidag.h, pop3d/pop3d.c: Update to match
      changed m-server types.
      
      * include/mailutils/server.h (mu_tcp_*): Replace with mu_ip_*.
      Add new prototypes.
      * include/mailutils/types.hin: Likewise.
      
      * lib/tcpwrap.c, lib/tcpwrap.h (mu_tcp_wrapper_prefork): Update
      signature to match mu_m_server_prefork_fp.
      
      * examples/echosrv.c: Use mu_ip_server_t
      * imap4d/idle.c, imap4d/imap4d.c, imap4d/imap4d.h,
      imap4d/preauth.c, imap4d/util.c: Remove mu_gocs_daemon.
      * include/mailutils/gocs.h, include/mailutils/libargp.h,
      include/mailutils/libargp.h, libargp/cmdline.c,
      libargp/common.c, libcfg/common.c, libcfg/init.c,
      mailbox/daemon.c, mailbox/gocs.c: Remove mu_gocs_daemon.
      
      * mailbox/amd.c (amd_open): Provide a null-locker.
      * include/mailutils/locker.h, mailbox/locker.c
      (mu_locker_mod_flags): New function.
      
      * examples/config/mailutils.schema: LDAP schema for Mailutils.
      * examples/config/Makefile.am: Add mailutils.schema
      
      * dotlock/dotlock.c (main): Remove superfluous invocation of
      mu_locker_set_flags.
      
      * libproto/mbox/mbox.c (mbox_quick_get_message): Return
      MU_ERR_NOENT if mailbox is empty.
      
      * mailbox/tcpsrv.c (family_to_proto): Rename to
      mu_address_family_to_domain.
      * po/POTFILES.in: Update.
      * pop3d/lock.c (pop3d_lock): use mu_locker_mod_flags, instead of
      mu_locker_set_flags.
      Sergey Poznyakoff authored
  14. 04 Jan, 2008 1 commit
    • * mailbox/msrv.c: New file.
      * mailbox/Makefile.am: Add msrv.c.
      * include/mailutils/server.h (mu_tcp_server_conn_fp): Take
      sockaddr as argument
      (mu_tcp_server_create,mu_tcp_server_get_sockaddr): Likewise.
      (mu_m_server_*): New prototypes.
      * include/mailutils/types.hin (mu_m_server_t): New type.
      * mailbox/acl.c: Fix debugging output.
      (mu_sockaddr_to_str, mu_sockaddr_to_astr): New functions.
      
      * mailbox/tcpsrv.c: Handle AF_INET and AF_UNIX sockets.
      * examples/echosrv.c: Update mu_tcp_server_* calls.
      * examples/config/Makefile.am: Remove comsat.conf and
      mailutils.rc.
      
      * imap4d/imap4d.c, imap4d/imap4d.h, imap4d/signal.c,
      maidag/lmtp.c, maidag/maidag.c, maidag/maidag.h, pop3d/extra.c,
      pop3d/pop3d.c, pop3d/pop3d.h, pop3d/signal.c: Rewrite using
      m-server.
      
      * include/mailutils/cfg.h (mu_offsetof): Bug fix.
      * mailbox/cfg_driver.c (dup_container): Bugfix. Offset was not
      copied.
      (mu_cfg_section_add_params): If identifier starts with a dot, it
      is hidden, i.e. its substatements are copied directly into the
      parent structure.
      * mailbox/cfg_lexer.c (isword): Take care of opening braces.
      (default_lexer): Several fixes.
      * mailbox/cfg_parser.y (mu_cfg_parse): Initialize debugging level
      from global settings.
      (_scan_tree_helper): Ensure debugging object has correct locus
      information before calling the section parser.
      (mu_cfg_scan_tree): If no debugging object is supplied, use the
      one from diag.c
      * mailbox/daemon.c (mu_daemon_create_pidfile): Return a meaningful
      error code.
      * mailbox/debug.c (mu_debug_create): Initialize printer to NULL.
      (mu_debug_vprintf): If printer is NULL, use
      mu_debug_default_printer.
      (mu_debug_check_level): Bugfix.
      
      * mailbox/server.c: Minor indentation fix.
      * mailbox/syslog.c (mu_diag_syslog_printer): Chop off \r as well.
      * mailbox/folder.c (mu_folder_create_from_record): Bugfixes.
      
      * include/mailutils/debug.hm4 (mu_sockaddr_to_str)
      (mu_sockaddr_to_astr): New functions.
      
      * include/mailutils/.cvsignore: Add debug.h
      
      * po/POTFILES.in: Update.
      Sergey Poznyakoff authored
  15. 30 Dec, 2007 1 commit
    • * frm/testsuite/frm/test.exp: Call mu_init with -noflags option.
      Use --mail-folder option when necessary.
      * messages/testsuite/messages/test.exp: Likewise.
      * readmsg/testsuite/readmsg/test.exp: Likewise.
      * sieve/testsuite/lib/sieve.exp: Likewise.
      * sieve/testsuite/sieve/action.exp: Likewise.
      * sieve/testsuite/scripts/fileinto.sv: Use +file, instead of
      %file.
      
      * imap4d/imap4d.c: Register mailbox formats before parsing
      configuration.
      * imap4d/util.c (util_wcard_match): Replaced with a more efficient
      implementation, based on wildmat from GNU Radius.
      * imap4d/testsuite/imap4d/list.exp: Expect two non-mailbox files
      to appear in the list output (see libproto/mbox/folder.c, 2007-12-28).
      
      * libargp/common.c: New option --mail-folder.
      * libcfg/common.c: New statement mailbox/folder
      
      * libproto/maildir/folder.c (_maildir_is_scheme): Never return
      MU_FOLDER_ATTRIBUTE_DIRECTORY bit: maildir folders cannot contain
      subfolders.
      * libproto/maildir/mbox.c (maildir_msg_init): Bugfix: use full
      file name.
      Print additional diagnostics if stat fails.
      * libproto/mbox/folder.c (list_helper): Take additional argument,
      record, specifying a mu_record_t object to match entries
      against. If it is NULL, mu_registrar_lookup is used.
      Fix descending into subdirectories.
      
      * maidag/deliver.c (deliver): Split off deliver_to_user function;
      call it with user privileges. This fixes privileges of any created
      maildir folders.
      * maidag/maidag.c (set_debug_flags): Bugfix.
      
      * mail/mail.c (main): Open the mailbox with MU_STREAM_CREAT flag.
      
      * mailbox/amd.c (amd_open): Do not initialize amd->mtime to
      trigger initial scanning.
      (_amd_message_save): Check rename return value.
      (amd_is_updated): Do not check for msg_count==0, rely on the
      timestamp.
      
      * mailbox/mailbox.c (mu_mailbox_set_default_proto): Accept an
      argument without trailing semicolon.
      * mailbox/mbx_default.c (mu_set_mail_directory): Accept NULL
      argument.
      (mu_set_mailbox_pattern): Likewise.
      (mu_mailbox_create_default): Use FOLDER or MAIL environment
      variables only if _mu_mailbox_pattern is not set. In other words,
      setting mail-spool in the configuration file overrides these
      variables.
      Sergey Poznyakoff authored
  16. 28 Dec, 2007 1 commit
    • appear in any local URLs.
      
      * TODO, NEWS: Update.
      
      * examples/url-parse.c: Print field/value pairs.
      * include/mailutils/argcv.h (MU_ARGCV_RETURN_DELIMS): New macro.
      (mu_argcv_get_np): New function.
      (mu_argcv_remove): New function.
      * include/mailutils/mutil.h (mu_scheme_autodetect_p): Change
      prototype.
      * include/mailutils/registrar.h (mu_registrar_lookup_url): New
      function.
      (struct _mu_record._is_scheme): Change signature.
      * include/mailutils/url.h (mu_url_sget_fvpairs)
      (mu_url_aget_fvpairs): New functions.
      (mu_url_expand_path): New function.
      
      * libproto/imap/folder.c (folder_imap_list): Fix signature.
      * libproto/nntp/folder.c (nntp_folder_list): Fix signature.
      * libproto/include/amd.h (amd_url_init): Remove.
      * libproto/include/registrar0.h: Fix scheme defines.
      * libproto/include/url0.h (struct _mu_url.fvpairs,fvcount): New
      members.
      * libproto/maildir/folder.c (_maildir_is_scheme): Change
      signature.
      (_maildir_url_init): Remove
      (_maildir_record): Remove url_init.
      * libproto/mbox/folder.c (_path_record): Remove url_init.
      (_mbox_record): Use mu_url_expand_path as url_init.
      (_path_is_scheme): Change signature.
      * libproto/mh/folder.c (_mh_is_scheme): Change signature.
      (_mh_url_init): Remove.
      (_mh_record): Use mu_url_expand_path as url_init.
      * libproto/mbox/Makefile.am (libmu_mbox_la_SOURCES): Remove url.c
      * libproto/mbox/url.c: Remove.
      
      * mail/mail.h, mail/util.c (util_url_to_string): New function.
      * mail/quit.c, mail/summary.c: Use util_url_to_string where
      appropriate.
      * mailbox/amd.c (amd_url_destroy, amd_url_init): Remove.
      * mailbox/argcv.c (mu_argcv_get_np): New function.
      (argcv_scan): Change signature. All callers updated.
      (argcv_get_n): Rewrite using argcv_get_np.
      (mu_argcv_remove): New function.
      
      * mailbox/file_stream.c (struct _prog_stream.argc): Fix data type.
      * mailbox/folder.c (mu_folder_create_from_record): URL initializer
      is optional.
      * mailbox/gdebug.c (mu_global_debug_from_string): Fix datatype of
      argc.
      * mailbox/mailbox.c (mailbox_folder_create): Rewrite.
      (_create_mailbox): Split off _create_mailbox0 function.
      Make URL initializer optional.
      * mailbox/mutil.c (mu_scheme_autodetect_p): Rewrite.
      * mailbox/registrar.c (mu_registrar_lookup_url): New function.
      (mu_registrar_lookup): Rewrite using mu_registrar_lookup_url.
      (mu_record_is_scheme,mu_record_set_is_scheme): Change signature.
      * mailbox/url.c (mu_url_destroy): Destroy fvpairs.
      (url_parse0): Use scheme "file" for URLs beginning with a /.
      Parse parameters.
      (mu_url_sget_fvpairs, mu_url_aget_fvpairs): New functions.
      (mu_url_expand_path): New function.
      * mailbox/testsuite/Urls: Update.
      
      * pop3d/bulletin.c (set_bulletin_db,set_bulletin_source): Allocate
      string storage.
      (read_bulletin_db): Return 0 if no record was found.
      (get_last_delivered_num): Return error code.
      (deliver_pending_bulletins): Rewrite.
      * pop3d/capa.c (pop3d_capa): Bugfix.
      Sergey Poznyakoff authored
  17. 19 Dec, 2007 1 commit
    • * configure.ac (MU_LIB_REMOTE): New substitution variable.
      (AC_CONFIG_FILES): Add libproto/remote/Makefile.
      * imap4d/copy.c, imap4d/create.c, imap4d/delete.c, imap4d/fetch.c,
      imap4d/imap4d.c, imap4d/list.c, imap4d/lsub.c, imap4d/rename.c,
      imap4d/subscribe.c, imap4d/unsubscribe.c, imap4d/util.c: Spelling
      fixes.
      * include/mailutils/cfg.h (mu_cfg_error_count): New variable.
      * include/mailutils/gocs.h (struct mu_gocs_mailbox):  New member
      mailbox_pattern
      * include/mailutils/libargp.h (mu_rcfile_lint): New variable.
      * include/mailutils/mailbox.h (mu_set_mailbox_pattern): New
      function.
      (mu_mail_directory): Removed.
      (mu_mailbox_url): New function.
      * include/mailutils/mutil.h (mu_normalize_mailbox_url): Remove.
      * include/mailutils/registrar.h (mu_0_6_registrar_lookup): Remove.
      
      * libargp/common.c: New options --rcfile-lint and
      --mailbox-pattern.
      * libargp/muinit.c: Handle --rcfile-lint.
      * libcfg/common.c: New statement mailbox-pattern
      * libmu_scm/mu_mailbox.c (mu-mail-directory): Deprecated.
      (mu-user-mailbox-url): New function.
      
      * libproto/remote: New directory.
      * libproto/remote/folder.c: New file.
      * libproto/remote/mbox.c: New file.
      * libproto/remote/.cvsignore: New file.
      
      * libproto/Makefile.am (SUBDIRS): Add remote
      * libproto/mbox/folder.c, libproto/mbox/url.c: Indentation and
      spelling fixes.
      * maidag/Makefile.am (maidag_LDADD): Add MU_LIB_REMOTE.
      * maidag/maidag.c: Register mu_remote_mbox_record.
      * mailbox/cfg_parser.y (mu_cfg_error_count): New variable.
      (mu_cfg_format_error,_mu_cfg_vperror): Increment
      mu_cfg_error_count.
      * mailbox/debug.c (mu_debug_check_level): Do not mask out
      inheritance bit.
      * mailbox/gocs.c (mu_gocs_mailbox_init): Set mailbox pattern.
      * mailbox/mailbox.c (_create_mailbox): Bugfix.
      * mailbox/mbx_default.c (mu_set_mailbox_pattern): New finction.
      (mu_set_mail_directory): Rewrite.
      (user_mailbox_name): Rewrite.
      * mailbox/mutil.c (mu_normalize_mailbox_url): Remove.
      * mailbox/registrar.c (mu_0_6_registrar_lookup): Remove.
      * guimb/scm/sieve-core.scm (sieve-main): Use mu-user-mailbox-url.
      Sergey Poznyakoff authored
  18. 07 Dec, 2007 1 commit
    • * examples/Makefile.am: Add aclck
      * examples/aclck.c: New file. Test program for ACLs.
      * include/mailutils/Makefile.am (pkginclude_HEADERS): Add acl.h,
      kwd.h and vartab.h.
      * include/mailutils/acl.h: New file. ACL declarations.
      * include/mailutils/kwd.h: New file. Declarations for simple
      string to token conversion.
      * include/mailutils/vartab.h: New file. Declarations of functions
      for variable expansion.
      * include/mailutils/mailutils.h: Include acl.h, kwd.h and
      vartab.h.
      * include/mailutils/types.hin: Define mu_vartab_t
      
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add acl.c, kwd.c,
      and vartab.c.
      * mailbox/acl.c: New file.
      * mailbox/kwd.c: New file.
      * mailbox/vartab.c: New file.
      
      * mailbox/cfg_parser.y (parse_cidr): Fix typo.
      * mailbox/list.c: Fix indentation.
      * mailbox/mailbox.c (_create_mailbox): Fix type of level.
      * mailbox/syslog.c: Use mu_kwd_* functions.
      Sergey Poznyakoff authored
  19. 05 Dec, 2007 1 commit
    • * imap4d/Makefile.am, mu_daemon_argp_parser (LDADD): Add
      TCPWRAP_LIBRARIES.
      * imap4d/imap4d.c: Include tcpwrap.h
      (imap4d_mainloop): Check the connection using tcp wrappers.
      * imap4d/preauth.c: Fix a typo in the comment.
      * maidag/maidag.h: Include tcpwrap.h
      * maidag/maidag.c, maidag/lmtp.c: Add TCP wrappers support.
      * pop3d/pop3d.c: Include tcpwrap.h
      (pop3d_mainloop): Check the connection using tcp wrappers.
      * lib/Makefile.am: Add tcpwrap.c and tcpwrap.h
      * lib/tcpwrap.c: New file.
      * lib/tcpwrap.h: New file.
      * libargp/common.c (mu_daemon_argp_parser): Bugfix.
      Sergey Poznyakoff authored
  20. 03 Dec, 2007 1 commit
  21. 30 Nov, 2007 1 commit
    • * include/mailutils/types.hin: New type mu_log_level_t.
      * include/mailutils/debug.hm4, include/mailutils/diag.h,
      mailbox/cfg_lexer.c, mailbox/cfg_parser.y, mailbox/dbgstderr.c,
      mailbox/dbgsyslog.c, mailbox/debug.c, mailbox/diag.c,
      mailbox/gdebug.c, mailbox/muerror.c, mailbox/syslog.c,
      sieve/sieve.c: Use mu_log_level_t instead of size_t for debugging
      and logging levels.
      Sergey Poznyakoff authored
  22. 26 Nov, 2007 2 commits
    • Sergey Poznyakoff authored
    • * auth/Makefile.am (libmuauth_la_SOURCES): Add ldap.c.
      * auth/ldap.c: New file.
      * include/mailutils/Makefile.am (pkginclude_HEADERS): Add ldap.h.
      * include/mailutils/ldap.h: New file.
      * include/mailutils/libcfg.h (mu_ldap_cfg_capa): New extern.
      * include/mailutils/mu_auth.h (mu_auth_ldap_module): New extern.
      (MU_AUTH_REGISTER_ALL_MODULES): Register ldap.
      * libcfg/Makefile.am (libmucfg_la_SOURCES): Add ldap.
      * libcfg/ldap.c: New file.
      * libcfg/init.c (cfg_capa_table): Add ldap.
      * mailbox/gocs.c (mu_gocs_logging_init): Initialize log_facility
      to default if not specified otherwise. Need to revise this later.
      * mailbox/version.c (mu_conf_option): Reveal ldap, if supported.
      
      * mailbox/mu_auth.c (mu_auth_data_alloc): Add safety
      checks. Provide reasonable defaults for missing arguments.
      * mailbox/mutil.c (mutil_parse_field_map): Bugfix - increment by 2
      on each loop.
      
      * libargp/mu_argp.c (mu_build_argp): Do not bail out if an unknown
      capability is requested.
      
      * include/mailutils/assoc.h (mu_assoc_count): New function.
      * mailbox/assoc.c: Likewise.
      
      * auth/radius.c (_expand_query): Static
      
      * mailbox/cfg_lexer.c: Fixed memory management during cloning.
      Sergey Poznyakoff authored
  23. 19 Nov, 2007 1 commit
    • (MU_APP_LIBRARIES): Rename libargp.a to libmuargp.a
      * NEWS: Update.
      
      * comsat/comsat.c, dotlock/dotlock.c, examples/muauth.c,
      examples/muemail.c, frm/frm.h, guimb/main.c, imap4d/imap4d.c,
      libargp/auth.c, libargp/cmdline.c, libargp/common.c,
      libargp/gsasl.c, libargp/mu_argp.c, libargp/pam.c,
      libargp/radius.c, libargp/sieve.c, libargp/sql.c, libargp/tls.c,
      libargp/virtdomain.c, maidag/maidag.h, mail/mail.c,
      mail.local/main.c, mail.remote/mail.remote.c, messages/messages.c,
      mimeview/mimetypes.y, mimeview/mimeview.c, movemail/movemail.c,
      pop3d/extra.c, pop3d/pop3d.c, pop3d/popauth.c, readmsg/readmsg.c,
      sieve/sieve.c: Include mailutils/libargp.h.
      
      * config/mailutils-config.c: New arguments to --link: cfg and argp.
      
      * include/mailutils/Makefile.am (pkginclude_HEADERS): Remove
      compat.h, add libargp.h, libcfg.h and version.h
      * include/mailutils/compat.h: Remove
      * include/mailutils/libargp.h: New file (from libargp/cmdline.h)
      * include/mailutils/libcfg.h: New file (from (libcfg/)
      * include/mailutils/version.h: New file
      
      * include/mailutils/folder.h (struct mu_0_6_folder_list): Remove
      (mu_0_6_folder_list, mu_0_6_folder_lsub)
      (mu_0_6_folder_list_destroy): Remove.
      
      * include/mailutils/mailutils.h: Include version.h
      Remove 0.6 compatibility layer.
      * mailbox/folder.c (list_to_0_6_folder_list, mu_0_6_folder_list)
      (mu_0_6_folder_lsub, mu_0_6_folder_list_destroy): Remove.
      
      * lib/Makefile.am (libmuaux_la_SOURCES): Remove argpinit.c,
      muinit.h and muinit.c
      
      * libargp/Makefile.am (noinst_LIBRARIES, noinst_HEADERS): Remove
      (lib_LIBRARIES): Add libmuargp.a
      * libargp/compat.c: New file.
      * libargp/muinit.c: New file.
      * libargp/cmdline.h: Remove.
      
      * libcfg/Makefile.am (noinst_HEADERS): Remove.
      * libcfg/auth.c, libcfg/common.c, libcfg/gsasl.c, libcfg/init.c,
      libcfg/pam.c, libcfg/radius.c, libcfg/sieve.c, libcfg/sql.c,
      libcfg/tls.c, libcfg/virtdomain.c: Include mailutils/libcfg.h
      
      * mailbox/Makefile.am (libmailutils_la_SOURCES): Add version.c
      * mailbox/cfg_lexer.c (_mu_parse_config): Do nothing if
      root_container is NULL.
      
      * mh/ali.c, mh/anno.c, mh/burst.c, mh/comp.c, mh/fmtcheck.c,
      mh/folder.c, mh/forw.c, mh/inc.c, mh/install-mh.c, mh/mark.c,
      mh/mhl.c, mh/mhn.c, mh/mhparam.c, mh/mhpath.c, mh/pick.c,
      mh/refile.c, mh/repl.c, mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c,
      mh/sortm.c, mh/whatnow.c, mh/whom.c: Use mh_argp_init instead of
      mu_argp_init.
      * mh/mh_argp.c, mh/mh_getopt.h (mh_argp_init): New function
      Sergey Poznyakoff authored
  24. 10 Nov, 2007 1 commit
  25. 08 Nov, 2007 1 commit
  26. 12 Oct, 2007 1 commit
  27. 09 Jul, 2007 1 commit
  28. 05 Jul, 2007 1 commit
  29. 29 Jun, 2007 1 commit
  30. 28 Jun, 2007 2 commits
  31. 27 Jun, 2007 1 commit
  32. 26 Jun, 2007 1 commit
  33. 24 Jun, 2007 1 commit
  34. 22 Jun, 2007 1 commit
  35. 06 Mar, 2007 1 commit
  36. 27 Feb, 2007 1 commit
  37. 25 Feb, 2007 1 commit
  38. 13 Feb, 2007 1 commit