[Postfixbuch-users] Konfigurationsfehler?
Frank Fiedler
jmfpbml at gmx.de
Mi Jan 23 10:25:16 CET 2008
Hallo,
ich frage mich, ob mein System falsch konfiguriert ist, ich ich einfach zu dusslig bin um den Ablauf zu verstehen, oder ob da tatsächlich vom Programm unnötige Abfragen gamacht werden.
Ein (Test)mail kommt von "xyz at web.de" an "alias at domain-tld".
Es existiert ein Postfach für "vorname.nachname at domain.tld" mit einem Alias von "alias.domain.tld" zu "vorname.nachname at domain.tld".
Die Mail kommt zwar an, aber sind das nicht unnötig viele Abfragen?
1 Connect admin at localhost on mailbase
2 Query SELECT concat(`domain`,"/",`user`,"/") as maildir FROM users WHERE account='web.de'
3 Query SELECT concat(`domain`,"/",`user`,"/") as maildir FROM users WHERE account='domain.tld'
4 Connect admin at localhost on mailbase
5 Query SELECT forward_to FROM forwarders WHERE forward_from='alias at domain.tld'
6 Connect admin at localhost on mailbase
7 Query SELECT forward_to FROM forwarders WHERE forward_from='alias at domain.tld'
8 Query SELECT forward_to FROM forwarders WHERE forward_from='vorname.nachname at domain.tld'
9 Query SELECT forward_to FROM forwarders WHERE forward_from='@domain.tld'
10 Connect admin at localhost on mailbase
11 Query SELECT concat(`domain`,"/",`user`,"/") as maildir FROM users WHERE account='web.de'
12 Query SELECT concat(`domain`,"/",`user`,"/") as maildir FROM users WHERE account='domain.tld'
13 Connect admin at localhost on mailbase
14 Query SELECT forward_to FROM forwarders WHERE forward_from='vorname.nachname at domain.tld'
15 Query SELECT forward_to FROM forwarders WHERE forward_from='@domain.tld'
16 Query SELECT forward_to FROM forwarders WHERE forward_from='vorname.nachname at domain.tld'
17 Query SELECT forward_to FROM forwarders WHERE forward_from='@domain.tld'
18 Query SELECT concat(`domain`,"/",`user`,"/") as maildir FROM users WHERE account='domain.tld'
19 Connect admin at localhost on mailbase
20 Query SELECT concat(`domain`,"/",`user`,"/") as maildir FROM users WHERE account='vorname.nachname at domain.tld'
Hier die Konfiguration:
alias_maps = hash:/etc/aliases
biff = no
body_checks = pcre:/etc/postfix/checks/body_checks
bounce_template_file = /etc/postfix/bounce.cf
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
header_checks = pcre:/etc/postfix/checks/header_checks
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
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 = 5120000
mydestination = $myhostname, localhost.$mydomain
myhostname = mail.domain.tld
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination, domain.tld
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_use_tls = no
smtpd_recipient_limit = 50
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_unauth_destination, reject_rbl_client relays.ordb.org, reject_rbl_client zen.spamhaus.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = ""
smtpd_tls_auth_only = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = ""
virtual_alias_maps = mysql:/etc/postfix/mysql/forward.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mailbox.cf
virtual_uid_maps = static:5001
virtual_gid_maps = static:5001
virtual_minimum_uid = 5000
virtual_mailbox_base = /srv/maildirs
Gruß und
DAnke Frank
--
Frank Fiedler <jmfpbml at gmx.de>
Mehr Informationen über die Mailingliste Postfixbuch-users