[Postfixbuch-users] Mails an nicht-existente Subdomains abweisen
Klaus Tachtler
klaus at tachtler.net
Sa Feb 7 19:44:13 CET 2009
Ebenfalls Hallo Torben,
> Hallo Torben,
>
>> Wie kann ich nun erreichen, dass Mails an Subdomains, welche nicht
>> existieren, ebenfalls direkt abgelehnt werden?
>>
>> # postconf -n
>>
>> alias_maps =
>> config_directory = /etc/postfix
>> home_mailbox = Maildir/
>> inet_interfaces = all
>> mail_owner = postfix
>> mydestination = $myhostname, $mydomain, localhost, localhost.$mydomain
>> myhostname = hxxxxxx.serverkompetenz.net
>> mynetworks = 127.0.0.0/8
>> mynetworks_style = host
>> myorigin = $myhostname
>> smtpd_banner = $myhostname ESMTP
>> smtpd_helo_required = yes
>> smtpd_recipient_restrictions =
>> reject_non_fqdn_sender,
>> reject_non_fqdn_recipient,
>> reject_unknown_sender_domain,
>> reject_unknown_recipient_domain,
>> permit_sasl_authenticated,
>> permit_mynetworks,
>> reject_rbl_client zen.spamhaus.org,
>> reject_rbl_client ix.dnsbl.manitu.net,
>> reject_rbl_client bl.spamcop.net,
>> reject_rbl_client dnsbl.njabl.org,
>> reject_rbl_client list.dsbl.org,
>> reject_rhsbl_client multi.uribl.com,
>> reject_rhsbl_client blackhole.securitysage.com,
>> check_policy_service inet:127.0.0.1:60000,
>> reject_unverified_recipient,
>> reject_unauth_destination,
>> reject_unauth_pipelining,
>> permit
>> smtpd_sasl_auth_enable = yes
>> smtpd_sasl_path = private/auth
>> smtpd_sasl_type = dovecot
>> soft_bounce = no
>> virtual_alias_maps = ldap:/etc/postfix/virtual_alias_maps_ldap
>> virtual_gid_maps = $virtual_uid_maps
>> virtual_mailbox_base = /home/vmail
>> virtual_mailbox_domains = hash:/etc/postfix/virtual_mailbox_domains
>> virtual_transport = dovecot
>> virtual_uid_maps = static:5000
>
> Schau Dir mal den Parameter parent_domain_matches_subdomains und dessen
> Defautwert an (postconf -d parent_domain_matches_subdomains).
>
> Gruß
>
> Thomas
> --
> _______________________________________________
> Postfixbuch-users -- http://www.postfixbuch.de
> Heinlein Professional Linux Support GmbH
>
> Postfixbuch-users at listen.jpberlin.de
> https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
>
ich habe das so in der main.cf - sollte funktionieren:
# Only allow mails for defined subdomains, not for all subdomains.
# *** smtpd_access_maps was DELETED (at the end) ***
parent_domain_matches_subdomains =
debug_peer_list,
fast_flush_domains,
mynetworks,
permit_mx_backup_networks,
qmqpd_authorized_clients,
relay_domains
Grüße
Klaus.
--
----------------------------------------
e-Mail : klaus at tachtler.net
Homepage: http://www.tachtler.net
----------------------------------------
Mehr Informationen über die Mailingliste Postfixbuch-users