[Postfixbuch-users] do not list domain ... in BOTH virtual_mailbox_domains and relay_domains

Oskar Eyb oskar-postfix at eyb.de
Mi Jan 2 15:27:33 CET 2008


Hi,


Peer Heinlein schrieb am 02.01.2008 15:14:


> Zu Deinem problem:
> 
> Postfix kennt prinzipiell drei Klassen von Domains, nach denen er sich 
> zuständig fühlt:
> 
> a) echte Domains (mydestination=)
> b) virtuelle Domains (virtual_alias_domains=)
> c) zu relayende Domains (relay_domaions=).
> 
> Es ist denklogisch ausgeschlossen, daß eine Domain mehreren Klassen 
> angehört. Entweder sie ist so, oder so.

OK.


> Bei Dir steht eine Domain sowohl in b) als auch c) und das ist 
> schizophren.

So interpretiere ich die Fehlermeldung auch. Aber ich komme nichtmehr 
weiter, da ich es nicht nachvollziehen kann, weil ich mit meinem 
Verständnis eben genau das nicht verifizieren kann (s. mail mit dem 
nachtrag, das prüfen der sql-datenbank). Aber ich denke, zusammen spüren 
wir das auf :-)




> Bitte einfach "postconf -n" posten. Dann haben wir alles dabei.

broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
header_checks = pcre:/usr/local/etc/postfix/header_checks.pcre
html_directory = no
inet_interfaces = 172.16.0.2
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
masquerade_domains = $myhostname $mydomain
mydestination = beastiXXX.eyb.de
mydomain = eyb.de
myhostname = 12beastie.eyb.de
mynetworks = 127.0.0.0/8, 172.16.0.0/24
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = proxy:mysql:/usr/local/etc/postfix/sql_relay_domains_maps.cf
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth_passwd
smtp_sasl_security_options = noanonymous, noplaintext
smtp_sasl_tls_security_options = noanonymous
smtp_tls_CAfile = /etc/local-etc/apache/ssl.crt/ca-bundle.crt
smtp_tls_note_starttls_offer = yes
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP (bln-mx1)
smtpd_client_restrictions = permit_mynetworks, 
permit_sasl_authenticated,    reject_rbl_client dnsbl.sorbs.net, 
reject_rbl_client sbl-xbl.spamhaus.org,    reject_rbl_client 
list.dsbl.org,    permit
smtpd_data_restrictions = permit_mynetworks, 
reject_unauth_pipelining,    permit
smtpd_helo_restrictions = permit_mynetworks, 
permit_sasl_authenticated,    reject_invalid_hostname, 
reject_non_fqdn_hostname,    permit
smtpd_recipient_restrictions = reject_unknown_recipient_domain, 
reject_non_fqdn_recipient,    reject_non_fqdn_sender, 
reject_unauth_pipelining        permit_mynetworks, 
permit_sasl_authenticated,     reject_unauth_destination,    permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_unknown_sender_domain, 
reject_non_fqdn_sender,    permit_mynetworks, 
permit_sasl_authenticated,    reject_rhsbl_sender rhsbl.sorbs.net, 
reject_rhsbl_sender dsn.rfc-ignorant.org,    permit
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = yes
tls_random_source = dev:/dev/urandom
transport_maps = mysql:/usr/local/etc/postfix/sql_transport_maps.cf, 
pcre:/usr/local/etc/postfix/transport.pcre
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/usr/local/etc/postfix/sql_virtual_alias_maps.cf
virtual_gid_maps = static:130
virtual_mailbox_base = /data/maildirs
virtual_mailbox_domains = 
mysql:/usr/local/etc/postfix/sql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_limit_maps = 
mysql:/usr/local/etc/postfix/sql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = $transport_maps, 
mysql:/usr/local/etc/postfix/sql_virtual_mailbox_maps.cf
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn 
his diskspace quota, please try again later.
virtual_minimum_uid = 130
virtual_overquota_bounce = yes
virtual_transport = virtual
virtual_uid_maps = static:130





>> mydestination = beastiXXX.eyb.de
>> mydomain = eyb.de
>> myhostname = 12beastie.eyb.de
> 
> Relevant wäre:
> 
> virtual_alias_domains=
> virtual_mailbox_domains=
> relay_domains=

virtual_alias_domains = $virtual_alias_maps
virtual_mailbox_domains = 
mysql:/usr/local/etc/postfix/sql_virtual_domains_maps.cf
relay_domains = proxy:mysql:/usr/local/etc/postfix/sql_relay_domains_maps.cf



Gruß,
Oskar




Mehr Informationen über die Mailingliste Postfixbuch-users