Mysql & Virtual doesn't work

From: Terence Dewaele (no email)
Date: Sat Dec 01 2001 - 13:35:19 EST


Hi,

I have a little pb with postfix and mysql ...

I have used this howto:
http://kummefryser.dk/HOWTO/mail/postfix_mysql.html

But i don't compiled postfix myself, i have used the debian package
postfix & postfix-mysql

And i have errors in my log :
Dec 1 19:18:20 kawa postfix/qmgr[9610]: 10C0BFD23:
from=<>, size=304, nrcpt=1 (queue active)
Dec 1 19:18:20 kawa postfix/cleanup[9614]: warning: connect to mysql
server localhost: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (111)
Dec 1 19:18:20 kawa postfix/cleanup[9614]: warning: 9FC3AFD8C:
virtual_maps map lookup problem for
Dec 1 19:18:20 kawa postfix/cleanup[9614]: warning: 9FC3AFD8C: skipping
further client input
Dec 1 19:18:21 kawa postfix/qmgr[9610]: 10C0BFD23: status=deferred
(bounce failed)

But il i comment the transport_maps line and virtual_maps line i have no
errors. My Mysql work correctly and (for example) virtual_mailbox_maps
connect correctly to mysql database.

--------------- postconf -m ------------------------
nis
dbm
regexp
environ
btree
unix
hash
----------------------------------------------------

------------------------ main.cf -------------------
mail_owner = postfix
program_directory = /usr/lib/postfix
mydestination = kawa.test.com, localhost.test.com
myhostname = kawa.test.com
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix

transport_maps = mysql:/etc/postfix/transport.cf
virtual_mailbox_base = /data/mail
virtual_uid_maps = mysql:/etc/postfix/ids.cf
virtual_gid_maps = mysql:/etc/postfix/ids.cf
virtual_mailbox_maps = mysql:/etc/postfix/aliases.cf
virtual_maps = mysql:/etc/postfix/remote_aliases.cf
----------------------------------------------------

P.S:
I a under debian linux woody (testing).
My version of postfix is : postfix 0.0.20011115.SNAPSHOT-1

Thanks for your help!!!

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD