Hi, Running OS: CentOS 5.3 (2.6.18-128.2.1.el5) 1. My Linux distribution comes with Dovecot 1.0.7. After trying to make it running, I encoutnered many problems. So I decided to upgrade to 1.2.1. When running dovecot -r from CLI, it returns with version 1.2.1. But at the top of the log file it says: Info: Dovecot v1.0.7 starting up So I am not sure which version I am running. That's the first problem. The other two problems I am having were also actual before updating to 1.2.1: 2. Every minute, the following lines (except for the timestamps, which are different, ofcourse) are being added to my log file: dovecot: Jul 24 23:54:24 Error: imap-login: USER environment missing dovecot: Jul 24 23:54:24 Error: imap-login: USER environment missing dovecot: Jul 24 23:54:24 Error: child 3712 (login) returned error 89 dovecot: Jul 24 23:54:24 Error: child 3713 (login) returned error 89 dovecot: Jul 24 23:54:24 Error: imap-login: USER environment missing dovecot: Jul 24 23:54:24 Error: child 3714 (login) returned error 89 3. As soon as a user tries to log on via POP3 (telnet localhost pop3), the user is kicked out. The log file says (username and domain name are fake): dovecot: Jul 25 00:01:02 Info: pop3-login: Login: user=<user at mydomain.tld>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured dovecot: Jul 25 00:01:02 Error: POP3(user at mydomain.tld): file_dotlock_open() failed with file /var/mail/vhosts/mydomain.tld/user/dovecot.index.log: Permission denied dovecot: Jul 25 00:01:02 Error: POP3(user at mydomain.tld): file_dotlock_open(/var/mail/vhosts/mydomain.tld/user/dovecot-uidlist) failed: Permission denied dovecot: Jul 25 00:01:02 Error: POP3(user at mydomain.tld): Couldn't init INBOX: Can't sync mailbox: Messages keep getting expunged dovecot: Jul 25 00:01:02 Info: POP3(user at mydomain.tld): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0 And the user gets: [root at nestorix ~]# telnet localhost pop3 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Dovecot ready. user user at mydomain.tld +OK pass mypwd +OK Logged in. -ERR Internal error occurred. Refer to server log for more information. [2009-07-25 00:01:02] -ERR [IN-USE] Couldn't sync mailbox. Connection closed by foreign host. This is my dovecot.conf base_dir = /var/run/dovecot/ protocols = pop3 pop3s imap imaps log_path = /var/log/dovecot info_log_path = /var/log/dovecot login_dir = /var/run/dovecot/login login_chroot = yes valid_chroot_dirs = /var/mail/vhosts #login = imap login_user = dovecot login_process_size = 64 login_processes_count = 3 login_max_processes_count = 128 login_max_connections = 256 login_greeting = Havecom Mailserver ready. mail_location = maildir:/var/mail/vhosts/%d/%n/ protocol imap { login_executable = /usr/libexec/dovecot/imap imap_max_line_length = 65536 mail_plugin_dir = /usr/lib/dovecot/imap imap_client_workarounds = delay-newmail outlook-idle netscape-eoh } protocol pop3 { login_executable = /usr/libexec/dovecot/pop3-login mail_executable = /usr/libexec/dovecot/pop3 pop3_no_flag_updates = no pop3_enable_last = no pop3_reuse_xuidl = no pop3_lock_session = no pop3_uidl_format = %08Xu%08Xv pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } auth_executable = /usr/libexec/dovecot/dovecot-auth auth_process_size = 256 auth_cache_size = 0 auth_cache_ttl = 3600 auth_username_chars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ auth_username_translation = "/$ auth_verbose = yes auth default { socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } mechanisms = plain passdb passwd-file { args = /etc/dovecot/passwd } userdb passwd-file { args = /etc/dovecot/userdb } user = root } dovecot -n returns in: [root at nestorix etc]# dovecot -n # 1.2.1: /usr/local/etc/dovecot.conf Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl=no, no non-plaintext auth mechanisms. Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl=no, no non-plaintext auth mechanisms. # OS: Linux 2.6.18-128.2.1.el5 i686 CentOS release 5.3 (Final) ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot protocols: pop3 pop3s imap imaps ssl: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap login_executable(imap): /usr/libexec/dovecot/imap login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: Havecom Mailserver ready. valid_chroot_dirs: /var/mail/vhosts mail_location: maildir:/var/mail/vhosts/%d/%n/ mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: executable: /usr/libexec/dovecot/dovecot-auth username_translation: "/$ verbose: yes passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: passwd-file args: /etc/dovecot/userdb socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix I have no clue at all, where I should start solving the problems. Somebody? Cheers! Albert van Harten Denmark
On Sat, 2009-07-25 at 00:07 +0200, FraNL wrote:> Running OS: CentOS 5.3 (2.6.18-128.2.1.el5) > > 1. > My Linux distribution comes with Dovecot 1.0.7. After trying to make it > running, I encoutnered many problems. So I decided to upgrade to 1.2.1. > When running dovecot -r from CLI, it returns with version 1.2.1. > But at the top of the log file it says: Info: Dovecot v1.0.7 starting up > > So I am not sure which version I am running.It means you're using some weird mix of both. Get rid of all of Dovecot v1.0 binaries (rpm -e dovecot or something) and your problems should go away. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090724/b8c8a9ce/attachment-0002.bin>
Tried that, same result. dovecot: Jul 25 00:55:41 Info: Dovecot v1.0.7 starting up dovecot: Jul 25 00:55:42 Error: Temporary failure in creating login processes, slowing down for now dovecot: Jul 25 00:55:42 Error: imap-login: USER environment missing dovecot: Jul 25 00:55:42 Error: imap-login: USER environment missing dovecot: Jul 25 00:55:42 Info: Created login processes successfully, unstalling dovecot: Jul 25 00:55:42 Error: child 3850 (login) returned error 89 dovecot: Jul 25 00:55:42 Error: child 3851 (login) returned error 89 dovecot: Jul 25 00:55:42 Error: Temporary failure in creating login processes, slowing down for now dovecot: Jul 25 00:55:42 Error: imap-login: USER environment missing dovecot: Jul 25 00:55:42 Error: child 3852 (login) returned error 89 dovecot: Jul 25 00:55:42 Info: Created login processes successfully, unstalling [root at nestorix etc]# dovecot -n # 1.2.1: /usr/local/etc/dovecot.conf Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl=no, no non-plaintext auth mechanisms. Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl=no, no non-plaintext auth mechanisms. # OS: Linux 2.6.18-128.2.1.el5 i686 CentOS release 5.3 (Final) ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot protocols: pop3 pop3s imap imaps ssl: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap login_executable(imap): /usr/libexec/dovecot/imap login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: Havecom Mailserver ready. valid_chroot_dirs: /var/mail/vhosts mail_location: maildir:/var/mail/vhosts/%d/%n/ mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: executable: /usr/libexec/dovecot/dovecot-auth username_translation: "/$ verbose: yes passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: passwd-file args: /etc/dovecot/userdb socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix [root at nestorix etc]# service dovecot stop Stopping Dovecot Imap: [ OK ] [root at nestorix etc]# gedit /var/log/dovecot [root at nestorix etc]# service dovecot start Starting Dovecot Imap: [ OK ] [root at nestorix etc]# gedit /var/log/dovecot ^C [root at nestorix etc]# dovecot -n # 1.2.1: /usr/local/etc/dovecot.conf Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl=no, no non-plaintext auth mechanisms. Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl=no, no non-plaintext auth mechanisms. # OS: Linux 2.6.18-128.2.1.el5 i686 CentOS release 5.3 (Final) ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot info_log_path: /var/log/dovecot protocols: pop3 pop3s imap imaps ssl: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap login_executable(imap): /usr/libexec/dovecot/imap login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: Havecom Mailserver ready. valid_chroot_dirs: /var/mail/vhosts mail_location: maildir:/var/mail/vhosts/%d/%n/ mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: executable: /usr/libexec/dovecot/dovecot-auth username_translation: "/$ verbose: yes passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: passwd-file args: /etc/dovecot/userdb socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix [root at nestorix etc]# Albert [QUOTE] Timo Sirainen[/QUOTE]> On Sat, 2009-07-25 at 00:07 +0200, FraNL wrote: >> Running OS: CentOS 5.3 (2.6.18-128.2.1.el5) >> >> 1. >> My Linux distribution comes with Dovecot 1.0.7. After trying to make itrunning, I encoutnered many problems. So I decided to upgrade to 1.2.1. When running dovecot -r from CLI, it returns with version 1.2.1. But at the top of the log file it says: Info: Dovecot v1.0.7 starting up>> >> So I am not sure which version I am running. > > It means you're using some weird mix of both. Get rid of all of Dovecotv1.0 binaries (rpm -e dovecot or something) and your problems should go away.> >-- Med venlig hilsen, Met vriendelijke groeten, -- Med venlig hilsen, Met vriendelijke groeten,
After a chown root:root /var/mail/vhosts/mydomain.tld/user chmod 700 /var/mail/vhosts/mydomain.tld/user 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?)
[QUOTE] Charles Marcus[/QUOTE]> > Who says you have to install it?Almost all the fora which are speaking of setting up a mail server tell me to install Dovecot> And who is it that you think owes you 'descent support' for free?When and where did I spoke about FREE? I never said I didn't want to pay for it!!! Please don't think for me...> That said, the support on the dovecot list is the best I've seen, even > when people get attitudes (like yours)...Attitudes? Since when is a normal business inquiry not appropriate?> If you want to learn linux, and learn how to admin a mail server, you're > expected to do some leg work yourself... no one expects you to be a > guru, but a little googling on how to change ownership of files in linux > would most likely answer this particular question.Sorry, but the answers on this mail group are written with as few words as possible - if it was written in Finnish, I'd understand just as much as I do now. Googling on a Dovecot problems results always in www.dovecot.org or one of its child sites. Always. Googling on a Linux question results always in experts-exchange. Always.> > Also, the attititude will most likely get surprising little response. If > you want to get help from someone for free, it helps to ask nicely.I don't agree. I know the way of asking isn't the most nice way - and I also apologise to them, who assisted me! But who cares if I agree with someone, who didn't assist me at all, but who only is capable of writing negatively about me?> Thats said, I wouldn't be surprised if Timo responds nicely anyway... > I've seen him respond to much worse emails than yours, and yours was > pretty bad...Pretty bad? You misunderstood me, my friend. Try to read reasonable next time. That helps!> > -- > > Best regards, > > Charles >-- Med venlig hilsen, Met vriendelijke groeten,
Be a man, Jim, and write this in public. [QUOTE] Jim Reid[/QUOTE]> On 31 Jul 2009, at 09:36, A. van Harten wrote: > >> Sorry, but the answers on this mail group are written with as few >> words as >> possible - if it was written in Finnish, I'd understand just as much >> as I >> do now. >> Googling on a Dovecot problems results always in www.dovecot.org or >> one of >> its child sites. Always. >> Googling on a Linux question results always in experts-exchange. >> Always. > > Clearly, dovecot is not for you. Now please go back to the linux world > you came from. You appear to be comfortable there. > > I am also disgusted and very annoyed with the tone of your recent > email: negative, childish, destructive and counter-productive. You did > not identify any particular problem, suggest other approaches or point > at areas where specific improvements could be made. You just whined > about the results of google searches. >-- Med venlig hilsen, Met vriendelijke groeten,