search for: mailbox_name_log_len

Displaying 3 results from an estimated 3 matches for "mailbox_name_log_len".

2013 Aug 01
1
Antispam folder names
Is there anywhere a collection of folder names for the antispam_trash and antispam_spam configuration? Our problem is that in academia, you have a vast amount of different clients, and some, like Microsoft, use language-specific folder names *on the server*. So we're now collecting folder names to better handle the rare cases. Two more problems: 1. We needed to fix UTF-8 handling in the
2010 Jul 29
1
Patch: New event "mailbox_create" for the mail_log plugin
...torage_module_context *lstorage = MAIL_LOG_CONTEXT(storage); + + if (lstorage->super.mailbox_create(storage, name, directory) < 0) + return -1; + + if ((mail_log_set.events & MAIL_LOG_EVENT_MAILBOX_CREATE) == 0) + return 0; + + i_info("Mailbox created: %s", str_sanitize(name, MAILBOX_NAME_LOG_LEN)); + return 0; +} + static void mail_log_mail_storage_created(struct mail_storage *storage) { union mail_storage_module_context *lstorage; @@ -604,6 +623,7 @@ lstorage = p_new(storage->pool, union mail_storage_module_context, 1); lstorage->super = storage->v; storage->v.mailbox_open...
2014 Aug 05
1
[Patch] mail_log plugin supports remote, local ip addresses
...y T. -------------- next part -------------- --- src/plugins/mail-log/mail-log-plugin.c.orig 2014-08-05 13:12:21.000000000 +0400 +++ src/plugins/mail-log/mail-log-plugin.c 2014-08-05 13:15:30.000000000 +0400 @@ -13,6 +13,8 @@ #include <stdlib.h> +#include "network.h" + #define MAILBOX_NAME_LOG_LEN 64 #define HEADER_LOG_LEN 80 @@ -27,7 +29,9 @@ MAIL_LOG_FIELD_VSIZE = 0x10, MAIL_LOG_FIELD_FLAGS = 0x20, MAIL_LOG_FIELD_FROM = 0x40, - MAIL_LOG_FIELD_SUBJECT = 0x80 + MAIL_LOG_FIELD_SUBJECT = 0x80, + MAIL_LOG_FIELD_REMOTE_IP = 0x100, + MAIL_LOG_FIELD_LOCAL_IP = 0x200 }; #define MAIL_LOG_...