Всем привет!
Решил на своем Debin поднять связку postfix+mysql+dovecot-pop3d
создал бд, выставил пермишены,запихнул сокеты mysql в chroot руками выполняю query
Но вот при попытке отправить письмо по телнет
test:/etc/postfix# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 test ESMTP
mail from:fpz@test.org
И все((
конфиг mysql_virtual_alias_maps.cf
less mysql_virtual_alias_maps.cf
user = mail
password = xxxxxxx
hosts = l27.0.0.1
dbname = mail
table = alias
select_field = goto
where_field = address
additional_conditions = and active ='1'
query = SELECT goto FROM alias WHERE address ='%s' AND active ='1'
В логах-->
Apr 29 17:48:22 test postfix/trivial-rewrite[4480]: fatal: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem