Can't login
Posted: Sun Feb 09, 2014 4:47 pm
Hello,
since a few days ago I can't login into my mail. Roundcube just says "Login Failed". This is what shows up in /var/log/dovecot.log every time I try to log in:
I did some research and replaced /etc/exim4/domains/mydomain (which was a symlink apparently), with its target (/home/unek/conf/mail/mydomain), and I could log in normally, no errors appeared in the log.
A slightly different solution I've found was to create a folder for my domain in /etc/exim4/domains and using hardlinks to link domain configuration files from my home directory, like that:
Symlinks seem to be faulty in my case. Dovecot can't read them for some reason.
How can I fix it? Hopefully my "hacky" solutions are not the only ones.
Running Debian GNU/Linux 7 (wheezy) with vesta 0.9.8 and dovecot 2.1.7. No SELinux.
Thanks in advance.
since a few days ago I can't login into my mail. Roundcube just says "Login Failed". This is what shows up in /var/log/dovecot.log every time I try to log in:
Code: Select all
Feb 09 17:32:54 auth: Error: passwd-file /etc/exim4/domains/mydomain/passwd:
stat(/etc/exim4/domains/mydomain/passwd) failed: Permission denied (euid=109(
dovecot) egid=114(dovecot) missing +w perm: /etc/exim4/domains/mydomain/passw
d stat(/etc/exim4/domains/mydomain/passwd) failed: Permission denied, dir own
ed by 0:0 mode=0775)
Feb 09 17:32:54 auth: Info: passwd-file(unek@mydomain,::1,<afGHxvvxUAAAAAAAAA
AAAAAAAAAAAAAB>): no passwd file: /etc/exim4/domains/mydomain/passwd
Feb 09 17:32:56 imap-login: Info: Disconnected (auth failed, 1 attempts in 2 sec
s): user=<unek@mydomain>, method=PLAIN, rip=::1, lip=::1, secured, session=<a
fGHxvvxUAAAAAAAAAAAAAAAAAAAAAAB>
A slightly different solution I've found was to create a folder for my domain in /etc/exim4/domains and using hardlinks to link domain configuration files from my home directory, like that:
Code: Select all
cd /etc/exim4/domains/
rm mydomain # removing the symlink pointing to /home/unek/conf/mail/mydomain/
mkdir mydomain
chown Debian-exim:mail mydomain/
cd mydomain/
ln /home/unek/conf/mail/mydomain/* ./
How can I fix it? Hopefully my "hacky" solutions are not the only ones.
Running Debian GNU/Linux 7 (wheezy) with vesta 0.9.8 and dovecot 2.1.7. No SELinux.
Thanks in advance.