Hey Everyone, I?m down to 1 last error that I know I created on my own but I can?t figure out how to fix it? Here is the error that I?m getting: Apr 3 04:29:37 ip-172-31-24-2 postfix/qmgr[20458]: EFE01423E2: from=<me at spike.net>, size=359, nrcpt=1 (queue active) Apr 3 04:29:37 ip-172-31-24-2 dovecot: lda(beth at primelashdiva.info): Fatal: setresgid(89(postfix),89(postfix),97(dovecot)) failed with euid=97(dovecot): Operation not permitted Apr 3 04:29:37 ip-172-31-24-2 postfix/pipe[20745]: EFE01423E2: to=<beth at primelashdiva.info>, relay=dovecot, delay=22, delays=22/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure) So I figure that I messed up the permissions on /etc/dovecot/conf.d I tried to fix it even by setting it way open: drwxrwxrwx 2 dovecot dovecot 4096 Mar 30 00:56 conf.d And it still doesn?t work! doveconf -n: $ doveconf -n # 2.2.10: /etc/dovecot/dovecot.conf # OS: Linux 4.1.17-22.30.amzn1.x86_64 x86_64 ext4 auth_mechanisms = plain login first_valid_uid = 89 hostname = mail.primelashdiva.info mail_location = maildir:/var/vmail/%d/%n/Maildir mail_privileged_group = dovecot mbox_write_locks = fcntl namespace inbox { inbox = yes location = prefix = separator = . } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } postmaster_address = postmaster at primelashdiva.info protocols = imap lmtp service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-userdb { group = dovecot mode = 0666 user = dovecot } user = dovecot } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } } ssl = no ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem ssl_protocols = !SSLv2 !SSLv3 userdb { args = uid=postfix gid=postfix home=/var/mail/vhosts/%d/%n driver = static } protocol lmtp { mail_plugins = " sieve" } protocol lda { mail_plugins = } [ec2-user at ip-172-31-24-2 dovecot]$ It might be too late for me to concentrate enough to figure it, but my googling isn?t bringing up any info? Any pointers? Thanks Everyone! Jason Pruim pruimj at gmail.com 352.234.3175
Sent from my iPhone> On Apr 2, 2016, at 11:38 PM, Jason Pruim <pruimj at gmail.com> wrote: > > Hey Everyone, > > I?m down to 1 last error that I know I created on my own but I can?t figure out how to fix it? Here is the error that I?m getting: > > Apr 3 04:29:37 ip-172-31-24-2 postfix/qmgr[20458]: EFE01423E2: from=<me at spike.net>, size=359, nrcpt=1 (queue active) > Apr 3 04:29:37 ip-172-31-24-2 dovecot: lda(beth at primelashdiva.info): Fatal: setresgid(89(postfix),89(postfix),97(dovecot)) failed with euid=97(dovecot): Operation not permitted > Apr 3 04:29:37 ip-172-31-24-2 postfix/pipe[20745]: EFE01423E2: to=<beth at primelashdiva.info>, relay=dovecot, delay=22, delays=22/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure) > > So I figure that I messed up the permissions on /etc/dovecot/conf.d I tried to fix it even by setting it way open: >Double check /etc/postfix/master.cf Also try wrapping with sudo. I think you have a permissions problem due to naming the wrong group somewhere. http://wiki.dovecot.org/LDA#multipleuids> drwxrwxrwx 2 dovecot dovecot 4096 Mar 30 00:56 conf.d > > > And it still doesn?t work! > > doveconf -n: > > $ doveconf -n > # 2.2.10: /etc/dovecot/dovecot.conf > # OS: Linux 4.1.17-22.30.amzn1.x86_64 x86_64 ext4 > auth_mechanisms = plain login > first_valid_uid = 89 > hostname = mail.primelashdiva.info > mail_location = maildir:/var/vmail/%d/%n/Maildir > mail_privileged_group = dovecot > mbox_write_locks = fcntl > namespace inbox { > inbox = yes > location = > prefix = > separator = . > } > passdb { > args = /etc/dovecot/dovecot-sql.conf.ext > driver = sql > } > postmaster_address = postmaster at primelashdiva.info > protocols = imap lmtp > service auth { > unix_listener /var/spool/postfix/private/auth { > group = postfix > mode = 0660 > user = postfix > } > unix_listener auth-userdb { > group = dovecot > mode = 0666 > user = dovecot > } > user = dovecot > } > service imap-login { > inet_listener imap { > port = 143 > } > inet_listener imaps { > port = 993 > } > } > service lmtp { > unix_listener /var/spool/postfix/private/dovecot-lmtp { > group = postfix > mode = 0600 > user = postfix > } > } > ssl = no > ssl_cert = </etc/pki/dovecot/certs/dovecot.pem > ssl_key = </etc/pki/dovecot/private/dovecot.pem > ssl_protocols = !SSLv2 !SSLv3 > userdb { > args = uid=postfix gid=postfix home=/var/mail/vhosts/%d/%n > driver = static > } > protocol lmtp { > mail_plugins = " sieve" > } > protocol lda { > mail_plugins = > } > [ec2-user at ip-172-31-24-2 dovecot]$ > > It might be too late for me to concentrate enough to figure it, but my googling isn?t bringing up any info? Any pointers? > > Thanks Everyone! > > > > Jason Pruim > pruimj at gmail.com > 352.234.3175
> On April 3, 2016 at 7:38 AM Jason Pruim <pruimj at gmail.com> wrote: > > > Hey Everyone, > > I?m down to 1 last error that I know I created on my own but I can?t figure > out how to fix it? Here is the error that I?m getting: > > Apr 3 04:29:37 ip-172-31-24-2 postfix/qmgr[20458]: EFE01423E2: > from=<me at spike.net>, size=359, nrcpt=1 (queue active) > Apr 3 04:29:37 ip-172-31-24-2 dovecot: lda(beth at primelashdiva.info): Fatal: > setresgid(89(postfix),89(postfix),97(dovecot)) failed with euid=97(dovecot): > Operation not permittedThis means that dovecot is not permitted to use group 89. Is dovecot user member of this group?> Jason Pruim > pruimj at gmail.com > 352.234.3175Aki Tuomi Dovecot Oy
Jason Pruim pruimj at gmail.com 352.234.3175> On Apr 3, 2016, at 6:49 AM, aki.tuomi at dovecot.fi wrote: > > >> On April 3, 2016 at 7:38 AM Jason Pruim <pruimj at gmail.com> wrote: >> >> >> Hey Everyone, >> >> I?m down to 1 last error that I know I created on my own but I can?t figure >> out how to fix it? Here is the error that I?m getting: >> >> Apr 3 04:29:37 ip-172-31-24-2 postfix/qmgr[20458]: EFE01423E2: >> from=<me at spike.net>, size=359, nrcpt=1 (queue active) >> Apr 3 04:29:37 ip-172-31-24-2 dovecot: lda(beth at primelashdiva.info): Fatal: >> setresgid(89(postfix),89(postfix),97(dovecot)) failed with euid=97(dovecot): >> Operation not permitted > > This means that dovecot is not permitted to use group 89. Is dovecot user member > of this group?Yes it is. still getting the same error?> >> Jason Pruim >> pruimj at gmail.com >> 352.234.3175 > > Aki Tuomi > Dovecot Oy