erro too many smtp processes

billmoore

Verified User
Joined
Mar 15, 2004
Messages
18
Location
chicago
seems when ever I or my users try to send, we get the error that the server cannot send the email due to too many smtp processes running concurently.

is there a way to increase the max number of processes it can do ? or how can I fix this.

Bill
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,962
Hello,

You should be able to add something like:

smtp_accept_max = 10000

to the top section of the /etc/exim.conf

John
 

billmoore

Verified User
Joined
Mar 15, 2004
Messages
18
Location
chicago
I did that, server locked up repeatedly. took line out and now it will not allow email clients to log in to recieve email.

it is saying connection refused

Now what ?

Bill
 

billmoore

Verified User
Joined
Mar 15, 2004
Messages
18
Location
chicago
is this max connections per second ? per hour ? any idea. I have it set to 600 and it still gets the error.
 

billmoore

Verified User
Joined
Mar 15, 2004
Messages
18
Location
chicago
I set the max_smtp_accept to 80 and the server continued to use all free memory and load the machine well over 250%

So as a test I used my firewall and blocked port 25. and then rebooted.

the cpu useage went to about 5% instead of the 260% it was running.

I then went in and set the default for the catchall accounts on the email servers to ignore if a user does not exist and then reenabled the port 25.

cpu is working at about 6% - 9% and all is going well. I think it was responding to the catchalls and resending like crazy, interesting now, free memory is now 870 meg instead of 3.5 meg

so exim was causing the problem.. but not like I would have expected. is there any way to set the default when a domain is created for the catchall to be set to drop unless otherwise set by the end user ?

Thanks for all the help.

Bill
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,962
Yes, you could create:

/usr/local/directadmin/scripts/cusom/domain_create_post.sh

Code:
#!/bin/sh

perl -pi -e "s/\*: :fail:/\*: :blackhole:/" /etc/virtual/${domain}/aliases
John
 
Top