Date: Tue, 15 Feb 2000 12:26:53 -0800 (PST) From: wellsian <wellsian@caffeine.com> To: Victor M <vit@gus.orgus.ru> Cc: questions@FreeBSD.ORG Subject: Re: sendmail Message-ID: <Pine.BSF.4.21.0002151155200.21194-100000@boris.netgate.net> In-Reply-To: <Pine.BSF.3.96.1000215210832.25715A-100000@gus.orgus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This probably exists somewhere, perhaps with inetd or such, but I don't
know of an option to limit sendmail connections by host. (I think qmail
and postix have this option.) Still, there are global limits which should
help. Try the ConnectionRateThrottle option.
your mc file:
define('confCONNECTION_RATE_THROTTLE', num)
or...
straight into your cf file:
O ConnectionRateThrottle=num
num==The maximum number of connections/second you want to allow. Zero (or
not setting the option at all) means no limit. Hopefully 1/second is
granular enough for your connection.
There's also a MaxDaemonChildren option but it makes sendmail DOS attacks
easy. I'm assuming you're behind a modem or something so in your case
setting both is probably okay though I haven't tried it and have read lots
of warnings. The sendmail book doesn't like it either.
I recommend the sendmail (bat) book if you find yourself doing much with
sendmail. isbn 1-56592-222-0
Dave
On Tue, 15 Feb 2000, Victor M wrote:
> Hi!
>
> My channel to the Internet is often heavily overloaded.
> When I was researching the cause of it I noticed that my SMTP server
> gets a lot of incoming mail.
>
> I want to know is there any way to limit the number of SIMULTANEOUS
> connections from ONE remote mail server to my sendmail version 8.9.3.
>
> Thank You.
>
> Victor.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002151155200.21194-100000>
