|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: delivery performance
From: Szymon Grabowski (szymon
profitstudio.com)Date: Thu May 25 2000 - 18:32:08 CDT
- Next message: Brad Knowles: "Re: Enhanced DSN generation"
- Previous message: Alan J Rosenthal: "here's an easy way to do postfix *outside* the rpm system"
- Next in thread: Wietse Venema: "Re: delivery performance"
- Reply: Wietse Venema: "Re: delivery performance"
- Reply: Paweł Krawczyk: "Re: delivery performance"
- Reply: Jonathan Bartlett: "Re: delivery performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
While I was finally able to figure out my 'weird e-mail problem'
(thanks Wietse!), I have another issue.
I have thousands of e-mails in incoming and defer/deferred
directories and, because of this, both outbound and inbound
e-mail activity are much slower than ever before.
I've set up my main.cf to allow hundreds of concurrent
smtp connections, but it simply doesn't work.
The # of smtp processes is VERY, VERY low (as well as
the system load) and I can't seem to find a way to increase it,
while the queue grows, grows & grows...
If only I could get i.e. 100 smtp transports to run at the
same time, I'm sure the queue would be gone in no time.
smtp_destination_concurrency_limit and default_process_limit
don't seem to work for me :-(
Please take a look at my config files below. Perhaps I'm
missing something obvious here?
Sincerely,
Simon Grabowski
GetResponse.com
***
master.cf:
smtp inet n - n - - smtpd
pickup fifo n n n 60 1 pickup
cleanup unix - - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
main.cf:
queue_directory = /web/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = phl7.note.com
myorigin = $myhostname
inet_interfaces = all
biff=no
mydestination = /etc/postfix/mydestination
local_recipient_maps = $alias_maps unix:passwd.byname
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mail_spool_directory = /var/spool/mail
relay_domains = $mydestination
mynetworks = 207.8.131/24
smtp_connect_timeout = 5
smtp_data_done_timeout = 80
smtp_data_init_timeout = 30
smtp_data_xfer_timeout = 150
smtp_helo_timeout = 10
smtp_mail_timeout = 50
smtp_quit_timeout = 80
smtp_rcpt_timeout = 50
smtp_skip_quit_response=yes
smtp_skip_4xx_greeting=yes
qmgr_message_active_limit=10000
qmgr_message_recipient_limit=5000
default_destination_concurrency_limit=10
initial_destination_concurrency=2
smtp_destination_concurrency_limit=30
smtp_destination_recipient_limit=1000
local_destination_concurrency_limit=10
local_destination_recipient_limit=5000
qmgr_fudge_factor=80
qmgr_site_hog_factor=80
queue_run_delay = 61
#max_idle = 100
#max_use = 300
hash_queue_depth = 2
hash_queue_names = defer,deferred,active,incoming
default_process_limit=200
#deliver_lock_attempts=3
#deliver_lock_delay=1
default_transport = smtp
#smtp_connect_timeout = 20 # SG
#local_destination_concurrency_limit = 100 # SG
#default_destination_concurrency_limit = 100 # SG
#qmgr_message_active_limit = 5000 # SG
#qmgr_message_recipient_limit = 50000 # SG
#qmgr_fudge_factor = 75 # SG
#debug_peer_level = 10
# debug_peer_list = 127.0.0.1
# debug_peer_list = some.domain
virtual_maps = hash:/etc/postfix/virtual
disable_vrfy_command = yes
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_etrn_restrictions = permit
smtpd_recipient_limit = 1000
smtpd_timeout = 150
# tarpit
smtpd_error_sleep_time = 2
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 100
smtpd_client_restrictions = permit
smtpd_helo_required = no
smtpd_helo_restrictions = permit
smtpd_sender_restrictions = reject_unknown_sender_domain, permit
smtpd_recipient_restrictions = permit_auth_destination, check_relay_domains
allow_untrusted_routing = no
access_map_reject_code = 550
invalid_hostname_reject_code = 501
maps_rbl_reject_code = 550
reject_code = 550
relay_domains_reject_code = 550
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
transport_maps = hash:/etc/postfix/transport
- Next message: Brad Knowles: "Re: Enhanced DSN generation"
- Previous message: Alan J Rosenthal: "here's an easy way to do postfix *outside* the rpm system"
- Next in thread: Wietse Venema: "Re: delivery performance"
- Reply: Wietse Venema: "Re: delivery performance"
- Reply: Paweł Krawczyk: "Re: delivery performance"
- Reply: Jonathan Bartlett: "Re: delivery performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]