dovecot-2.1: pop3c: Added pop3c_master_user setting.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 27 12:29:46 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/06ba409a63d3
changeset: 14581:06ba409a63d3
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 27 12:29:42 2012 +0300
description:
pop3c: Added pop3c_master_user setting.

diffstat:

 src/lib-storage/index/pop3c/pop3c-settings.c |  2 ++
 src/lib-storage/index/pop3c/pop3c-settings.h |  1 +
 src/lib-storage/index/pop3c/pop3c-storage.c  |  1 +
 3 files changed, 4 insertions(+), 0 deletions(-)

diffs (41 lines):

diff -r d8d587bd5a29 -r 06ba409a63d3 src/lib-storage/index/pop3c/pop3c-settings.c
--- a/src/lib-storage/index/pop3c/pop3c-settings.c	Wed Jun 27 12:25:05 2012 +0300
+++ b/src/lib-storage/index/pop3c/pop3c-settings.c	Wed Jun 27 12:29:42 2012 +0300
@@ -18,6 +18,7 @@
 	DEF(SET_UINT, pop3c_port),
 
 	DEF(SET_STR_VARS, pop3c_user),
+	DEF(SET_STR_VARS, pop3c_master_user),
 	DEF(SET_STR, pop3c_password),
 
 	DEF(SET_ENUM, pop3c_ssl),
@@ -35,6 +36,7 @@
 	.pop3c_port = 110,
 
 	.pop3c_user = "%u",
+	.pop3c_master_user = "",
 	.pop3c_password = "",
 
 	.pop3c_ssl = "no:pop3s:starttls",
diff -r d8d587bd5a29 -r 06ba409a63d3 src/lib-storage/index/pop3c/pop3c-settings.h
--- a/src/lib-storage/index/pop3c/pop3c-settings.h	Wed Jun 27 12:25:05 2012 +0300
+++ b/src/lib-storage/index/pop3c/pop3c-settings.h	Wed Jun 27 12:29:42 2012 +0300
@@ -6,6 +6,7 @@
 	unsigned int pop3c_port;
 
 	const char *pop3c_user;
+	const char *pop3c_master_user;
 	const char *pop3c_password;
 
 	const char *pop3c_ssl;
diff -r d8d587bd5a29 -r 06ba409a63d3 src/lib-storage/index/pop3c/pop3c-storage.c
--- a/src/lib-storage/index/pop3c/pop3c-storage.c	Wed Jun 27 12:25:05 2012 +0300
+++ b/src/lib-storage/index/pop3c/pop3c-storage.c	Wed Jun 27 12:29:42 2012 +0300
@@ -60,6 +60,7 @@
 	client_set.host = set->pop3c_host;
 	client_set.port = set->pop3c_port;
 	client_set.username = set->pop3c_user;
+	client_set.master_user = set->pop3c_master_user;
 	client_set.password = set->pop3c_password;
 	client_set.dns_client_socket_path =
 		t_strconcat(user->set->base_dir, "/",


More information about the dovecot-cvs mailing list