Autor: Andrew Johnson Data: A: 'Balzi Andrea' CC: exim-users Assumpte: RE: [exim] too many connections problem [unsolved]
My suggestion (as you are only receiving 20 messages per minute) would be
the following
# Set the maximum number of connections you are willing to accept
smtp_accept_max = 200
# Set the maximum number of connections you are willing to accept per single
host
smtp_accept_max_per_host = 100
# Set the number of messages allowed per connection before queue
smtp_accept_queue_per_connection = 75
It is the smtp_accept_queue_per_connection that normally limits you to 10
messages in one connection. Without a full spec of your server, it is
difficult to suggest what the maximums should be as I do not know how fast
your server is / memory / disk etc.
Look under "Resource control" in the spec.pdf
-Andy-
> After changes I recive the follow message in to log: no immediate
> delivery: more than 10 messages received in one connection
>
> through eximstats I see that during the day I have of the
> peaks of approximately 1200 mails/hour.
>
> I've setup in to configuration file the follow value:
>
> smtp_accept_max_per_host = 2048
> smtp_accept_max = 5120
>
> I've add the follow and at this moment solved it.
> smtp_accept_queue = 2048
>
> Which are the values that I must set up in order to make to
> go in way express the mail on my mail-relay?
>
> Andrea Balzi
>
>
>