LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2011, 02:14 AM   #1
RPN
LQ Newbie
 
Registered: Aug 2005
Distribution: Slackware
Posts: 18

Rep: Reputation: 5
Options Dropped in Sendmail 8.14.4 ???


I recently tried to upgrade my Slackware server's sendmail software from 8.14.3 to 8.14.4 and ran into a problem. In a nutshell all outbound non local mail is routed through a smart host requiring authentication. As a result I use a modified version of the "sendmail-slackware-tls-sasl-clamav.mc" to build the “sendmail.cf”. However, when I tried to run sendmail 8.14.4 with my newly created sendmail.cf I was greeted with the following.


Warning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: AuthOptions requires SASL support (-DSASL)
Warning: Option: CACertPath requires TLS support
Warning: Option: CACertFile requires TLS support
Warning: Option: ServerCertFile requires TLS support
Warning: Option: ServerKeyFile requires TLS support
Warning: Option: ClientCertFile requires TLS support
Warning: Option: ClientKeyFile requires TLS support


After some head scratching, I finally ran “sendmail -d0.1 -bv root” which resulted in the following

sendmail -d0.1 -bv root
Version 8.14.4
Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SCANF USERDB XDEBUG


There is no mention that SASLv2 or STARTTLS is available.

I then found a backup copy of 8.14.3 and checked that in the same way.

sendmail -d0.1 -bv root
Version 8.14.3
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF
SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG


Both SASLv2 and STARTTLS are there.

It appears a lot of options are no longer available in the precompiled sendmail for 13.1. Is there a reason for this?


I also came across of what I think is another problem. In addition to the SASL and STARTLSS warnings, I received an error message with 8.14.4 when starting sendmail as follows.

554 5.0.0 /etc/mail/sendmail.cf: line 167: readcf: unknown option name CipherList

I traced it to the following line in the all the TLS .mc files.

dnl# Do not allow the weak SSLv2:
O CipherList=ALL:!ADH:!NULL:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:-LOW:+SSLv3:+TLSv1:-SSLv2:+EXP:+eNULL

Apparently SSLv2 is now considered weak and the directive is a good idea, but at present this directive is not supported by the sendmail in this package. Will it be supported at some point?
 
Old 04-25-2011, 06:01 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I am running Slackware 13.1 here (64-bit) using this package: sendmail-8.14.4-x86_64-1

My sendmail reports the following :
Code:
# sendmail -d0.1 -bv root
Version 8.14.4
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
    NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2
    SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG
Eric
 
Old 04-25-2011, 08:03 AM   #3
RPN
LQ Newbie
 
Registered: Aug 2005
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by Alien Bob View Post
I am running Slackware 13.1 here (64-bit) using this package: sendmail-8.14.4-x86_64-1

My sendmail reports the following :
Code:
# sendmail -d0.1 -bv root
Version 8.14.4
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
    NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2
    SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG
Eric
I was using the 32-bit package but I guess it would have helped if I referenced the actual package. It was sendmail-8.14.4-i486-1.txz
Perhaps it is as simple as my downloading the wrong package and the right one will cure the problem. I can always hope.
 
Old 04-25-2011, 08:21 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I started a 32-bit Slackware 13.1 virtual machine to test what sendmail reports in a clean install:
Code:
root@virtslack-131:~# sendmail -d0.1 -v -bv root
Version 8.14.4
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2
                SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG
So it must be the package you have installed which is at fault. Obviously it is not coming from an official Slackware 13.1 tree, or some dependencies are not being met.
Are you perhaps running Slackware 13.0 with a Slackware 13.1 package for sendmail installed on top of it?

Eric
 
Old 04-25-2011, 11:59 AM   #5
RPN
LQ Newbie
 
Registered: Aug 2005
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 5
I guess we can chalk this one up to my not having a glass stomach. Normally I do a complete rebuild one a year but I am probably about 14 months into the last fresh install and was having a problem with the way sendmail was interacting with Outlook and large emails. Since I didn’t feel I wanted to tackle a full rebuild just yet I decided to see if an upgrade in sendmail would help the problem. When I went to the Slackware tree I found sendmail-8.14.4-i486-1.txz easily enough but did not recognize the .txz extension so decided I would see what was available at sendmail.org. I did find a .tgz file there so I installed that but since that did not work quite the way I expected I decided to learn more about .txz files. I found the syntax “tar Jxvf” and used that on the Slackware version and it worked fine. It was at this point that I needed the glass stomach. I didn’t notice that it had saved the sendmail to /usr/sbin as sendmail.new so I was still struggling with the sendmail from the previous install. When you suggested I might be using the wrong package I looked into it further and found the problem. Once I renamed sendmail.new to sendmail everything worked as it should. Thanks for taking the time to straighten me out.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Sendmail security options bozzo99 Linux - Security 1 12-01-2010 10:28 AM
Changing sendmail options mijohnst Linux - General 0 11-15-2006 10:31 AM
With what options is Sendmail compiled in Slack 10? gargamel Slackware 2 07-21-2004 04:38 PM
How can I use the Mail command with Sendmail Options Kalar Linux - Newbie 1 07-16-2004 10:35 PM
Sendmail Options skidmarc Linux - Software 0 10-16-2003 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:20 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