Josh M. Hurd scribbled something like:

> Hello,
> 
> I have taken over management of a server running courier mail services.
> 
> Today for the first time users were complaining that sending mail was
> either really slow or timing out entirely.
> 
> Not knowing much about courier I started trudging through logs and
> config files.
> 
> I found that MAXDAEMONS was set at 40 and that limit was being
> reached in 1-2 seconds after courieresmtpd was restarted.
> We do receive a lot of spam, I counted about 12000 connection
> attempts in about 8 hours to the esmtp server.
> 
> I increased the MAXDAEMONS to 128, which helped a bit.  Then later to
> 256 which seems to have helped a bit more.
> I am still reaching the max connection limit and maintaining it
> within 20 or so all day.
> 
> I am not seeing a large number of errors in the log besides user
> unknown (spam)
> 
> Is setting MAXDAEMONS this high normal?  It seems a little extreme to
> me.
> 
> Am I just putting a band-aid on a bigger issue?
> Does anyone have any ideas of where I should look?

I'd like to note I have noticed this as well. When using our server to "send
mail" from my home machine (with Entourage), Entourage sits a long long
while before it finally connects and sends the mail through in a blink.

While doing a "tail -f /var/log/maillog", nothing is really going on during
that long span of like 15-20 seconds before my mail client connects and
sends the email through... Other than five or six failed relay attempts. So
I always figured my email client was just getting lost in in the ether route
to the server.

Because of this slow response, I have simply set all my mailboxes to use my
ISP's smtp server for outgoing email as it is instant when I hit "Send Mail
Now". Wish ours was that fast, and maybe what Josh wrote, is also the
problem I am seeing with our courier setup?

I have not experimented with raising the MAXDAEMONS , because to me, 40
SHOULD be enough. Yes, we as well see a lot of relay denied, and invalid
user notices due to spammer attempts.



-Randall Shaw



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to