Michael Post wrote:
query = SELECT dest FROM virtual WHERE alias='%s' and status = '1'
Er nimmt jetzt alles wie er soll. Kann zwar noch nicht schicken, aber dass liegt an der falschen Socket.
Okay.
Dann mache doch mal einen Test mit postmap: postmap -q virusalert mysql:/etc/postfix/mysql_testalias.cf
Nimm bitte den kompletten Pfad bei der *.cf! Wenn es hier Probleme gibt, dann kannst du notfalls mit -v die Ausgabe von postmap detaillierter setzen. beta:~/installedSoftware/postfix/postfix-2.3.0 # postmap -q virusalert mysql:/etc/postfix/mysql-virtual.cf postmap: warning: connect to mysql server localhost:3306: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Das ist ok. Muss aber noch behoben werden. Jetzt aktuelle Baustelle.
Wo kann ich die Socket ändern, die Postfix bei der Verbindung nutzen möchte?
Das solltest du in /etc/my.cnf mal prüfen: # The following options will be passed to all MySQL clients [client] #password = your_password port = 3306 socket = /var/lib/mysql/mysql.sock Sandy -- Antworten bitte nur in die Mailingliste! PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com