[Dovecot] question about

Michiel van Es michiele at info.nl
Mon Jun 20 14:41:23 EEST 2005


Hi,
I am running Dovecot (dovecot-0.99.11-2.EL4.1
  on centos 4) and we are switching from newer machines.
I copied all usernames from /etc/passwd,/etc/group and /etc/shadow to 
the new machine.
I do not want that every user has it's own /home/$user directory..
When I test my dovecot installation with a telnet 'servername' 110
user test
pass test

I get this error:
################################################################################
Jun 20 13:22:47 mx01 pop3(aaptest): mbox: Can't create root IMAP folder 
/home/aaptest/mail: Permission denied
Jun 20 13:22:47 mx01 pop3(aaptest): MAIL environment missing and 
autodetection failed (home /home/aaptest)
Jun 20 13:22:47 mx01 dovecot: child 3393 (pop3) returned error 89
##############################################################################

So I changed the MAIL environment to /var/spool/mail (using Sendmail and 
mbox)

Now I get this error:

###############################################################################3
Jun 20 13:27:37 mx01 pop3-login: Login: aaptest [::ffff:10.101.3.37]
Jun 20 13:27:37 mx01 pop3(aaptest): open(/var/spool/mail//inbox, 
O_CREAT) failed: Permission denied
Jun 20 13:27:37 mx01 pop3(aaptest): 
mkdir_parents(/var/spool/mail//.imap/INBOX) failed: Permission denied
#################################################################################

Wht is Dovecot trying to AUTOcreate IMAP folders?
I do not want Dovecot to do this hence I tell Dovecot to serve only pop3 
and pop3s:
#  imap imaps pop3 pop3s
protocols = pop3 pop3s

# IP or host address where to listen in for connections. It's not currently
# possible to specify multiple addresses. "*" listens in all IPv4 
interfaces.
# "[::]" listens in all IPv6 interfaces, but may also listen in all IPv4
# interfaces depending on the operating system. You can specify ports with
# "host:port".
#imap_listen = [::]
pop3_listen = [::]

Does anyone know how I can dissable this IMAP-AUTOcreate behaviour?

Thanks in advance.

Michiel




More information about the dovecot mailing list