[Dovecot] dovecot lda aliases doesn't work
Selcuk MIYNAT
selcuk.miynat at endersys.com.tr
Mon Apr 25 09:46:56 EEST 2011
Hi,
I am trying to use dovecot as lda.
I have put this line in my .qmail-default file:
#|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d
$EXT@$USER
It is working correct with real addresses but couldn't find forwarding
addresses.
This is my /usr/local/etc/dovecot-sql.conf:
driver = mysql
connect = host=localhost user=vpopmailuser password=vpopmailpassword
dbname=vpopmail
default_pass_scheme = PLAIN
password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user,
pw_clear_passwd AS password FROM vpopmail WHERE pw_name = '%n' AND
pw_domain = '%d'
user_query = SELECT pw_dir as home, 89 AS uid, 89 AS gid FROM vpopmail
WHERE pw_name = '%n' AND pw_domain = '%d'
It is querying vpopmail table all the time but forwarding addresses are
in the valias table, so it couldn't find forwarding addresses.
How can I solve this?
--
Selcuk MIYNAT
Endersys Ltd.
Sistem Destek Muhendisi / System Support Engineer
Phone : +90 216-4709423 | Fax : +90 216-4709508
Web : http://www.endersys.com.tr
Blog : http://blog.endersys.com
Twitter : http://www.twitter.com/endersys
LPI : The #1 Linux Certification for IT Professionals
LPI (Linux Professional Institute) Turkey http://www.lpi-turkey.com
Endersys is the first Advanced Business Partner of Red Hat in Turkey !
http://www.europe.redhat.com/partners/endersys/
More information about the dovecot
mailing list