joe
2010-Mar-07 19:18 UTC
[Dovecot] Could use some help setting Dovecot up for the first time
Hi Everyone, I've managed to get most of postfix and dovecot running using the howto located on dovecot.org. So, I went to go test sending a email locally and i am getting this error which i cannot seem to resolve. Any help would be welcomed. Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: home=/var/vmail/test at fasti.net/ Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: mail=maildir:/var/vmail/test at fasti.net/ Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: uid=101 Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: gid=12 Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: quota=maildir:storage=0 Mar 07 19:14:55 deliver(test at fasti.net): Fatal: setgid(12) failed with euid=101(vmail), gid=6(mail), egid=6(mail): Operation not permitted -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Bradley Giesbrecht
2010-Mar-07 19:46 UTC
[Dovecot] Could use some help setting Dovecot up for the first time
On Mar 7, 2010, at 11:18 AM, joe wrote:> Hi Everyone, > > I've managed to get most of postfix and dovecot running using the > howto located on dovecot.org. > > So, I went to go test sending a email locally and i am getting this > error which i cannot seem to resolve. Any help would be welcomed. > > > Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: home=/var/vmail/test at fasti.net > / > Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: > mail=maildir:/var/vmail/test at fasti.net/ > Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: uid=101 > Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: gid=12 > Mar 07 19:14:55 deliver(test at fasti.net): Info: auth input: > quota=maildir:storage=0 > Mar 07 19:14:55 deliver(test at fasti.net): Fatal: setgid(12) failed > with euid=101(vmail), gid=6(mail), egid=6(mail): Operation not > permittedI usually find this type of message "Operation not permitted" to be a permissions issue. Check that the user "deliver" running as has the needed permissions to work in your directories "/var/vmail". // Brad
Timo Sirainen
2010-Mar-07 21:49 UTC
[Dovecot] Could use some help setting Dovecot up for the first time
On 7.3.2010, at 21.18, joe wrote:> Mar 07 19:14:55 deliver(test at fasti.net): Fatal: setgid(12) failed with euid=101(vmail), gid=6(mail), egid=6(mail): Operation not permittedYour userdb says mails should be accessed with gid=12, but you're calling deliver from Postfix with gid=6. Change either one of them to the other (userdb or pipe in master.cf).