- 18 Feb, 2009 1 commit
-
-
* libproto/imap/folder.c (imap_parse): fix parsing of numeric values after UIDNEXT, UIDVALIDITY and UNSEEN.
Sergey Poznyakoff authored
-
- 11 Feb, 2009 3 commits
-
-
-
* libproto/imap/mbox.c (imap_envelope_sender): Bugfix. Address was freed before using its member.
Sergey Poznyakoff authored -
* include/mailutils/folder.h (mu_folder_create_from_record): Change type of the 2nd argument to mu_url_t. * include/mailutils/url.h (mu_url_uplevel): New proto. * mailbox/folder.c (mu_folder_create_from_record): Change type of the 2nd argument to mu_url_t. (mu_folder_create): Reflect changes to mu_folder_create_from_record. * mailbox/mailbox.c (mailbox_folder_create): Use mu_url_uplevel. * mailbox/url.c (mu_url_uplevel): New function.
Sergey Poznyakoff authored
-
- 10 Feb, 2009 2 commits
-
-
* libproto/imap/mbox.c (imap_envelope_sender): Fix operation when buf == NULL or buflen == 0.
Sergey Poznyakoff authored -
-
- 30 Jan, 2009 1 commit
-
-
* examples/cpp/lsf.cc, examples/cpp/msg-send.cc, include/mailutils/cpp/folder.h, libmu_cpp/folder.cc: New files.
Wojciech Polak authored
-
- 03 Jan, 2009 2 commits
-
-
* include/mailutils/cpp/debug.h, libmu_cpp/debug.cc: New files. * examples/cpp/mimetest.cc, examples/cpp/sfrom.cc, libmu_cpp/header.cc, include/mailutils/cpp/header.h: Accept default header value if missing.
Wojciech Polak authored -
* examples/cpp/mimetest.cc, include/mailutils/cpp/attribute.h, include/mailutils/cpp/body.h, include/mailutils/cpp/mime.h, include/mailutils/cpp/mutil.h, include/mailutils/cpp/registrar.h, libmu_cpp/attribute.cc, libmu_cpp/body.cc, libmu_cpp/mime.cc, libmu_cpp/mutil.cc, libmu_cpp/registrar.cc: New files.
Wojciech Polak authored
-
- 25 Dec, 2008 2 commits
-
-
* NEWS, configure.ac: Version 2.0 * README: Update * doc/texinfo/mailutils.texi: Update. * doc/texinfo/programs.texi: Update. * doc/Makefile.am: Add usage.texi. * imap4d/imap4d.c (imap4d_cfg_param): Fix typo. * auth/tls.c (mu_tls_module_init): Add missing break.
Sergey Poznyakoff authored -
-
- 24 Dec, 2008 2 commits
-
-
-
* 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
-
- 23 Dec, 2008 2 commits
-
-
* doc/texinfo/Makefile.am (final): Add fix-sentence-spacing. * doc/texinfo/mailutils.texi: Update. * doc/texinfo/programs.texi: Update. * pop3d/pop3d.c, sieve/sieve.c: Use mu_cfg_bool, where appropriate.
Sergey Poznyakoff authored -
-
- 09 Dec, 2008 1 commit
-
-
* mailbox/parsedate.y (DATE_SET): Change >= comparison to strict >. (__SET_SECOND,__SET_MINUTE,__SET_HOUR): Fix upper limit.
Sergey Poznyakoff authored
-
- 08 Dec, 2008 3 commits
-
-
-
-
* m4: Rename to am. * README-alpha, README-hacking: Reflect the switch. * */.cvsignore: Rename to .gitignore, update. * gnulib.modules: Add gitlog-to-changelog. * ChangeLog: Remove.
Sergey Poznyakoff authored
-
- 04 Dec, 2008 2 commits
-
-
-
examples/cpp/addr.cc, examples/cpp/url-parse.cc: Reflect recent API changes.
Wojciech Polak authored
-
- 03 Dec, 2008 2 commits
-
-
* testsuite/etc/mailutils.rc.in: New file. * testsuite/etc/DISTFILES: Add mailutils.rc.in * testsuite/lib/mailutils.exp (mu_copy_file): Define $arg variable to simplify using $ in template files. * sieve/testsuite/lib/sieve.exp (SIEVE_ETC_DIR): New global (sieve_test): Explicitly pass -f. Use SIEVE_ETC_DIR/mailutils.rc as configuration file. * imap4d/testsuite/imap4d/list.exp: Update the '*' test to match new contents of $MU_DATA_DIR/etc * sieve/sieve.c (sieve_mailbox): Print actual mailbox URL in case of failure.
Sergey Poznyakoff authored
-
- 27 Nov, 2008 2 commits
-
-
(mu_opool_get_bucket_size): New protos. * mailbox/opool.c (struct _mu_opool.bucket_size): New member. (alloc_pool, copy_chars): Use opool->bucket_size to set bucket size. (mu_opool_create): Initialize bucket_size with the default value. (mu_opool_set_bucket_size,mu_opool_get_bucket_size): New functions.
Sergey Poznyakoff authored -
* include/mailutils/opool.h (mu_opool_get_iterator): New function. * mailbox/opool.c (mu_opool_get_iterator): New function. * mailbox/hdritr.c (hdr_data_dup): Bugfix: notify owner about the new iterator.
Sergey Poznyakoff authored
-
- 21 Nov, 2008 1 commit
- 17 Nov, 2008 1 commit
-
-
and mu_message_clear_modified after constructing the message to make sure it is not marked as modified.
Sergey Poznyakoff authored
-
- 16 Nov, 2008 1 commit
-
-
- 15 Nov, 2008 1 commit
-
-
before scanning the tree. * mailbox/cfg_parser.y (block rule): Accept empty blocks. (parse_param): bail out if callback is not declared when it should. * mailbox/daemon.c (mu_daemon_create_pidfile) (mu_daemon_remove_pidfile): If running with UID=0 and EUID != 0, temporarily switch to EUID=0 for accessing pidfile (when creating or deleting).
Sergey Poznyakoff authored
-
- 12 Nov, 2008 3 commits
-
-
* mailbox/cfg_parser.y (mu_cfg_format_error): Raise mu_cfg_error_count only if level is less or equal to error. (_scan_tree_helper): "unknown section" is a warning.
Sergey Poznyakoff authored -
-
* include/mailutils/libargp.h (mu_app_cfg_verifier): New extern. * libargp/muinit.c (mu_app_cfg_verifier): New variable. (mu_app_init): Call mu_app_cfg_verifier if in lint mode.
Sergey Poznyakoff authored
-
- 10 Nov, 2008 2 commits
-
-
-
* libargp/muinit.c (mu_app_init): Do not parse configs if --config-help was given.
Sergey Poznyakoff authored
-
- 09 Nov, 2008 2 commits
-
-
* 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
-
- 07 Nov, 2008 2 commits
-
-
* mailbox/amd.c (_amd_message_save): Make sure message files have right permissions. (amd_message_stream_open): Remove useless flags addition. Permissions are taken care of in _amd_message_save.
Sergey Poznyakoff authored -
* 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
-
- 06 Nov, 2008 1 commit
-
-
* include/mailutils/stream.h (MU_STREAM_IRGRP, MU_STREAM_IWGRP) (MU_STREAM_IROTH, MU_STREAM_IWOTH, MU_STREAM_IMASK): New defines. * include/mailutils/mutil.h (mu_stream_flags_to_mode): New prototype. * libproto/maildir/mbox.c (maildir_create, maildir_flush) (maildir_scan0): Consider mailbox flags to determine its file mode. * mailbox/amd.c (amd_open, amd_message_stream_open): Likewise. * mailbox/file_stream.c (_file_open): Likewise. * mailbox/mutil.c (mu_stream_flags_to_mode): New file. * imap4d/namespace.c (namespace_getfullpath) (namespace_checkfullpath): Return the namespace number in the last argument (if not null). * imap4d/append.c, imap4d/copy.c, imap4d/delete.c, imap4d/list.c, imap4d/rename.c, imap4d/select.c, imap4d/status.c: Update calls to namespace_getfullpath. * imap4d/create.c (imap4d_create): Set mailbox flags depending on the namespace it is created in. * imap4d/imap4d.c (mailbox_mode): New variable. (parse_mode_spec): New function. (imap4d_cfg_param): New statements other-mailbox-mode and shared-mailbox-mode. * imap4d/imap4d.h (mailbox_mode): New proto. (namespace_getfullpath, namespace_checkfullpath): Add a parameter. * mailbox/progmailer.c (mu_progmailer_set_debug): Add missing return statement.
Sergey Poznyakoff authored
-
- 05 Nov, 2008 1 commit
-
-
* maidag/forward.c: New file. * maidag/Makefile.am (maidag_SOURCES): Add forward.c. * maidag/deliver.c (deliver_url): Call maidag_forward for local users. * maidag/maidag.c (forward_file, forward_file_checks): New variables. (maidag_cfg_param): New keywords forward-file and forward-file-checks. * maidag/maidag.h (FWD_IWGRP, FWD_IWOTH, FWD_LINK, FWD_DIR_IWGRP) (FWD_DIR_IWOTH, FWD_ALL): New defines. (forward_file, forward_file_checks): New variables. (enum maidag_forward_result): New data type. (maidag_forward): New prototype.
Sergey Poznyakoff authored
-