How do I increase sendmail's listen() backlog from 10 to 100?

Solution Unverified - Updated -

Issue

  • Sendmail sometimes fails to send emails getting the following errors:
Jan 27 06:00:06 mailsrv kernel: possible SYN flooding on port 25. Sending cookies.
Jan 31 06:00:05 mailsrv kernel: possible SYN flooding on port 25. Sending cookies.
Feb  1 06:00:05 mailsrv kernel: possible SYN flooding on port 25. Sending cookies.
Feb  3 06:00:04 mailsrv kernel: possible SYN flooding on port 25. Sending cookies.
Feb  4 06:00:05 mailsrv kernel: possible SYN flooding on port 25. Sending cookies.
  • According to the existing KCS doc#30453, we should Increase the application's listen() backlog from a smaller value, to the new maximum value.

  • How do I increase sendmail's listen() backlog from 10 (default) to 100?

Environment

  • sendmail-8.14.4-8.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content