Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Viewing Sendmails current configuration

  • 27-07-2009 02:53PM
    #1
    Registered Users, Registered Users 2, Paid Member Posts: 2,427 ✭✭✭


    Question: is there a command for sendmail which allows me to see the active configuration ( as you can in postfix) or from where it's getting the config files/macros currently loaded?

    Background:
    I've got a linux sendmail box here running on appallingly cheap hardware, (256MB ram, celeron CPU, single IDE HDD, microATX form factor sold as a mail server).

    Now, it's on its way to the bin but I've to keep it running in the meantime.

    At irregular times, the fsecure antivirus or anti spam milter will eat up the memory and cause the load average to climb (due to HDD IO). It doesn't need to get too high before sendmail will reject incoming connections with the message
    rejecting connections on daemon MTA: load average:8
    

    I've tried to adjust this upwards by editing the sendmail.mc file, and changing to
    define('confREFUSE_LA','60')
    

    to give more time between sendmail chokes but after restarting the service, it still continues to reject mail at a low threshold.


Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 2,427 ✭✭✭ressem


    Never mind, I needed to use m4 to build the sendmail.mc script into the sendmail.cf file.


Advertisement