LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-16-2006, 11:31 AM   #1
xygoteneph
Member
 
Registered: May 2006
Location: Mukilteo, WA
Distribution: Slackware personally & for all servers/Customized Fedora Core for clients/customers desktops
Posts: 30

Rep: Reputation: 15
Sendmail Upgrading - Must you upgrade sendmail.cf too??


I have used and admined slackware for almost 10 years, but
I'm no sendmail expert. I have configured it's config file, sendmail.cf, both directly edting it, and by creating my own custom sendmail.mc files, and compiling them with m4, enabling me to have the sendmail-milter filter out both spam and viruses, etc, using spamassassasin and clamav on my main email server, which hosts email for a little over 300 users.

My question to anybody who might be a sendmail experet is this:

Do I have to upgrade the sendmail.cf package whenever I upgrade the base sendmail package when there is a security upgrade available?

I always upgrade critical packages when security updates are announced, and was just wondering if I really should upgrade the .cf package at the same time. I don' belive there should be any reason, but again, I'm no sendmail expert! I have found in past upgrades that even upgrading the .cf package doesn't seem to touch my actual /etc/mail/sendmail.cf file, with my custom settings.

Any and all thoughts, suggestions, comments, etc., are appreciated!

Thanks in advance.

Jamie
JR-Computers
jamie@jr-computers.com

Last edited by xygoteneph; 06-16-2006 at 11:32 AM.
 
Old 06-16-2006, 11:57 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
As to why your original config files aren't affected, it's because the new ones are installed with a .new extension. So they'll be a sendmail.cf and a sendmail.cf.new in /etc/mail. The same happens with ssh upgrades. I presume you have to edit the .new files yourself and then remove the .new part.
 
Old 06-17-2006, 12:21 PM   #3
xygoteneph
Member
 
Registered: May 2006
Location: Mukilteo, WA
Distribution: Slackware personally & for all servers/Customized Fedora Core for clients/customers desktops
Posts: 30

Original Poster
Rep: Reputation: 15
But do I HAVE to upgrade the sendmail.cf package as well???

Thanks for your reply simcox1. Though nice to know why my custom config file doesn't get touched, that's not my question.

I'd like to know if anybody has any good reason as to why I would or should have to upgrade the sendmail-cf package when upgrading to a new base sendmail pachage when a security upgrade becomes available?

Is there any need or reason, be it security, compatablitity, or whatever??? Would it be best to upgrade that package, and re-generate my custom .cf file?

I am not sure, but I would think as long as the version remains in the current 8.13 series of sendmail, I wouldn't think the config would change at all. But, I am no sendmail expert...

So, does anybody know?????

Thanks again for any replies, opinions, comments, etc...

Last edited by xygoteneph; 06-17-2006 at 12:57 PM.
 
Old 06-17-2006, 01:40 PM   #4
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
Although I'm not a sendmail expert either, I think I can answer your question regarding new config files in general.

I believe you've already touched on the answer yourself: compatibility.

New versions of software might offer new options which must be configured. They might also retire old options. Old, invalid options may prevent the program from starting. Thy can also cause stability or unexpected behavior if the new version does not handle old options the same. So it's a good idea to keep the config file up-to-date with the software you're running.

If you run -current, you might notice that upgrading packages places new config files in /etc.

Code:
find /etc -iname '*.new'
If you're very curious, you might check what is changing in the config file before replacing your current one with the new one.

Code:
diff /etc/example.conf /etc/example.conf.new
mv /etc/example.conf.new /etc/example.conf
Garry
 
  


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
upgrading mail server from fc2/sendmail to ..... ? nukeu666 Linux - Software 1 09-18-2005 03:50 PM
Upgrading to sendmail 8.12.11 kevinm2 Linux - Software 5 06-09-2005 08:06 PM
sendmail upgrade 8.13.4 seeker01 Red Hat 0 05-25-2005 12:13 AM
Upgrading Sendmail 8.11.2 to 8.13.1 kaplan71 Linux - General 0 09-08-2004 09:08 AM
how to upgrade sendmail gigi Linux - Software 2 12-11-2003 07:13 PM

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

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