Reveller
13.11.04, 17:15
Guten Abend.
Ich habe ein Problem mit Postfix bzw. MySQL unter SuSE 9.1
Mein postfix kann mysql abfragen machen (geprüft mit postconf -m).
Ich habe eine datei namens mysql-mydestination.conf :
# user name and password to log into the mysql server
host = localhost
user = mail
password = XXX
# database name on the server
dbname=mail
# table names and columns
table = domain
select_field = domain_name
where_field = domain_name
# return the first match only
additional_conditions = and status = '1' limit 1
Wenn ich eine Mail einliefern will, bekomme ich in den Logs folgende Fehlermeldung:
Nov 13 17:45:27 Erynnien postfix/smtpd[8033]: connect from unknown[192.168.2.100]
Nov 13 17:46:05 Erynnien postfix/trivial-rewrite[8035]: warning: mysql query failed: Unknown column 'status' in 'where clause'
Nov 13 17:46:05 Erynnien postfix/trivial-rewrite[8035]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,100): table lookup problem
Nov 13 17:46:06 Erynnien postfix/smtpd[8033]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
Warum möchte Postfix auf die Spalte "Status" zugreifen ??
Ich bin für jede Hilfe dankbar !
Ich habe ein Problem mit Postfix bzw. MySQL unter SuSE 9.1
Mein postfix kann mysql abfragen machen (geprüft mit postconf -m).
Ich habe eine datei namens mysql-mydestination.conf :
# user name and password to log into the mysql server
host = localhost
user = mail
password = XXX
# database name on the server
dbname=mail
# table names and columns
table = domain
select_field = domain_name
where_field = domain_name
# return the first match only
additional_conditions = and status = '1' limit 1
Wenn ich eine Mail einliefern will, bekomme ich in den Logs folgende Fehlermeldung:
Nov 13 17:45:27 Erynnien postfix/smtpd[8033]: connect from unknown[192.168.2.100]
Nov 13 17:46:05 Erynnien postfix/trivial-rewrite[8035]: warning: mysql query failed: Unknown column 'status' in 'where clause'
Nov 13 17:46:05 Erynnien postfix/trivial-rewrite[8035]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,100): table lookup problem
Nov 13 17:46:06 Erynnien postfix/smtpd[8033]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
Warum möchte Postfix auf die Spalte "Status" zugreifen ??
Ich bin für jede Hilfe dankbar !