[Postfixbuch-users] Postfix vs mysql

ESL-bl4ckY bl4cky at esl.eu
Sa Mai 5 19:12:51 CEST 2007


Hallo an alle,

um es gleich am Anfang zu erwähnen ja ich verwende Debian 3.1 (damit
gibt es ja öfter Probleme)

Ich habe nun ein massives Problem mit meinem Postfix und MySQL

May  5 18:47:09 vps4507 postfix/cleanup[24290]: warning: connect to
mysql server localhost: Can't connect to local MySQL server through socke
t '/var/run/mysqld/mysqld.sock' (40)
May  5 18:47:09 vps4507 postfix/cleanup[24290]: warning: 3F192F51C100:
virtual_alias_maps map lookup problem for elina.happonen at tkk.fi
May  5 18:47:09 vps4507 postfix/pickup[24285]: warning:
maildrop/134C87D58039: Error writing message file
May  5 18:47:09 vps4507 postfix/pickup[24285]: 3FB44F51C100: uid=0
from=<root>

Um es gleich vorn weg zu nehmen ich habe bereits diesen Thread gelesen:

http://listi.jpberlin.de/pipermail/postfixbuch-users/2006-July/026045.html

und zum ersten einen Eintrag von /var/spool/postfix/var/run/mysqld/ auf 
ln -s /var/run/mysqld/mysqld.sock mysqld.sock gemacht dadurch hat sich
der Fehler Code von vorher
 postfix/cleanup[24290]: warning: connect to mysql server localhost:
Can't connect to local MySQL server through socke
t '/var/run/mysqld/mysqld.sock' (02) auf die (40) geändert.

Ich häng mal noch meine main.cf mit dran

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = vps4507.alfahosting-vps.de
myhostname = mail.vps4507.alfahosting-vps.de
mynetworks = 127.0.0.0/8
newaliases_path = /usr/sbin/sendmail
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5002
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5002

und hoffe auf Hilfe da ich als Linux Neuling echt nicht mehr weiter weiß

Danke und mit freundlichen Grüßen
Oliver Lubecki



Mehr Informationen über die Mailingliste Postfixbuch-users