Bug 996140 - Problems with mail_uid/gid privileges
Problems with mail_uid/gid privileges
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dovecot (Show other bugs)
19
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Michal Hlavinka
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-12 09:41 EDT by volnei
Modified: 2013-08-12 16:52 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-12 16:52:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description volnei 2013-08-12 09:41:59 EDT
Hi,

I apologize, but this forum may be my last change to solve this problem.

Description of problem:
I've got a serious problem to configure Dovecot.
I use dovecot with imap and postfix. When everything went well without any problem.
But now I'm trying to trouble with the parameter mail_uid / gid.
I've read and tried various solutions, but nothing, but nothing even solves this issue.

Version-Release number of selected component (if applicable):
Fedora 19 x86_64
dovecot-2.2.4-2.fc19.x86_64
postfix-2.10.1-1.fc19.x86_64


Actual results:
Aug 12 10:34:54 vmdeimos dovecot: imap-login: Login: user=<volnei>, method=CRAM-MD5, rip=192.168.1.11, lip=192.168.1.104, mpid=3516, TLS, session=<K5iMMMDjWADAqAEL>
Aug 12 10:34:54 vmdeimos dovecot: imap(volnei): Error: user volnei: Couldn't drop privileges: User is missing UID (see mail_uid setting)
Aug 12 10:34:54 vmdeimos dovecot: imap(volnei): Error: Internal error occurred. Refer to server log for more information.


Additional info:

# 2.2.4: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.5-201.fc19.x86_64 x86_64 Fedora release 19 (Schrödinger’s Cat) 
auth_mechanisms = login cram-md5
login_greeting = Operacional ready.
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = scheme=cram-md5 /etc/dovecot/dovecot-cram-md5.pwd
  driver = passwd-file
}plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
service imap-login {
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
ssl = required
ssl_ca = </etc/postfix/ssl/cacert.pem
ssl_cert = </etc/postfix/ssl/smtpd.crt
ssl_key = </etc/postfix/ssl/smtpd.key
verbose_proctitle = yes

Note You need to log in before you can comment on or make changes to this bug.