LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2006, 08:48 AM   #1
rizhun
Member
 
Registered: Jun 2005
Location: England
Distribution: Ubuntu, SLES, AIX
Posts: 268

Rep: Reputation: 47
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?

Last edited by rizhun; 03-21-2006 at 09:10 AM.
 
Old 03-22-2006, 04:53 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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?
 
Old 03-22-2006, 07:30 AM   #3
rizhun
Member
 
Registered: Jun 2005
Location: England
Distribution: Ubuntu, SLES, AIX
Posts: 268

Original Poster
Rep: Reputation: 47
No, everything runs fine.
What is load average? I presume 17 is high?
 
Old 03-22-2006, 01:35 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building Postfix with SASL + TLS mcd Linux - Networking 0 10-08-2005 09:43 PM
Sendmail (with TLS) relay denied freealx Linux - General 1 03-12-2005 04:10 PM
Sendmail TLS relay freealx Linux - Networking 1 03-12-2005 04:09 PM
question about sasl for sendmail lzyking Linux - Software 1 12-04-2002 06:28 PM
pam_ldap with tls and sasl hardigunawan Linux - Networking 3 05-21-2002 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration