LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting up Sendmail to use SASL and TLS (https://www.linuxquestions.org/questions/linux-software-2/setting-up-sendmail-to-use-sasl-and-tls-426914/)

rizhun 03-21-2006 08:48 AM

Setting up Sendmail to use SASL and TLS
 
Hi,

I've been having some serious problems with sendmail.mc.
First of all could someone explain to me what dnl is?

If something in the sendmail.mc is written:
dnl # setting()dnl
I presume that's commented out.
So what if it doesn't have the #?

Some settings have only dnl at the beginning, some at the end and some not at all - and this is from the default sendmail.mc!!

If I can get my head around this, I can hopefully have a crack at setting it up propperly.

Also, I can't find anything listening on port 25 from 'netstat'.
Could anyone tell me why thats happening?

I've just seen that a ps -ef shows the following:
Code:

[root][/var/spool/mqueue]$ps -ef | grep sendmail
root    16764    1  0 15:19 ?        00:00:00 sendmail: rejecting connections on daemon MTA: load average: 17
smmsp    16772    1  0 15:19 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root    16875 15110  0 15:20 pts/5    00:00:00 grep sendmail

Could that be the reason for the lack of a listener on port25?

gilead 03-22-2006 04:53 AM

dnl stands for delete to new line - it's the comment symbol for mc files. It means that m4 should ignore everything from the dnl to the end of the line. From memory, if you use the '#' symbol and have keywords in the comment, it can still get expanded.

And yes, having a load average of 17 will definitely stop mail delivery. I've seen my system stop at around 12 - did you have any problems running ps to even see that message?

rizhun 03-22-2006 07:30 AM

No, everything runs fine.
What is load average? I presume 17 is high?

gilead 03-22-2006 01:35 PM

It's a guide to how hard your computer is working and is calculated as a function of processes waiting for the CPU. There's a more technical discussion of this at http://www.teamquest.com/resources/g...ay/5/index.htm, but if you want to watch it happening on your system try running the 'top' and 'uptime' commands.


All times are GMT -5. The time now is 04:34 AM.