Hi again

here is my postconf output. I had configured my
smtpd_client_restrictions =
  check_client_access hash:/usr/local/etc/postfix/access
and hash a file, access with the list of ip addresses that I would like to
block. But I am not sure if this is a good solution.

Thanks in advanced!
Jessica

-------

Here is my postconf -n output.

alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
body_checks = regexp:/usr/local/etc/postfix/body_checks
bounce_size_limit = 50000
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
duplicate_filter_limit = 2500
header_checks = regexp:/usr/local/etc/postfix/header_checks
header_size_limit = 102400
in_flow_delay = 1s
line_length_limit = 2048
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /home/mailspool
mailbox_command = /usr/local/bin/procmail
mailbox_size_limit = 104857600
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 3
message_size_limit = 20971520
mydestination = $myhostname, localhost, localhost.$mydomain,
gareth.brel.com, ga
reth.bnn.com
mydomain = brel.com
myhostname = mailhost.brel.com
mynetworks = 127.0.0.1, 165.21.73.173/32 165.21.73.174/32, 165.21.73.176/32
        165.21.73.177/32, 165.21.73.178/32, 165.21.73.165/32
mynetworks_style = host
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination hash:/usr/local/etc/postfix/virt.access
$virtual_
maps
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = check_client_access
hash:/usr/local/etc/postfix/acce
ss  permit
smtpd_error_sleep_time = 20
smtpd_hard_error_limit = 3
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname
smtpd_junk_command_limit = 2
maps
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = check_client_access
hash:/usr/local/etc/postfix/acce
ss  permit
smtpd_error_sleep_time = 20
smtpd_hard_error_limit = 3
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname
smtpd_junk_command_limit = 2
smtpd_recipient_limit = 100
smtpd_recipient_restrictions = permit_mynetworks       
check_client_access btre
e:/usr/local/etc/dracd  check_sender_access
hash:/usr/local/etc/postfix/virt.acc
ess     reject_non_fqdn_hostname, reject_non_fqdn_sender,
reject_non_fqdn_recipi
ent, reject_unauth_destination, reject_unauth_pipelining,
reject_invalid_hostnam
e, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net,
reject_rbl
_client zen.spamhaus.org, reject_rbl_client ipwhois.rfc-ignorant.org,
reject_rhs
bl_sender dsn.rfc-ignorant.org
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_soft_error_limit = 1
transport_retry_time = 60
unknown_local_recipient_reject_code = 550


> [email protected] wrote:
>> Dear netizens
>>
>> sorry to trouble you. My server is just overloaded with too much spams.
>>
>> When I view the output of netstat -ln, there are over 400 ip addresses
>> connecting to my postfix server actively. In our mail.log, the
>> connections
>> are from these ip addresses that had nothing to do with our company.
>>
>> Would greatly appreciate if if someone can help me out... I am using an
>> old Freebsd 4.9 running postfix.
>>
>
> Welcome to the list!
> Unfortunately, you seem to have missed the important welcome message:
> "TO REPORT A PROBLEM, PLEASE SEE
> http://www.postfix.org/DEBUG_README.html#mail";
>
> With such a general description, no one can help you with out some basic
> information such as 'postconf -n' as noted in the README
>

Reply via email to