Mea culpa, mea maxima culpa. I am not a guru. I am just a nerd who just learned the basics of Linux. Everyone says I have to install Dovecot - but no-one is willing to give descent support...
"Mails shouldn't be owned by root". Fine, then I change "auth-user" in my dovecot.conf from "root" to "vmail". I created a user called vmail, with UID 1000. There is also a group, called vmail, and the GID is 1000. Then what?? Some chown command? Or CHMOD? Made I a mistake on the commands I wrote before? Why do many people EXPECT that I am a guru? There are tutorials on the net available, but no descent tutorials on Dovecot... [QUOTE] Timo Sirainen[/QUOTE] > On Sat, 2009-07-25 at 13:38 +0200, FraNL wrote: >> After a >> chown root:root /var/mail/vhosts/mydomain.tld/user >> chmod 700 /var/mail/vhosts/mydomain.tld/user > > Mails shouldn't be owned by root. You should probably pick out some user > to use for your mails, such as "vmail" (and create it if it doesn't > exist yet). Then configure your userdb to use it. > >> I get the following error in my log: >> >> Jul 25 13:32:19 dovecot: Fatal: >> chdir(/var/mail/vhosts/mydomain.tld/user) >> failed: Permission denied (euid=0(root) egid=1000 UNIX perms seem ok, >> ACL >> problem?) > > Looks like there was a bug in this logging code. euid wasn't root when > chdir() was done. This patch fixes it: > http://hg.dovecot.org/dovecot-1.2/raw-rev/25650d7f6b85 > > -- Med venlig hilsen, Met vriendelijke groeten,
