[Postfixbuch-users] virtual_alias_maps -> discard?

Henning Nelihsen +lists.postfix.postfixbuch at maixit.de
Di Dez 14 13:47:44 CET 2004


Hallo Liste,

ich möchte eine Positiv Liste verwenden, damit das Mailgateway nicht 
erst die ganzen ungültigen Emails belastet wird.
Mit virtual_alias_maps gaht das auch einwandfrei. Die Emails an 
unbekannten Empfänger möchte aber "leise" entsorgen mit discard, ohne 
eine weitere Email zu erzeugen.

Wie/wo kann ich das (überhaupt) einstellen?

Gruss, Henning

%postconf -n
alias_maps = hash:/etc/aliases
biff = no
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/usr/local/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
local_recipient_maps =
local_transport = no local mail delivery
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 50000000
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = $myhostname
myhostname = lilo.maixit.de
mynetworks = 212.117.79.166/32
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = hash:/usr/local/etc/postfix/relay_domains
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, 
reject_rbl_client domain-name
smtpd_recipient_restrictions = check_sender_access 
hash:/usr/local/etc/postfix/access,
	check_recipient_access hash:/usr/local/etc/postfix/access,
	 permit_mx_backup,
	permit_mynetworks,
	 reject_non_fqdn_recipient,
	 reject_unauth_destination
smtpd_sender_restrictions = reject_non_fqdn_sender, 
reject_unknown_sender_domain
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual_alias_maps



Mehr Informationen über die Mailingliste Postfixbuch-users