[dovecot-cvs] dovecot/src/master mail-process.c,1.52,1.53

cras at procontrol.fi cras at procontrol.fi
Tue Jul 6 11:08:47 EEST 2004


Update of /home/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv22379/master

Modified Files:
	mail-process.c 
Log Message:
Updated error message texts.



Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- mail-process.c	19 Jun 2004 21:29:39 -0000	1.52
+++ mail-process.c	6 Jul 2004 08:08:44 -0000	1.53
@@ -29,15 +29,15 @@
 	}
 
 	if (set->login_uid == uid && master_uid != uid) {
-		i_error("Can't log in using login processes UID %s (user %s) "
-			"(see login_user in config file).",
+		i_error("Logins with login process UID %s (user %s) "
+			"not permitted (see login_user in config file).",
 			dec2str(uid), user);
 	}
 
 	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 "
-			"(modify first_valid_uid in config file)",
+			"(see first_valid_uid in config file)",
 			dec2str(uid), user);
 		return FALSE;
 	}
@@ -215,8 +215,9 @@
 		chroot_dir = set->mail_chroot;
 
 	if (*chroot_dir != '\0' && !validate_chroot(set, chroot_dir)) {
-		i_error("chroot directory no included in valid_chroot_dirs: %s",
-			chroot_dir);
+		i_error("Invalid chroot directory '%s' (user %s) "
+			"(see valid_chroot_dirs in config file)",
+			chroot_dir, user);
 		return FALSE;
 	}
 



More information about the dovecot-cvs mailing list