Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Email Servers > Sendmail support > how to limit sendmail outside connect rate




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    how to limit sendmail outside connect rate  
acupofespresso@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-14-07 12:45 PM

It's very simple to config  incoming connect rate  by
confCONNECTION_RATE_THROTTLE  and confMAX_DAEMON_CHILDREN .

But when sendmail delivery mails to the other mail host,
how to limit max connect num per host( or domain).

Is there a good and simple solution?





[ Post a follow-up to this message ]



    Re: how to limit sendmail outside connect rate  
Andrzej Adam Filip


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-14-07 06:34 PM

acupofespresso@gmail.com writes:

> It's very simple to config  incoming connect rate  by
> confCONNECTION_RATE_THROTTLE  and confMAX_DAEMON_CHILDREN .
>
> But when sendmail delivery mails to the other mail host,
> how to limit max connect num per host( or domain).
>
> Is there a good and simple solution?

Could you describe "the real life problem" you face?

AFAIK what you want is not supported directly but sendmail is a flexible
program so most likely the problem may be fixed another way.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/





[ Post a follow-up to this message ]



    Re: how to limit sendmail outside connect rate  
acupofespresso@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-17-07 06:33 PM

On 12=D4=C214=C8=D5, =CF=C2=CE=E75=CA=B107=B7=D6, acupofespre...@gmail.com w
=
rote:
> It's very simple to config  incomingconnectrate by
> confCONNECTION_RATE_THROTTLE  and confMAX_DAEMON_CHILDREN .
>
> But whensendmaildelivery mails to the other mail host,
> how tolimitmaxconnectnum per host( or domain).
>
> Is there a good and simple solution?

Maybe I can use a firewall rules to fix it.

I'll try............





[ Post a follow-up to this message ]



    Re: how to limit sendmail outside connect rate  
Hugo Villeneuve


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-07 06:50 AM

Andrzej Adam Filip <anfi@onet.eu> wrote:

> acupofespresso@gmail.com writes:
> 
>
> Could you describe "the real life problem" you face?
>
> AFAIK what you want is not supported directly but sendmail is a flexible
> program so most likely the problem may be fixed another way.

I was under the impression he was asking about :

define(`confHOST_STATUS_DIRECTORY',`.hoststat')dnl
 define(`confSINGLE_THREAD_DELIVERY',`tru
e')dnl

But that's 1 outgoing connection per destination host and sometime I
would have liked if it was settable to 2 or 3.

Although when I use single thread delivery, I also reduce the queue
runner spawn time (-q3m) or even use "define(`confDELIVERY_MODE',`q')".







[ Post a follow-up to this message ]



    Re: how to limit sendmail outside connect rate  
Andrzej Adam Filip


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-07 12:40 PM

hugo@EINTR.net (Hugo Villeneuve) writes:

> Andrzej Adam Filip <anfi@onet.eu> wrote:
> 
>
> I was under the impression he was asking about :
>
> define(`confHOST_STATUS_DIRECTORY',`.hoststat')dnl
>  define(`confSINGLE_THREAD_DELIVERY',`tru
e')dnl
>
> But that's 1 outgoing connection per destination host and sometime I
> would have liked if it was settable to 2 or 3.
>
> Although when I use single thread delivery, I also reduce the queue
> runner spawn time (-q3m) or even use "define(`confDELIVERY_MODE',`q')".

Have you tried to use separate queue group?
[ set number of queue runners per queue groups ]

The group may be associated with custom mailer so
* simple single mailertable entry will select it
* the mailer may be configured as "expensive"
(no "at once" delivery attempt)
* You may use persistent queue runner

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register