Re: [Dovecot] sending of password did not succeed
Hi Harald Thanks for replying stat /home/didm.co.uk/peter/Maildir/tmp gives File: `/home/didm.co.uk/peter/Maildir/tmp' Size: 4096Blocks: 8 IO Block: 4096 directory Device: 901h/2305d Inode: 13836957Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 1223/ peter) Gid: ( 1108/didm.co.uk) Access: 2013-02-28 04:36:36.0 + Modify: 2013-02-28 17:08:22.0 + Change: 2013-02-28 17:08:22.0 + ls -lha -R /home/didm.co.uk/peter/ ouputs a long list part of which is /home/didm.co.uk/peter/Maildir/new: total 844K drwxr-xr-x 2 peter didm.co.uk 4.0K Feb 28 17:08 . drwxr-xr-x 8 peter didm.co.uk 4.0K Feb 28 08:01 .. -rw--- 1 peter peter 12K Feb 28 08:41 1362040901.H489863P3132.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 3.2K Feb 28 08:46 1362041185.H453645P3137.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 2.8K Feb 28 08:59 1362041976.H290857P3254.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 2.1K Feb 28 09:01 1362042100.H237350P3263.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 303K Feb 28 09:05 1362042315.H1078P3266.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 29K Feb 28 09:16 1362042969.H141065P4039.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 15K Feb 28 09:29 1362043772.H424096P4070.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 485 Feb 28 09:34 1362044091.H313425P4077.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 11K Feb 28 09:44 1362044642.H822470P4880.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 2.4K Feb 28 11:38 1362051505.H650923P7747.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 3.6K Feb 28 12:03 1362053012.H602533P8671.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 27K Feb 28 12:44 1362055442.H625207P10611.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 40K Feb 28 13:14 1362057256.H571100P11598.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 83K Feb 28 13:15 1362057339.H568650P11605.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 9.3K Feb 28 14:05 1362060354.H307724P12580.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 16K Feb 28 14:25 1362061514.H650991P13554.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 9.0K Feb 28 15:47 1362066474.H389245P16304.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 46K Feb 28 15:53 1362066827.H631037P16382.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 3.9K Feb 28 15:56 1362067018.H98463P16401.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 20K Feb 28 16:15 1362068100.H694502P17251.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 44K Feb 28 16:27 1362068836.H298454P17321.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 53K Feb 28 17:06 1362071183.H205812P18284.didm-a.dh.bytemark.co.uk -rw--- 1 peter peter 53K Feb 28 17:08 1362071302.H916902P18293.didm-a.dh.bytemark.co.uk Regards Peter On Thu, Feb 28, 2013 at 5:27 PM, Reindl Harald h.rei...@thelounge.netwrote: Am 28.02.2013 18:20, schrieb Peter Sparkes: Hi Today I have upgraded my Debian server from lenny to squeeze and my email stopped working. I am using Dovecot 1.2.15 with exim4. Exim4 is working and mail is being delivered to the mailboxes - /home/ didm.co.uk/peter/Maildir/new etc When I try to download emails to my I get sending of password did not succeed, Mail server mail.didm.co.ukresponded:Authentication failed and the server Dovecot error log utime(/home/ didm.co.uk/peter/Maildir/tmp) failed: Permission denied etc and what says stat /home/didm.co.uk/peter/Maildir/tmp or ls -lha -R /home/didm.co.uk/peter/?
Re: [Dovecot] User with multiple domains
Uldis Pakuls wrote: Peter Sparkes wrote: Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2009-06-03 06:47:02] and the Maildir does not contain the following files which are in the user Maildir which are working correctly (these users only have email accounts in one domain): dovecot-uidlist, dovecot.index, dovecot.index.cache and dovecot.index.log Peter : Permission denied - that is reason why mailbox is unaccessible. Of course maildir files cant be created if permission is denied. Check premissions of /home/aandt.co.uk/sales/Maildir/ Uldis As far as I can see the Permission are correct, all the other username domain combinations are working correctly . However to enable my client to get all his emails, I have (in Exim) sent the sales emails to another user. I will reproduce the same conditions on a couple of domains I use for testing and report back Thanks all for help Peter
Re: [Dovecot] User with multiple domains
Peter Sparkes wrote: Timo Sirainen wrote: On Tue, 2009-06-02 at 17:06 +0100, Peter Sparkes wrote: When trying to retrieve email using Dovecot for t...@domaintwo.com the password is not recognised although it is for t...@domainone.com. .. auth default: verbose: yes debug: yes debug_passwords: yes So, what does it log with these? Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): Effective uid=1206, gid=1109 Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): maildir: data=/home/aandt.co.uk/sales/Maildir Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): maildir: root=/home/aandt.co.uk/sales/Maildir, index=/home/aandt.co.uk/sales/Maildir, control=, inbox= Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): open(/home/aandt.co.uk/sales/Maildir/.temp.silkliving.vm.bytemark.co.uk.3456.66ecc191bc79f78f) failed: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): open(/home/aandt.co.uk/sales/Maildir/.temp.silkliving.vm.bytemark.co.uk.3456.08d076a7e7a61ba4) failed: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2009-06-02 23:23:23] Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): No INBOX for user top=0/0, retr=0/0, del=0/0, size=0 Jun 2 23:23:23 silkliving dovecot: pop3-login: Login: user=sa...@aandt.co.uk, method=PLAIN, rip=91.85.130.224, lip=89.16.164.21 The mail.warn log contains Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): open(/home/aandt.co.uk/sales/Maildir/.temp.silkliving.vm.bytemark.co.uk.19161.eddfd8117a24d1aa) failed: Permission denied Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): open(/home/aandt.co.uk/sales/Maildir/.temp.silkliving.vm.bytemark.co.uk.19161.53f46bc81f5f7009) failed: Permission denied Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 3 06:47:02 silkliving dovecot: POP3(sa...@aandt.co.uk): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2009-06-03 06:47:02] and the Maildir does not contain the following files which are in the user Maildir which are working correctly (these users only have email accounts in one domain): dovecot-uidlist, dovecot.index, dovecot.index.cache and dovecot.index.log Peter
[Dovecot] User with multiple domains
Hi, I am running Dovecot on Linux Debian with Exim4 with a number multiple domains. I have a new user who want to use a single username with more than one domain eg: t...@domainone.com t...@domaintwo.com t...@domainthree.com Exim is working fine with mail correctly with mail going to /home/domainone.com/test/Maildir/new/ /home/domaintwo.com/test/Maildir/new/ /home/domainthree.com/test/Maildir/new/ The Dovecot password files are in /home/domainone.com/etc/passwd.dovecot /home/domaintwo.com/etc/passwd.dovecot /home/domainthree.com/etc/passwd.dovecot When trying to retrieve email using Dovecot for t...@domaintwo.com the password is not recognised although it is for t...@domainone.com. Help Please Peter
Re: [Dovecot] User with multiple domains
Charles Marcus wrote: On 6/2/2009 9:44 AM, Peter Sparkes wrote: The Dovecot password files are in /home/domainone.com/etc/passwd.dovecot /home/domaintwo.com/etc/passwd.dovecot /home/domainthree.com/etc/passwd.dovecot When trying to retrieve email using Dovecot for t...@domaintwo.com the password is not recognised although it is for t...@domainone.com. Help Please dovecot -n output? # /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_extra_groups: mail mail_location: maildir:/home/%d/%n/Maildir mail_debug: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /home/%d/etc/passwd.dovecot userdb: driver: passwd userdb: driver: passwd-file args: /home/%d/etc/passwd.dovecot Peter
Re: [Dovecot] User with multiple domains
Timo Sirainen wrote: On Tue, 2009-06-02 at 17:06 +0100, Peter Sparkes wrote: When trying to retrieve email using Dovecot for t...@domaintwo.com the password is not recognised although it is for t...@domainone.com. .. auth default: verbose: yes debug: yes debug_passwords: yes So, what does it log with these? Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): Effective uid=1206, gid=1109 Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): maildir: data=/home/aandt.co.uk/sales/Maildir Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): maildir: root=/home/aandt.co.uk/sales/Maildir, index=/home/aandt.co.uk/sales/Maildir, control=, inbox= Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): open(/home/aandt.co.uk/sales/Maildir/.temp.silkliving.vm.bytemark.co.uk.3456.66ecc191bc79f78f) failed: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): open(/home/aandt.co.uk/sales/Maildir/.temp.silkliving.vm.bytemark.co.uk.3456.08d076a7e7a61ba4) failed: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): file_dotlock_open() failed with file /home/aandt.co.uk/sales/Maildir/dovecot.index.log: Permission denied Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2009-06-02 23:23:23] Jun 2 23:23:23 silkliving dovecot: POP3(sa...@aandt.co.uk): No INBOX for user top=0/0, retr=0/0, del=0/0, size=0 Jun 2 23:23:23 silkliving dovecot: pop3-login: Login: user=sa...@aandt.co.uk, method=PLAIN, rip=91.85.130.224, lip=89.16.164.21
[Dovecot] Webmail Recommendation
Hi, I want to install webmail. I am using Dovecot with Exim4. Recommendations requested please. Thanks Peter Sparkes