enable automatic stress-adaptive behavior

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

enable automatic stress-adaptive behavior

Sohin Vyacheslav
Hi,

Now my Postfix run with empty value stress= :
$ ps auxw | grep smtpd
postfix  26176  0.0  0.0  92072  4812 ?        S    09:30   0:00 smtpd
-n smtp -t inet -u -o stress= -o

To enable automatic stress-adaptive behavior with these default parameters:
smtpd_timeout = ${stress?{10}:{300}}s
smtpd_hard_error_limit = ${stress?{1}:{20}}
smtpd_junk_command_limit = ${stress?{1}:{100}}
smtpd_per_record_deadline = ${stress?{yes}:{no}}
smtpd_starttls_timeout = ${stress?{10}:{300}}s
address_verify_poll_count = ${stress?{1}:{3}}

is enough to add in master.cf
smtp      inet  n       -       n       -       100       smtpd -o
stress=yes

and then reload Postfix process?

--
Vyacheslav
Reply | Threaded
Open this post in threaded view
|

Re: enable automatic stress-adaptive behavior

Sohin Vyacheslav


25.01.2018 11:39, Sohin Vyacheslav пишет:

> is enough to add in master.cf
> smtp      inet  n       -       n       -       100       smtpd -o
> stress=yes
>
> and then reload Postfix process?
>

or automatic stress-adaptive behavior is enabled by default and no need
to add something to main.cf or master.cf?

 --
 Vyacheslav

Reply | Threaded
Open this post in threaded view
|

Re: enable automatic stress-adaptive behavior

Wietse Venema
Sohin Vyacheslav:

>
>
> 25.01.2018 11:39, Sohin Vyacheslav ?????:
>
> > is enough to add in master.cf
> > smtp      inet  n       -       n       -       100       smtpd -o
> > stress=yes
> >
> > and then reload Postfix process?
> >
>
> or automatic stress-adaptive behavior is enabled by default and no need
> to add something to main.cf or master.cf?

It is AUTOMATIC, as in, the program does the work for you.

        Wietse