[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

strange sendmail question

Posted on 2011-05-04
1
Medium Priority
?
326 Views
Last Modified: 2013-12-17
I have run a sendmail server for 10 years now and however I try I can't seem to completely remove the feature where it starts rejesting connections on a certain load average.

I actually want to set these values super high or even remove them.

I say a strange question because it sounds obvious but strangely is never seems to be obvious!

jc
0
Comment
Question by:jonathanrcarter
1 Comment
 
LVL 29

Accepted Solution

by:
Jan Springer earned 1000 total points
ID: 35692365
Backup your sendmail.cf and sendmail.mc files.

In /etc/mail/sendmail.mc you will see these lines:

define(`confQUEUE_LA', `20')dnl
define(`confREFUSE_LA', `40')dnl

with possibly different numbers.  Insert 'dnl' at the beginning of the line so that it looks like this:

dnl define(`confQUEUE_LA', `20')dnl
dnl define(`confREFUSE_LA', `40')dnl

Save your changes and run:

make -C /etc/mail

ps awx|grep sendmail | grep accept
  (get the PID)

kill -HUP <pid>
  (substituting <pid> with the actual number)

A typical Redhat based server (RHEL CentOS, Fedora) will use instead of kill -HUP:
  service sendmail reload
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question