postfix-users

Re: number of smtpds/postgrey

Subject: Re: number of smtpds/postgrey
From: Homer Wilson Smith <homer AT lightlink DOT com>
To: Robert Schetterer <robert AT schetterer DOT org>
Date: Thu, 9 Aug 2007 16:47:43 -0400 (EDT)
    Got hit with a zillion incoming connections today,
most of which were empty, had to increase smtpds to
500 to deal, but postgrey barfed much above
250.

    Running FC3.  Is there an upper limit to smtpd
for postgrey's sake?  CAn postgrey be changed?

What is the error (logfile entry)?
Show output of "postconf -n"
Show *all* entries from the logfile for one incident

    When default process limit was set to 500, the postgrey we are using
started to fail, causing mail to not be delivered, here are the errors,
zillions of them.   We are using David Schweikert's postgrey 1.2.1 with
postfix 2.1.5.  Lowering default to 250 allowed things to run.

Aug  8 19:27:14 smtp0 postfix/smtpd[13595]: warning: premature end-of-input on 
127.0.0.1:10023 while reading input attribute name
Aug  8 19:27:14 smtp0 postfix/smtpd[13595]: warning: problem talking to server 
127.0.0.1:10023: Connection reset by peer
Aug  8 19:27:14 smtp0 postfix/smtpd[13782]: warning: premature end-of-input on 
127.0.0.1:10023 while reading input attribute name
Aug  8 19:27:14 smtp0 postfix/smtpd[13782]: warning: problem talking to server 
127.0.0.1:10023: Connection reset by peer

postconf -d
alias_database = hash:/etc/aliases,                 hash:/etc/list.aliases,     
            hash:/etc/listproc.aliases,                 
hash:/etc/users.aliases,                 hash:/etc/goners.aliases,              
   hash:/etc/vd.aliases
alias_maps = hash:/etc/aliases,             hash:/etc/list.aliases,             
hash:/etc/listproc.aliases,             hash:/etc/users.aliases,             
hash:/etc/goners.aliases,             hash:/etc/vd.aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 1
default_process_limit = 500
html_directory = no
in_flow_delay = 0s
local_recipient_maps = mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 100000000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 20
message_size_limit = 50000000
mydestination = /etc/sendmail.cw, localhost.$mydomain, localhost
mydomain = lightlink.com
myhostname = smtp1.lightlink.com
mynetworks = /etc/postfix/localip
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relay_domains = hash:/etc/vd.relaydomains
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_hard_error_limit = 2
smtpd_recipient_restrictions = permit_mynetworks   reject_unauth_destination   
check_policy_service inet:127.0.0.1:10023
smtpd_soft_error_limit = 2
soft_bounce = no
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/vd.postfix

<Prev in Thread] Current Thread [Next in Thread>