- 05 Jan, 2010 1 commit
- 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
-
- 18 Aug, 2008 1 commit
-
-
* 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
-
- 09 Jan, 2008 1 commit
-
-
* include/mailutils/server.h (mu_m_server_set_foreground) (mu_m_server_foreground,mu_m_server_pidfile) (mu_m_server_set_default_address) (mu_m_server_get_srvlist) (mu_m_server_get_default_address): New functions. * libargp/muinit.c (get_canonical_name): Do not use xmalloc. * mailbox/ipsrv.c (mu_ip_server_get_sockaddr): Return MU_ERR_BUFSPACE if provided buffer is not long enough to accomodate the result. * mailbox/msrv.c (mu_m_server_set_foreground) (mu_m_server_foreground,mu_m_server_pidfile) (mu_m_server_set_default_address) (mu_m_server_get_srvlist) (mu_m_server_get_default_address) (mu_m_server_parse_url): New functions.
Sergey Poznyakoff authored
-
- 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
-
- 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
-
- 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
-
- 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
-
- 27 Jun, 2007 1 commit
-
-
- 30 Oct, 2006 1 commit
-
-
- 18 Mar, 2005 1 commit
-
-
- 10 Mar, 2005 1 commit
-
-
- 08 Mar, 2005 2 commits
-
-
- 06 Mar, 2005 1 commit
-
-
- 27 Jan, 2004 1 commit
-
-
- 15 Jan, 2004 1 commit
-
-
- 28 Aug, 2003 1 commit
-
-
- 07 Aug, 2003 1 commit
-
-
- 26 Jul, 2003 1 commit
-
-
- 22 Jul, 2003 1 commit
-
-
- 16 Jul, 2003 1 commit
-
-
- 14 May, 2003 1 commit
-
-
- 10 May, 2003 1 commit
-
-
- 15 Mar, 2003 1 commit
-
-
- 14 Mar, 2003 1 commit
-
-
- 14 Jan, 2003 1 commit
-
-
- 20 Dec, 2002 1 commit
-
-
- 15 Dec, 2002 1 commit
-
-
- 14 Dec, 2002 1 commit
-
-
- 10 Dec, 2002 1 commit
-
-
- 03 Dec, 2002 1 commit
-
-
- 19 Nov, 2002 1 commit
-
-
- 02 Sep, 2002 1 commit
-
-
- 14 May, 2002 1 commit
-
-
- 25 Mar, 2002 2 commits
-
-
- 12 Mar, 2002 1 commit
-
-
- 21 Feb, 2002 1 commit
-
-
- 09 Feb, 2002 1 commit
-
-