Displaying 20 results from an estimated 862 matches for "first_valid_gid".
2012 Mar 01
4
doveadm -A stops processing at first uid<first_valid_uid
...edbefore 30d
but any doveadm command that uses "-A" to iterate through all users will
stop processing at the first account with UID<first_valid_uid.
doveadm(sysdaemon): Error: user sysdaemon: Couldn't drop
privileges: Mail access for users with GID 5551 not permitted
(see first_valid_gid in config file, gid from userdb lookup).
doveadm(sysdaemon): Error: User init failed
doveadm: Error: Failed to iterate through some users
However, these accounts are system accounts (locked password, no shell)
and are in userdb to provide UID<->name mapping for utilities like ls,
chown,...
2005 Oct 29
3
login_user & first_valid_uid
Hi all,
I have next settings in .conf file
...
#
# Login user for SQL-based virtual users
#
login_user = dovecot
first_valid_uid = 100
first_valid_gid = 100
...
System user dovecot has UID/GID = 101/101. But every time when user logins
I see in log file
Oct 29 15:51:25 orion dovecot: Logins with login process UID 101 (user elnino) not permitted (see login_user in config file).
Oct 29 15:51:25 orion dovecot: auth(default): Growing pool 'pl...
2005 Apr 02
2
We couldn't drop root group privileges
...59 2 Apr 19:03 dovecot.sh
the /usr/local/etc/dovecot.conf has the following entries.
protocols = imap
ssl_disable = yes
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
login = imap
login_user = dovecot
login = pop3
verbose_proctitle = yes
first_valid_gid = 0
valid_chroot_dirs = /var/mail
default_mail_env = maildir:~/Maildir
client_workarounds = oe6-fetch-no-newmail outlook-idle
outlook-pop3-no-nuls
maildir_copy_with_hardlinks = yes
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = passwd
auth_user = root
auth_verb...
2008 Apr 30
2
[RFC] FreeBSD port for dovecot 1.1 series
...ort to dovecot11 and
make changes on the latter. In this version of patchset, I have
intentionally removed the following chunk of change which by default
allows gid=0 users to log in.
%%%
@@ -333,6 +338,7 @@
~ # belongs to supplementary groups with non-valid GIDs, those groups are
~ # not set.
~ #first_valid_gid = 1
+first_valid_gid = 0
~ #last_valid_gid = 0
~ # Maximum number of running mail processes. When this limit is reached,
%%%
Please let me know if you want more features, have comments, etc., for
the FreeBSD port. I am subscribed to this list but I would appreciate
if you could use 'Reply al...
2006 Nov 28
1
Can't drop root group privileges
...xx.xxx.xx, TLS
dovecot: Nov 28 09:23:54 Error: IMAP(jackie): We couldn't drop root group privil
eges (wanted=200, gid=200, egid=0)
dovecot: Nov 28 09:23:54 Error: child 860274 (imap) returned error 89
I've seen this error reported on the list, with the suggested resolution
being to set the first_valid_gid = 0 in dovecot.conf. I've tried that,
and nothing changes.
Any help would be greatly appreciated!
Jackie
---
Jackie Hunt
ACNS Voice: (970) 663-3789
Colorado State University FAX:...
2003 Apr 15
1
PATCH allow_zero_gid option
...gid == 0) {
+ if (set->allow_zero_gid == FALSE && uid != 0 && gid == 0) {
i_error("mail process isn't allowed to be in group 0");
return FALSE;
}
@@ -38,8 +38,9 @@ static int validate_uid_gid(uid_t uid, g
return FALSE;
}
- if (gid < (gid_t)set->first_valid_gid ||
- (set->last_valid_gid != 0 && gid > (gid_t)set->last_valid_gid)) {
+ if (set->allow_zero_gid == FALSE &&
+ (gid < (gid_t)set->first_valid_gid ||
+ (set->last_valid_gid != 0 && gid > (gid_t)set->last_valid_gid))) {
i_error("m...
2013 Aug 26
1
local AND virtual mail locations ?
...configuration for virtual
users only:
# dovecot -n
dovecot -n
# 1.2.17: /usr/local/etc/dovecot.conf
# OS: FreeBSD 8.3-RELEASE amd64 ufs
protocols: imap
ssl: no
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
first_valid_uid: 6
first_valid_gid: 6
mail_location:
mbox:/var/spool/virtual/%d/%n.imap:INBOX=/var/spool/virtual/%d/%n
imap_client_workarounds: tb-extra-mailbox-sep
auth default:
user: mail
passdb:
driver: passwd-file
args: username_format=%n /etc/virtual/%d/passwd
userdb:
driver: static
args: uid=6 gid...
2008 Oct 06
1
Help required to login to Deovecot
I am truing to Login to Dovecot.
The error is as below
"Logins for users with primary group ID 0 not permitted (see first_valid_gid
in config file)."
Please inform solution to this problem
Thanks
--
Rajiv Gore
2005 Aug 02
1
"logins with UID ... are not permitted"
...users cannot login anymore, the logfile shows this:
-------CUT-------
dovecot: Aug 02 12:34:25 Error: Logins with UID 200 (user some.user) not
permitted (see first_valid_uid in config file)
-------CUT-------
yet /etc/dovecot/dovecot.conf has this for the mentioned parameter:
first_valid_uid = 1
first_valid_gid = 1
"regular" users can login however ...
any ideas?
udo
--
bestsolution.at EDV Systemhaus GmbH
http://www.bestsolution.at
2006 Dec 19
2
umask 007 ineffective with newly created Maildir message
...l reiserfs; IMAPs client is KMail 1.9.5
Non-default settings in dovecot.conf:
protocols = imaps
ssl_cert_file = /etc/dovecot/mail.cert.pem
ssl_key_file = /etc/dovecot/mail.key.pem
mail_location = maildir:/var/mail/ambrosia.plus.com/%n
mail_extra_groups = mail
first_valid_uid = 1000
first_valid_gid = 1000
umask = 007
maildir_copy_with_hardlinks = yes
To reproduce:-
1. Using your IMAP client with two IMAP accounts, copy a message from a
folder in one account, to a folder in the other account
2. See that the newly created message file is -rw-------
If a message is moved between fold...
2011 Aug 25
3
On IMAP vhost login, only Username being used
...ot/auth
Aug 24 19:30:48 debian dovecot: auth: Debug: vpopmail(postmaster,[IP
redacted]): lookup user=postmaster domain=
Current config:
# 2.0.13: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.2 ext3
auth_debug = yes
auth_verbose = yes
disable_plaintext_auth = no
first_valid_gid = 89
first_valid_uid = 89
mail_debug = yes
mail_location = maildir:/home/vpopmail/domains/%d/%n/Maildir
maildir_very_dirty_syncs = yes
passdb {
driver = vpopmail
}
protocols = imap pop3
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = quota_te...
2018 Mar 07
2
Authentication Problem with dovecot-2.3.0.1
...socket_path = /var/run/dovecot/auth-userdb
auth_socket_path = /var/run/dovecot/auth-userdb
base_dir = /var/run/dovecot/ base_dir =
/var/run/dovecot/
default_login_user = dovecot
default_login_user = dovecot
disable_plaintext_auth = no
disable_plaintext_auth = no
first_valid_gid = 0
first_valid_gid = 0
first_valid_uid = 26
first_valid_uid = 26
hostname = gw hostname = gw
info_log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
mail_location = maildir:/var/spool/virtual/%d/%n/Maildir:INDE
mail_location = mai...
2023 Mar 16
1
Postfix : root and system user authentication
...traditional Unix authentication mechanisms.
>
>
> A good practice would be to use? postfix --> dovecot/sasl --> pam -->
> backend server and do the uid vetting in the dovecot pam configuration
>
Dovecot itself can reject uid < 500. Just set first_valid_uid = 500 and first_valid_gid = 500.
Aki
> --
>
> Jeremy
2007 Dec 11
1
minor issue - dovecot -n output with 1.1.beta11
...tputs from beta10 and beta11(for the same
config file), I noticed that 'dovecot -n' beta11 output does not show anymore
the following parameters, which are set to non-default values(and
which 'dovecot -a' shows):
login_processes_count
login_max_processes_count
first_valid_uid
first_valid_gid
cache_size
cache_ttl
cache_negative_ttl
mode(from auth default section)
And by the way, parameters from lda section are not showed both with -a
and -n. But it is so already for a long time, so I assume that it is OK :)
Regards, Arvids
2005 Jan 01
1
failed with uid Permission denied
Hi
Does somebody know the workaround
I have some users, who are able to log in to dovecot but others not....
even the failpermissions in directories are same. Also mbox folder is
excatly same mail
Some settings in /etc/dovecot.conf
first_valid_uid = 500
last_valid_uid = 1500
first_valid_gid = 500
last_valid_gid = 515
default_mail_env = mbox:~/mail:INBOX=/var/spool/mail/%u
So the "someuser" is able to log in but "testuser" not
log from testuser logging in
somehost imap-login: Login: testuser [193.x.x.x]
somehost dovecot: chdir(/home/guest/testuser) failed with...
2008 Apr 26
1
sieve doesn't sift yet
...o dovecot -n
# 1.0.13: /usr/local/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot
info_log_path: /var/log/dovecot.info
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
verbose_proctitle: yes
first_valid_gid: 0
mail_access_groups: mail
mail_location: maildir:/var/spool/vmail/%n
mail_debug: yes
pop3_uidl_format: %08Xu%08Xv
auth default:
verbose: yes
passdb:
driver: passwd-file
args: /usr/local/etc/dovecot-passwd
userdb:
driver: passwd
userdb:
driver: static
args: uid=vmail gi...
2014 Nov 05
1
Performance issue
...ances
tail: inotify cannot be used, reverting to polling: Too many open files
My relevant dovecot conf:
mail_location = maildir:/coraid-s2l2/domains
namespace {
type = private
separator = .
prefix = INBOX.
inbox = yes
}
mail_uid = 89
mail_gid = 89
mail_fsync = never
first_valid_uid = 89
first_valid_gid = 89
maildir_very_dirty_syncs = yes
mbox_write_locks = fcntl
thank you very much!
2006 Aug 02
2
Cyrus + ldap
...Starting Dovecot Imap: Error: Error in configuration
file /etc/dovecot.conf line 16: Unknown setting: passdb
My dovcot.conf file:
protocols = imap pop3
login_dir = /var/run/dovecot/login
login_chroot = yes
disable_plaintext_auth = no
login_user = dovecot
first_valid_uid = 101
last_valid_uid = 101
first_valid_gid = 101
last_valid_gid = 101
valid_chroot_dirs =/home/vmail/domains
default_mail_env = maildir:/home/vmail/domains/%d/%n
auth = default
auth_mechanisms = plain
auth_userdb = ldap /etc/dovecot-ldap.conf
auth_pass = ldap /etc/dovecot-ldap.conf
auth_executable = /usr/libexec/dovecot/dovecot-auth
auth_us...
2010 Jul 22
1
Upgrade 1.1 to 1.2 double check
...vecot.log
info_log_path: /var/log/dovecot/dovecot-info.log
protocols: imap imaps
listen: *:143
ssl_listen: *:993
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_greeting_capability: yes
valid_chroot_dirs: /var/mail
first_valid_uid: 5000
last_valid_uid: 5000
first_valid_gid: 5000
last_valid_gid: 5000
mail_access_groups: mail
mail_location: maildir:~/Maildir
mail_debug: yes
maildir_copy_preserve_filename: yes
imap_client_workarounds: outlook-idle
auth default:
mechanisms: plain login CRAM-MD5
default_realm: example.com
master_user_separator: *
verbose: yes...
2008 Sep 09
4
Problems to sync
Dovecot 1.1.2
Good afternoon,
I installed dovecot to work with Exim....my dovecot.conf is like this:
#Protocolos suportados
protocols = imap
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log
#Desabilitar SSL
ssl_disable = yes
disable_plaintext_auth = no
first_valid_gid = 0
mail_location = mailbox:/usr/home/%u/mail/:INBOX=/var/mail/%u
mail_access_groups = mail
protocol imap {
login_executable = /usr/local/libexec/dovecot/imap-login
mail_executable = /usr/local/libexec/dovecot/imap
login_greeting_capability = yes
}
#Otimizacao
dotlock_use_excl=yes
maildir_copy_...