postfix whitelist

Peter Z zozzi na atlas.cz
Úterý Únor 3 15:14:16 CET 2004


 ahoj,

mam problem s jednym klientom ktory ma DSL od telecomu (bez pevnej IP), ale ta jeho IP adresa je na blackliste ... 

chcel by som dat to IP do whitelistu, aby to malo vyssiu prioritu ako blacklist 

skusal som dat do /etc/postfix/access, ale aj inych sender_check atd: 
213.81.224.225 OK 

ale stale nic. mozete mi pls pomoct?

diyk

Zozzi

Feb  3 15:02:41 server postfix/smtpd[29031]: 9B59532C8A: reject: RCPT from dsl-224.225.telecom.sk[213.81.224.225]: 554 Service unavailable; Client host [213.81.224.225] blocked using list.dsbl.org; http://dsbl.org/listing?ip=213.81.224.225; from=<user na domena.sk> to=<info na bondreality.sk> proto=ESMTP 


postconf -n

access_map_reject_code = 554
alias_database = hash:/etc/aliases, hash:/usr/mailman/Mailman/aliases
alias_maps = hash:/etc/aliases, hash:/usr/mailman/Mailman/aliases
allow_untrusted_routing = no
biff = no
body_checks = pcre:/etc/postfix/body_checks
body_checks_size_limit = 102400
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:localhost:10024
daemon_directory = /usr/libexec/postfix
default_destination_concurrency_limit = 4
default_process_limit = 70
disable_vrfy_command = yes
extract_recipient_limit = 128
header_checks = pcre:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = $myhostname, localhost, 127.0.0.1
local_destination_concurrency_limit = 5
local_recipient_maps = 
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
message_size_limit = 40971520
mydestination = hash:/etc/postfix/destinations
mydomain = point.sk
myhostname = hermes.point.sk
mynetworks = $config_directory/mynets, permit_sasl_authenticated
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
notify_classes = resource,software,protocol,delay
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README
recipient_delimiter = +
relay_domains = $mydestination hash:/etc/postfix/relay
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix/SAMPLES
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_connect_timeout = 120
smtp_destination_concurrency_limit = 4
smtp_sasl_security_options = noanonymous
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks,    permit_sasl_authenticated,    hash:/etc/postfix/access,   check_client_access hash:/etc/postfix/access,   check_sender_access hash:/etc/postfix/access,   reject_rbl_client sbl.spamhaus.org,   reject_rbl_client list.dsbl.org,   reject_rbl_client opm.blitzed.org,   reject_rbl_client relays.ordb.org,   reject_rbl_client blackholes.wirehub.net,   reject_rbl_client dnsbl.njabl.org,   reject_rbl_client blackholes.mail-abuse.org,   reject_rbl_client postfix.bondedsender.org
smtpd_delay_reject = yes
smtpd_error_sleep_time = 10
smtpd_etrn_restrictions = reject_unknown_client,   check_client_access hash:/etc/postfix/etrn_allow
smtpd_hard_error_limit = 50
smtpd_helo_required = yes
smtpd_history_flush_threshold = 7
smtpd_recipient_limit = 600
smtpd_recipient_restrictions = permit_mynetworks,   permit_sasl_authenticated,    reject_unauth_pipelining,    reject_unauth_destination,   reject_unknown_recipient_domain,   check_sender_access hash:/etc/postfix/access,   check_recipient_access pcre:/etc/postfix/pcre_recipient,   reject_rbl_client list.dsbl.org,   reject_rbl_client sbl.spamhaus.org,   reject_rbl_client opm.blitzed.org,   reject_rbl_client relays.ordb.org,   reject_rbl_client blackholes.wirehub.net,   reject_rbl_client dnsbl.njabl.org
smtpd_restriction_classes = restrictive, permissive
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_invalid_hostname,    reject_unknown_sender_domain,   reject_non_fqdn_sender,   check_sender_access hash:/etc/postfix/access,   reject_rbl_client sbl.spamhaus.org,   reject_rbl_client opm.blitzed.org,   reject_rbl_client list.dsbl.org,   reject_rbl_client relays.ordb.org,   reject_rbl_client blackholes.wirehub.net,   reject_rbl_client dnsbl.njabl.org
smtpd_timeout = 300s
strict_mime_encoding_domain = yes
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 554





Další informace o konferenci Linux