[Postfixbuch-users] Keine Virtual-Table-Abfrage :-(

Daniel Sepeur mlists at eomis.de
Do Sep 30 15:01:27 CEST 2004


Hallo Leute,

ich stelle grad fest, dass Postfix nach Neuinstallation keine Abfrage
der Tabelle Virtual in MySQL macht. Das ist peinlich, weil niemand auf
der Maschine Mail empfängt.
Ein postconf -m zeigt, dass mysql von Postfix verstanden wird.

static
cidr
nis
regexp
environ
mysql
proxy
btree
unix
hash

Ein postconf -n zeigt aber den virtual_maps Eintrag nicht:

alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = 217.115.138.8,127.0.0.1
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:public/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = www.csmarketing.de
mynetworks = 217.115.138.8/32,127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = mysql:/etc/postfix/mysql-sender-canonical.cf
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = reject_non_fqdn_sender,
reject_non_fqdn_recipient,  permit_sasl_authenticated,
permit_mynetworks,  reject_unauth_destination,  reject_invalid_hostname,
reject_non_fqdn_hostname,  reject_unknown_sender_domain,
reject_unknown_recipient_domain,  reject_unauth_pipelining,
check_sender_access hash:/etc/postfix/access,  reject_maps_rbl
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450

Es sieht so aus, als seien die in MySQL konfigurierten eMail-Adressen
gar nicht für Postfix bekannt.
Ein Auszug aus dem Log zeigt folgendes:

Sep 30 16:56:43 www postfix/smtpd[10078]: connect from
unknown[xxx.xxx.xxx.19]
Sep 30 16:56:43 www postfix/smtpd[10078]: NOQUEUE: reject: RCPT from
unknown[xxx.xxx.xxx.xxx]: 554 <username at domain.de>: Relay access d
enied; from=<versender at domain.de> to=<username at domain.de> proto=SMTP
helo=<host.domainname.de>
Sep 30 16:56:43 www postfix/smtpd[10078]: disconnect from
unknown[xxx.xxx.xxx.xxx]

Der Transport auf der Maschine hat schon funktioniert. Warums plötzlich
nimmer geht weiss ich nicht ... oder nicht mehr ... 
Aber vielleicht fällts ja jemandem von Euch wie Schuppen von den Augen
... 
Was ich nur sehe, ist dass die Zeile virtual_maps nicht in der
postconf-Ausgabe ist. Schlimm schlimm.

Daniel




Mehr Informationen über die Mailingliste Postfixbuch-users