[dovecot-cvs] dovecot-1.0: Complain about missing pop3_uidl_format if pop3 is ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 22 02:17:21 EEST 2007
details: http://hg.dovecot.org/dovecot-1.0/rev/7e803d7fe2d1
changeset: 5283:7e803d7fe2d1
user: Timo Sirainen <tss at iki.fi>
date: Tue May 22 02:17:16 2007 +0300
description:
Complain about missing pop3_uidl_format if pop3 is enabled.
diffstat:
1 file changed, 6 insertions(+)
src/master/master-settings.c | 6 ++++++
diffs (16 lines):
diff -r ac9475b28a58 -r 7e803d7fe2d1 src/master/master-settings.c
--- a/src/master/master-settings.c Tue May 22 02:11:12 2007 +0300
+++ b/src/master/master-settings.c Tue May 22 02:17:16 2007 +0300
@@ -623,6 +623,12 @@ static bool settings_verify(struct setti
if (!get_login_uid(set))
return FALSE;
+ if (set->protocol == MAIL_PROTOCOL_POP3 &&
+ *set->pop3_uidl_format == '\0') {
+ i_error("POP3 enabled but pop3_uidl_format not set");
+ return FALSE;
+ }
+
if (access(t_strcut(set->mail_executable, ' '), X_OK) < 0) {
i_error("Can't use mail executable %s: %m",
t_strcut(set->mail_executable, ' '));
More information about the dovecot-cvs
mailing list