[Dovecot] error with virtual users
Hi,
In my dovecot-deliver.log i have this:
deliver(xxuser): Mar 13 11:36:49 Error: open(/home/xxuser/.temp.alboran.24421.63c6890e35b613e8) failed: No such file or directory deliver(yyuser): Mar 13 11:38:29 Error: open(/home/yyuser/.temp.alboran.26046.dcb46511eeb37f3d) failed: No such file or directory
but i haven't homedir user. I have /var/spool/mail/xxuser/ maildir
Is that a error?
I have Dovecot-1.0-rc19 + dovecot-deliver + rhel 4.4
Thanks you
On Tuesday March 13, 2007 at 07:40:55 (AM) Antonio Casado Rodríguez wrote:
In my dovecot-deliver.log i have this:
deliver(xxuser): Mar 13 11:36:49 Error: open(/home/xxuser/.temp.alboran.24421.63c6890e35b613e8) failed: No such file or directory deliver(yyuser): Mar 13 11:38:29 Error: open(/home/yyuser/.temp.alboran.26046.dcb46511eeb37f3d) failed: No such file or directory
but i haven't homedir user. I have /var/spool/mail/xxuser/ maildir
Is that a error?
I have Dovecot-1.0-rc19 + dovecot-deliver + rhel 4.4
It would help if you supplied the output of 'dovecot -n' so we could see what your configuration looks like.
-- Gerard
Ok.
# /usr/local/etc/dovecot.conf log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot.info protocols: imaps ssl_cert_file: /etc/httpd/conf/ssl.crt/server.crt ssl_key_file: /etc/httpd/conf/ssl.key/server.key disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_log_format_elements: user=<%u> method=%m rip=%r rport=%b lip=%l lport=%a %c verbose_proctitle: yes mail_location: maildir:/var/spool/mail/%n mail_plugins: quota imap_quota namespace: type: private separator: / location: maildir:/var/mail/%n inbox: yes auth default: passdb: driver: pam userdb: driver: passwd
Gerard escribió:
On Tuesday March 13, 2007 at 07:40:55 (AM) Antonio Casado Rodríguez wrote:
In my dovecot-deliver.log i have this:
deliver(xxuser): Mar 13 11:36:49 Error: open(/home/xxuser/.temp.alboran.24421.63c6890e35b613e8) failed: No such file or directory deliver(yyuser): Mar 13 11:38:29 Error: open(/home/yyuser/.temp.alboran.26046.dcb46511eeb37f3d) failed: No such file or directory
but i haven't homedir user. I have /var/spool/mail/xxuser/ maildir
Is that a error?
I have Dovecot-1.0-rc19 + dovecot-deliver + rhel 4.4
It would help if you supplied the output of 'dovecot -n' so we could see what your configuration looks like.
It would help if you supplied the output of 'dovecot -n' so we could see what your configuration looks like.
Ok.
# /usr/local/etc/dovecot.conf log_path: /var/log/dovecot/dovecot.log
NOT raw dovecot.conf...
The output of dovecot -n - this shows what is actually being used by the currently active binary - and only shows the changes from the defaults. Makes it much easier to spot likely problems.
--
Best regards,
Charles
On Tue, 2007-03-13 at 14:09 +0100, Antonio Casado Rodríguez wrote:
mail_location: maildir:/var/spool/mail/%n
So you set the mail location.
userdb: driver: passwd
But your userdb also returns a home directory.
deliver(xxuser): Mar 13 11:36:49 Error: open(/home/xxuser/.temp.alboran.24421.63c6890e35b613e8) failed: No such file or directory
If /home/user doesn't exist, how about you change your passwd file to point users' home directories to /var/spool/mail/user/home? It's good for users to have home directories.
This error happens because deliver wants to create a "duplicate database" to home directory when sending mail rejects. Hmm. I'm not actually sure why it does that. I only added that because that's how it was in Cyrus's implementation, but looks like it's completely pointless to do it. Removed: http://dovecot.org/list/dovecot-cvs/2007-March/008106.html
participants (4)
-
Antonio Casado Rodríguez
-
Charles Marcus
-
Gerard
-
Timo Sirainen