[dovecot-cvs] dovecot/src/master mail-process.c, 1.113, 1.114 master-settings-defs.c, 1.4, 1.5 master-settings.c, 1.154, 1.155 master-settings.h, 1.94, 1.95
tss at dovecot.org
tss at dovecot.org
Fri Feb 2 11:20:28 UTC 2007
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv23339/src/master
Modified Files:
mail-process.c master-settings-defs.c master-settings.c
master-settings.h
Log Message:
Added mail_log_max_lines_per_sec setting.
Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- mail-process.c 25 Jan 2007 13:52:38 -0000 1.113
+++ mail-process.c 2 Feb 2007 11:20:24 -0000 1.114
@@ -480,7 +480,7 @@
}
if (!dump_capability) {
- log_fd = log_create_pipe(&log, 10);
+ log_fd = log_create_pipe(&log, set->mail_log_max_lines_per_sec);
if (log_fd == -1)
return FALSE;
} else {
Index: master-settings-defs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings-defs.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- master-settings-defs.c 18 Jan 2007 16:57:45 -0000 1.4
+++ master-settings-defs.c 2 Feb 2007 11:20:24 -0000 1.5
@@ -96,6 +96,7 @@
DEF(SET_STR, mail_plugins),
DEF(SET_STR, mail_plugin_dir),
DEF(SET_STR, mail_log_prefix),
+ DEF(SET_STR, mail_log_max_lines_per_sec),
/* imap */
DEF(SET_INT, imap_max_line_length),
Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- master-settings.c 18 Jan 2007 16:57:45 -0000 1.154
+++ master-settings.c 2 Feb 2007 11:20:24 -0000 1.155
@@ -247,6 +247,7 @@
MEMBER(mail_plugins) "",
MEMBER(mail_plugin_dir) MODULEDIR"/imap",
MEMBER(mail_log_prefix) "%Us(%u): ",
+ MEMBER(mail_log_max_lines_per_sec) 10,
/* imap */
MEMBER(imap_max_line_length) 65536,
Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- master-settings.h 18 Jan 2007 16:57:45 -0000 1.94
+++ master-settings.h 2 Feb 2007 11:20:24 -0000 1.95
@@ -104,6 +104,7 @@
const char *mail_plugins;
const char *mail_plugin_dir;
const char *mail_log_prefix;
+ unsigned int mail_log_max_lines_per_sec;
/* imap */
unsigned int imap_max_line_length;
More information about the dovecot-cvs
mailing list