sgtpepper9999
ISP
Hello,
I am running postfix on a linux server for a small ISP. Today I started using RBL's for spam control (I wanted to use reverse DNS but it stops way to much email for customers). My mail server is now VERY odd. If I grep my maillog file, this casues the server to 'freeze' until the grep is done. Also, about once an hour the mail server 'freezes' outgoing mail. I discover during this freeze time, reloading postfix seems to clear it up. I am wondering if anyone can find a problem with my main.cf file..posted below....I am puzzled. Do you think the hanging is caused by the RBL?
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = MY SEVER
myorigin = $mydomain
mydestination = /etc/postfix/local-host-names
mynetworks_style = host
mynetworks = /etc/postfix/relay-domains
relay_domains = $mydestination /etc/postfix/relay-domains.domains
smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, check_client_access hash:/etc/postfix/pop-before-smtp, check_relay_domains, reject_maps_rbl
virtual_maps = hash:/etc/postfix/virtual
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mail_spool_directory = /var/spool/mail
fast_flush_domains = $mydestination
smtpd_banner = $myhostname ESMTP $mail_name
local_destination_concurrency_limit = 5
default_destination_concurrency_limit = 20
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
message_size_limit = 40000000
default_destination_recipient_limit = 500
smtpd_recipient_limit = 1000
default_process_limit = 50
initial_destination_concurrency = 2
maximal_queue_lifetime = 5
minimal_backoff_time = 500
maximal_backoff_time = 4000
qmgr_message_recipient_limit = 1000
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
#smtpd_helo_restrictions = reject_invalid_hostname
#disable_vrfy_command = yes reject_non_fqdn_hostname #: reject HELO hostname that is not in FQDN form
#reject_non_fqdn_sender #: reject sender address that is not in FQDN form
#reject_non_fqdn_recipient #: reject recipient address that is not in FQDN form
smtpd_sender_restrictions = reject_unknown_sender_domain
maps_rbl_domains = bl.spamcop.net, relays.ordb.org
I am running postfix on a linux server for a small ISP. Today I started using RBL's for spam control (I wanted to use reverse DNS but it stops way to much email for customers). My mail server is now VERY odd. If I grep my maillog file, this casues the server to 'freeze' until the grep is done. Also, about once an hour the mail server 'freezes' outgoing mail. I discover during this freeze time, reloading postfix seems to clear it up. I am wondering if anyone can find a problem with my main.cf file..posted below....I am puzzled. Do you think the hanging is caused by the RBL?
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = MY SEVER
myorigin = $mydomain
mydestination = /etc/postfix/local-host-names
mynetworks_style = host
mynetworks = /etc/postfix/relay-domains
relay_domains = $mydestination /etc/postfix/relay-domains.domains
smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, check_client_access hash:/etc/postfix/pop-before-smtp, check_relay_domains, reject_maps_rbl
virtual_maps = hash:/etc/postfix/virtual
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mail_spool_directory = /var/spool/mail
fast_flush_domains = $mydestination
smtpd_banner = $myhostname ESMTP $mail_name
local_destination_concurrency_limit = 5
default_destination_concurrency_limit = 20
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
message_size_limit = 40000000
default_destination_recipient_limit = 500
smtpd_recipient_limit = 1000
default_process_limit = 50
initial_destination_concurrency = 2
maximal_queue_lifetime = 5
minimal_backoff_time = 500
maximal_backoff_time = 4000
qmgr_message_recipient_limit = 1000
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
#smtpd_helo_restrictions = reject_invalid_hostname
#disable_vrfy_command = yes reject_non_fqdn_hostname #: reject HELO hostname that is not in FQDN form
#reject_non_fqdn_sender #: reject sender address that is not in FQDN form
#reject_non_fqdn_recipient #: reject recipient address that is not in FQDN form
smtpd_sender_restrictions = reject_unknown_sender_domain
maps_rbl_domains = bl.spamcop.net, relays.ordb.org