Alexey V Paramonov wrote: > Hi, > I'm looking for a good solution to make my postfix server operate faster. > My setup is Postfix + Policyd-weight + fail2ban, but nothing helps under > heavy load, and the problem is not with the server performance (CPU load > is not so high, about 30%), the problem is in the number of > smtp connections to port 25 - it's about 400-600 and "normal" users just > can't get through and connect to the server to send their mail (they get > "server timeout"). > Policyd-weight filteres such connections, but it doesn't drop them - > seems like it holds them open for some time and gives penality for each > mail send attempt, closing them only after N retries. > Is it possible to drop such too fast reconnections from same IPs using > Postfix or maybe iptables? > Or, maybe there is another way? >
Why dont you just use port 587 for submission? -- David Schraeder Russell Regional Hospital Direct Dial: 785-483-0890 Direct Fax: 785-483-0891 dav...@russellhospital.org ************************************************************************************** Electronic Mail Confidentiality Notice: This electronic mail message and all attachments may contain confidential information belonging to the sender or the intended recipient(s). This information is intended ONLY for the use of the individual or entity named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution (electronic or otherwise), forwarding or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this electronic transmission in error, please immediately notify the sender by telephone, facsimile, or email to arrange for the return of the electronic mail, attachments, or documents and delete all materials from any and all computers. Russell Regional Hospital 200 South Main Street Tele. 785-483-3131 Russell, KS 67665 Fax 785-483-4859 **************************************************************************************