LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2005, 09:06 PM   #1
Chowroc
Member
 
Registered: Dec 2004
Posts: 145

Rep: Reputation: 15
Postfix: rate & connection control£¿


I have done some rate control for postfix:
Code:
# initial_destination_concurrency = 1
default_destination_concurrency_limit = 1
smtp_destination_concurrency_limit = 1
in_flow_delay = 4s
default_process_limit = 80
maximal_queue_lifetime = 10d
# default_destination_recipient_limit = 20
Thus I think the rate to a destination such as example.com would be:
60/$in_flow_delay = 15 letters/min

But in the maillog, I still found many "too many letters during this connection" messages. I lookup the postfix documentation, and I think these parameters have influences:
smtp_connection_reuse_time_limit (300s)
smtp_connection_cache_reuse_limit (10s)
smtp_connection_cache_time_limit (2s)
default_destination_recipient_limit (50)

I'm not very clear about the parameters, the smtp_connection_reuse_time_limit availabe for postfix-2.3, my verstion is postfix-2.2.5, but when I add
smtp_connection_cache_reuse_limit = 5s
These 2 parameters was not highlight in editor and when I reload postfix, I found in the maillog that they are "bad" parameters. But the documentation says it's available after 2.2.

What is wrong?

And I want to know if $initial_destination_concurrency > $default_destination_concurrency_limit, what will happen?

Thanks.

Last edited by Chowroc; 11-16-2005 at 02:38 AM.
 
Old 11-16-2005, 02:41 AM   #2
Chowroc
Member
 
Registered: Dec 2004
Posts: 145

Original Poster
Rep: Reputation: 15
I know, smtp_connection_cache_reuse_limit is the limit of times, not the limit of time, so it should be 5, not 5s.

But where I found "too many letters during this connection" in log, I also found that the mail was bounced. If I don't want the mail to be bounced but just deferred, What can I do?

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard rate & delay davrimo Slackware 2 04-15-2017 10:11 AM
Changing refresh rate in Control Center? General Mandriva 3 10-18-2005 04:00 AM
Outgoing data rate limited per connection: how to fix? chrismear Linux - Networking 2 12-24-2004 06:51 PM
Fedora & Postfix & SpamAssassin bigdogg Linux - Software 20 09-16-2004 03:08 PM
Postfix & MySQL & POP3 on Redhat.. hct224 Linux - Newbie 0 05-20-2004 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration