dovecot-1.2: If auth process count > 0 and auth sockets are defi...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Nov 15 19:14:45 EET 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/88b15ab4b1d0
changeset: 8403:88b15ab4b1d0
user: Timo Sirainen <tss at iki.fi>
date: Sat Nov 15 19:14:41 2008 +0200
description:
If auth process count > 0 and auth sockets are defined, give an understandable error message.
diffstat:
1 file changed, 5 insertions(+)
src/master/master-settings.c | 5 +++++
diffs (15 lines):
diff -r 244addad91a5 -r 88b15ab4b1d0 src/master/master-settings.c
--- a/src/master/master-settings.c Sat Nov 15 19:07:04 2008 +0200
+++ b/src/master/master-settings.c Sat Nov 15 19:14:41 2008 +0200
@@ -478,6 +478,11 @@ static bool auth_settings_verify(struct
}
for (s = auth->sockets; s != NULL; s = s->next) {
+ if (auth->count > 1 && strcmp(s->type, "listen") == 0) {
+ i_error("Currently auth process count must be 1 if "
+ "you're using auth socket listeners.");
+ return FALSE;
+ }
fix_base_path(auth->parent->defaults, &s->master.path);
fix_base_path(auth->parent->defaults, &s->client.path);
}
More information about the dovecot-cvs
mailing list