ich habe einen Debian Woody Server und wollte nun endlich einen Mailserver mit MySQL Anbindung haben.
Da Woody angestaubt ist und es öfters Probleme mit Backports gibt, bin ich nach http://workaround.org/articles/ispmail/ HowTo gegangen.
So eigentlich geht gar nichts. Weder Mails verschicken, noch empfangen oder mit einem Client abrufen.
Gehen wir erstemal auf ein Problem, was das Logfile zeigt, wenn ich den Postfix Server starte.
Und zwar unter den folgenden Bedingungen. In den ganzen virtual_mysql Dateien, steht für hosts localhost und in der my.cnf (MySQL Config) ist skip-network auskommentiert (weil ich sonst keine MySQL Connections von ausserhalb des Rechner machen kann und das brauche ich)
So, nun die gleiche Meldung, wenn ich in der my.cnf skip-networks auskommentiere:Apr 13 14:28:47 mittelerde postfix/postfix-script: warning: /var/spool/postfix/etc/pam.d/smtp and /etc/pam.d/smtp differ
Apr 13 14:28:47 mittelerde postfix/postfix-script: starting the Postfix mail system
Apr 13 14:28:47 mittelerde postfix/master[7230]: daemon started
Apr 13 14:28:47 mittelerde postfix/trivial-rewrite[7235]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Apr 13 14:28:47 mittelerde postfix/trivial-rewrite[7235]: fatal: transport table lookup problem
Apr 13 14:28:48 mittelerde postfix/master[7230]: warning: process /usr/lib/postfix/trivial-rewrite pid 7235 exit status 1
Apr 13 14:28:48 mittelerde postfix/master[7230]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
So nun kann ich das gleiche machen, aber in den hosts Einstellungen kommt statt "localhost" halt die IP des Server rein und skip-networking ist noch immer auskommentiert:Apr 13 14:32:32 mittelerde postfix/postfix-script: warning: /var/spool/postfix/etc/pam.d/smtp and /etc/pam.d/smtp differ
Apr 13 14:32:32 mittelerde postfix/postfix-script: starting the Postfix mail system
Apr 13 14:32:32 mittelerde postfix/master[7466]: daemon started
Apr 13 14:32:34 mittelerde postfix/trivial-rewrite[7471]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Apr 13 14:32:34 mittelerde postfix/trivial-rewrite[7471]: fatal: transport table lookup problem
Apr 13 14:32:35 mittelerde postfix/master[7466]: warning: process /usr/lib/postfix/trivial-rewrite pid 7471 exit status 1
Apr 13 14:32:35 mittelerde postfix/master[7466]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Das Selbe nochmal (also hosts mit der ServerIP) nur skip-networking in der my.cnf auskommentiert:Apr 13 14:36:46 mittelerde postfix/postfix-script: warning: /var/spool/postfix/etc/pam.d/smtp and /etc/pam.d/smtp differ
Apr 13 14:36:46 mittelerde postfix/postfix-script: starting the Postfix mail system
Apr 13 14:36:46 mittelerde postfix/master[7595]: daemon started
Apr 13 14:36:46 mittelerde postfix/trivial-rewrite[7600]: warning: connect to mysql server 213.239.201.216: Can't connect to MySQL server on '213.239.201.216' (111)
Apr 13 14:36:46 mittelerde postfix/trivial-rewrite[7600]: fatal: transport table lookup problem
Apr 13 14:36:47 mittelerde postfix/master[7595]: warning: process /usr/lib/postfix/trivial-rewrite pid 7600 exit status 1
Apr 13 14:36:47 mittelerde postfix/master[7595]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
postconf -n ergibt folgendes:Apr 13 14:38:52 mittelerde postfix/postfix-script: warning: /var/spool/postfix/etc/pam.d/smtp and /etc/pam.d/smtp differ
Apr 13 14:38:52 mittelerde postfix/postfix-script: starting the Postfix mail system
Apr 13 14:38:52 mittelerde postfix/master[7815]: daemon started
Apr 13 14:38:52 mittelerde postfix/trivial-rewrite[7820]: warning: connect to mysql server 213.239.201.216: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Apr 13 14:38:52 mittelerde postfix/trivial-rewrite[7820]: fatal: transport table lookup problem
Apr 13 14:38:53 mittelerde postfix/master[7815]: warning: process /usr/lib/postfix/trivial-rewrite pid 7820 exit status 1
Apr 13 14:38:53 mittelerde postfix/master[7815]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Diese Meldung bekomme ich auch nicht weg und die wird auch von postfix check ausgegeben:alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
mailbox_command =
mailbox_size_limit = 0
mydestination = dazur.info, mittelerde, localhost.localdomain, localhost
myhostname = mail.dazur.info
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
program_directory = /usr/lib/postfix
recipient_delimiter = +
relayhost =
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
transport_maps = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_domains.cf mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
MySQL Server ist in der Version 4.1.7 von http://dotdeb.org/Apr 13 14:38:52 mittelerde postfix/postfix-script: warning: /var/spool/postfix/etc/pam.d/smtp and /etc/pam.d/smtp differ
MySQL Client API version 4.1.10a
Postfix Versionen sind diese stabel woody Pakete, so wie sie im workaround.org für Woody stehen.
Ã?ber tatkräftige Hilfe von Euch, würde ich mich sehr freuen.
Gruß
Loko