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 test@domaintwo.com the password is not recognised although it is for test@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(sales@aandt.co.uk): Effective uid=1206, gid=1109 Jun 2 23:23:23 silkliving dovecot: POP3(sales@aandt.co.uk): maildir: data=/home/aandt.co.uk/sales/Maildir Jun 2 23:23:23 silkliving dovecot: POP3(sales@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(sales@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(sales@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(sales@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(sales@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(sales@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(sales@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=sales@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(sales@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(sales@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(sales@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(sales@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(sales@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