dovecot: Error message updates.
dovecot at dovecot.org
dovecot at dovecot.org
Sun Nov 11 21:33:36 EET 2007
details: http://hg.dovecot.org/dovecot/rev/b0dc70ac3372
changeset: 6787:b0dc70ac3372
user: Timo Sirainen <tss at iki.fi>
date: Sun Nov 11 21:33:33 2007 +0200
description:
Error message updates.
diffstat:
1 file changed, 9 insertions(+), 9 deletions(-)
src/master/mail-process.c | 18 +++++++++---------
diffs (43 lines):
diff -r 92768090a106 -r b0dc70ac3372 src/master/mail-process.c
--- a/src/master/mail-process.c Sun Nov 11 21:20:46 2007 +0200
+++ b/src/master/mail-process.c Sun Nov 11 21:33:33 2007 +0200
@@ -116,30 +116,30 @@ static bool validate_uid_gid(struct sett
const char *user)
{
if (uid == 0) {
- i_error("Logins with UID 0 not permitted (user %s)", user);
+ i_error("user %s: Logins with UID 0 not permitted", user);
return FALSE;
}
if (set->login_uid == uid && master_uid != uid) {
- i_error("Logins with login process UID %s (user %s) "
- "not permitted (see login_user in config file).",
- dec2str(uid), user);
+ i_error("user %s: Logins with login_user's UID %s "
+ "not permitted (see http://wiki.dovecot.org/UserIds).",
+ user, dec2str(uid));
return FALSE;
}
if (uid < (uid_t)set->first_valid_uid ||
(set->last_valid_uid != 0 && uid > (uid_t)set->last_valid_uid)) {
- i_error("Logins with UID %s (user %s) not permitted "
- "(see first_valid_uid in config file)",
- dec2str(uid), user);
+ i_error("user %s: Logins with UID %s not permitted "
+ "(see first_valid_uid in config file).",
+ user, dec2str(uid));
return FALSE;
}
if (gid < (gid_t)set->first_valid_gid ||
(set->last_valid_gid != 0 && gid > (gid_t)set->last_valid_gid)) {
- i_error("Logins for users with primary group ID %s (user %s) "
+ i_error("user %s: Logins for users with primary group ID %s "
"not permitted (see first_valid_gid in config file).",
- dec2str(gid), user);
+ user, dec2str(gid));
return FALSE;
}
More information about the dovecot-cvs
mailing list