Le vendredi 04 février 2011 à 14:16 -0500, Victor Duchovni a écrit :
> On Fri, Feb 04, 2011 at 12:52:05PM +0100, David Touzeau wrote:
> 
> > Is it supported to set parameters in command line directly in master cf
> > eg ?
> 
> No.
> 
> > 
> > slowsmtp unix -     -     n     -     -     smtp
> 
> The above goes in master.cf with no "-o ..." options.
> 
> > transport_destination_concurrency_failed_cohort_limit=1
> > transport_delivery_slot_loan=2 -o transport_delivery_slot_discount=10 -o
> > transport_delivery_slot_cost=2 ....
> 
> No. In main.cf you put (say):
> 
>     slowsmtp_destination_concurrency_failed_cohort_limit=1
> 
> AND DO NOT ATTEMPT TO TUNE the below variables. Leave the defaults in
> place.
> 
>     > slowsmtp_delivery_slot_loan=2
>     > slowsmtp_delivery_slot_discount=10
>     > slowsmtp_delivery_slot_cost=2 ....
> 
> The queue-manager algorithm for scheduling messages with few recipients
> that arrive after messages with a large number of recipients can only
> be understood by Hungarian logicians. :-) Everyone else marvels at the
> clever design and does not tinker.
> 

Sorry but this was just an example, i put these parameters only to
understand if it possible or not ...

You means that tuning smtp instance is not possible trough " -o"
commandline ?

SO this kind of settings is not correct ??

#
==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
#
==========================================================================
smtp    inet    n       -       n       -       -       smtpd

slowsmtp        unix    -       -       n       -       -       smtp
 -o default_destination_concurrency_failed_cohort_limit=1
 -o default_delivery_slot_loan=3
 -o default_delivery_slot_discount=50
 -o default_delivery_slot_cost=5
 -o default_initial_destination_concurrency=5
 -o default_destination_recipient_limit=50
 -o default_destination_concurrency_limit=20
 -o default_destination_rate_delay=5s

slowsmtp2       unix    -       -       n       -       -       smtp
 -o default_destination_concurrency_failed_cohort_limit=1
 -o default_delivery_slot_loan=3
 -o default_delivery_slot_discount=50
 -o default_delivery_slot_cost=5
 -o default_initial_destination_concurrency=5
 -o default_destination_recipient_limit=50
 -o default_destination_concurrency_limit=20
 -o default_destination_rate_delay=0s




Reply via email to