LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-12-2020, 09:25 AM   #1
bitfuzzy
Member
 
Registered: Nov 2003
Posts: 259

Rep: Reputation: 51
Question Slackware Current - Sendmail - Moving forward


Simple question (I'm hoping)

Please note I'm not interested in getting into a Sendmail vs Postfix debate

I notice that Sendmail has been replaced by Postfix in the installation with Sendmail being placed into Extra

Does this mean that Sendmail will (now or at some point down the line) not be updated?

If it will be updated, how would that work since It's not part of the normal installation?
 
Old 02-12-2020, 01:27 PM   #2
chemfire
Member
 
Registered: Sep 2012
Posts: 283

Rep: Reputation: Disabled
/extra is not /pasture - It should get updated for sometime. Realize though Sendmail being no-longer the default MTA means the community of Sendmail on Slackware users will likely get increasingly lonely. At some point in a future release probably after 15.x but only Pat can say my guess it will shuffle off to /pasture after which time I would only expect security updates.

I am going to start investigating moving my stuff over to postfix personally. I am not doing anything complicated at all but haven't have used postfix before myself.
 
Old 02-12-2020, 02:55 PM   #3
talo
Member
 
Registered: May 2015
Location: near Amsterdam
Distribution: slackware-14.2 + currrent
Posts: 34

Rep: Reputation: Disabled
Please note, there is an update of sendmail. It includes TLSA (over port 25) + DANE, plus all variants.
It does perform quite well for nearly a year. You have to use the openssl setup from current under 14.2.
It is version 8.16.0.41. I was advised by Claus Assmann of sendmail.org.
The packages are on http://talo.nl/talo/download/slackwa...8.16.0.41-dane
the ready to use packages are in http://talo.nl/talo/download/slackware/14.2/
The sources can be build under current too and do 100% fit.
 
Old 02-12-2020, 06:46 PM   #4
bitfuzzy
Member
 
Registered: Nov 2003
Posts: 259

Original Poster
Rep: Reputation: 51
@chemfire,

That's what I'm thinking will happen, just looking for some sort of verification (one way or another).

@talo,

I'll keep that in mind, thank you
 
Old 02-15-2020, 07:44 PM   #5
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-current / slarm64-current
Posts: 424

Rep: Reputation: 193Reputation: 193
Quote:
Originally Posted by bitfuzzy View Post
Simple question (I'm hoping)
how would that work since It's not part of the normal installation?
if you use slackpkg to maintain your system's packages, you could blacklist sendmail in /etc/slackpkg/blacklist, so that slackpkg doesn't erase your manually installed sendmail

and then manually install sendmail by downloading or syncing the extra/sendmail folder; inside is the sendmail slackware package which could be installed with
Code:
upgradepkg --install-new sendmail-*.t?z
 
1 members found this post helpful.
Old 02-16-2020, 02:37 AM   #6
talo
Member
 
Registered: May 2015
Location: near Amsterdam
Distribution: slackware-14.2 + currrent
Posts: 34

Rep: Reputation: Disabled
Hi slac-in-the-box,

You have to remove postfix first (the default smtp), do:

removepkg postfix

see also man removepkg.

Thereafter, maybe a restart (with out postfix loaded),
and do install the sendmail version from extra on the DVD image:

installpkg sendmail-8.15.2-x86_64-3.txz

thereafter you have a rc.sendmail in /etc/rc.d (make it runnable) and all sections, e.g., /etc/mail/ and sendmail in /usr/share

Build your own sendmail-slackware.mc version in /usr/share/sendmail/cf/cf
Once it works properly you can update to the TLSA/DANE version from the earlier specified location.
BUT first build it on current !!!!!
The package sources are in the map sendmail-8.16.0.41-dane.
Do:
./SlackBuild-sendmail

You will get in /tmp

sendmail-8.16.0.41-x86_64-1.txz
and
sendmail-cf-8.16.0.41-noarch-1.txz

install both txz's with

upgradepkg sendmail-8.16.0.41*.txz

talo
 
Old 02-16-2020, 08:21 AM   #7
bitfuzzy
Member
 
Registered: Nov 2003
Posts: 259

Original Poster
Rep: Reputation: 51
@slac-in-the-box

I'm not so much concerned with "how to update" sendmail

Since "Current" installs now with Postfix (with Sendmail being moved to /extra), I was curious as to if Sendmail would be included with normal updates (security and otherwise)

I've been working with Sendmail for close to two decades, I've looked at Postfix but could never make heads or tails out of it

When Current moves to 15.0(?) I plan on upgrading our 14.1 server and workstations

Since I'm planning on removing Postfix and installing Sendmail I'd like to know if I can plan on receiving updates or If I'd have to update on my own

In theory, updates should be received but getting confirmation beforehand is always nice
 
Old 07-28-2020, 10:22 AM   #8
John Lumby
Member
 
Registered: Oct 2008
Posts: 35

Rep: Reputation: 19
I am another long-time sendmail user on slackware64.
I've just upgraded my slackware64-14.2 to slackware64-current and became very confused about the status of sendmail.

After my (successful) upgrade,
Quote:
slackpkg info sendmail
reported
Quote:
PACKAGE NAME: sendmail-8.16.1-x86_64-2.txz
PACKAGE LOCATION: ./extra/sendmail
PACKAGE SIZE (compressed): 1036 K
PACKAGE SIZE (uncompressed): 3820 K
PACKAGE DESCRIPTION:
sendmail: sendmail (mail transfer agent)
I thought that telling me this implied that sendmail-8.16.1 is installed on my system, i.e. that the command sendmail would run the genuine sendmail from that package.
But as others have described here, that was not the case.
sendmail-8.16.1 was not installed and the sendmail command was postfix in disguise.

I was able to wget the extra/sendmail and slackpkg install-new it as described above and that was fine,
but my question is -
is there any command in slackware which will tell me whether a particular package is installed (not just known to exist somewhere on some mirror)?
 
Old 07-28-2020, 10:26 AM   #9
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 596

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Quote:
Originally Posted by John Lumby View Post
any command in slackware which will tell me whether a particular package is installed?
Code:
slackpkg search sendmail 

Looking for sendmail in package list. Please wait... DONE

The list below shows all packages with name matching "sendmail".

[uninstalled] - sendmail-8.16.1-x86_64-2
[uninstalled] - sendmail-cf-8.16.1-noarch-2

You can search specific files using "slackpkg file-search file".
 
1 members found this post helpful.
Old 07-28-2020, 11:23 AM   #10
John Lumby
Member
 
Registered: Oct 2008
Posts: 35

Rep: Reputation: 19
Quote:
Originally Posted by Petri Kaukasoina View Post
Code:
slackpkg search sendmail
Hah! Thanks but - on my system now, with sendmail installed from extra :


Quote:
slackpkg search sendmail

Looking for sendmail in package list. Please wait... DONE

No package name matches the pattern.
I guess slackpkg doesn't tell me, and the answer may be to go look in /var/lib/pkgtools/packages ?


Cheers, John

P.S. ... and ...
Quote:
which sendmail
/usr/sbin/sendmail
/root:0 slackpkg file-search /usr/sbin/sendmail

Looking for /usr/sbin/sendmail in package list. Please wait... DONE

No packages contains "/usr/sbin/sendmail" file.

Last edited by John Lumby; 07-28-2020 at 11:36 AM.
 
Old 07-28-2020, 12:03 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,865

Rep: Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442Reputation: 5442
Do you have anything in your blacklist? I tested this by installing sendmail on my -current htpc, and afterwards, a search still showed them (but installed).
 
1 members found this post helpful.
Old 07-28-2020, 12:03 PM   #12
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 596

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Quote:
Originally Posted by John Lumby View Post
I guess slackpkg doesn't tell me
slackpkg will not find sendmail if you put sendmail to /etc/slackpkg/blacklist.

Try
Code:
slackpkg file-search usr/sbin/sendmail
as the filenames don't have the first slash in the packages. Or
Code:
slackpkg file-search sendmail
 
1 members found this post helpful.
Old 07-28-2020, 12:25 PM   #13
John Lumby
Member
 
Registered: Oct 2008
Posts: 35

Rep: Reputation: 19
Quote:
Originally Posted by bassmadrigal View Post
Do you have anything in your blacklist?
Yes, I do - I added it just before installing it as suggested by slac-in-the-box earlier.
So I guess that is the explanation, thanks.
 
Old 07-28-2020, 12:29 PM   #14
John Lumby
Member
 
Registered: Oct 2008
Posts: 35

Rep: Reputation: 19
Quote:
Originally Posted by Petri Kaukasoina View Post
Try
Code:
slackpkg file-search usr/sbin/sendmail
Ah - ok, yes, that found it :

Quote:
slackpkg file-search usr/sbin/sendmail

Looking for usr/sbin/sendmail in package list. Please wait... DONE

The list below shows the packages that contains "usr/sbin/sendmail" file.

[uninstalled] - postfix-3.5.4-x86_64-1
[ installed ] - sendmail-8.16.1-x86_64-2
But unless I missed it, I still don't see any definitive way of querying whether or not a package is installed, regardless of whether it is from extra or main and regardless of whether blacklisted or not, and without needing to know name of any file in the package - i.e. simply is it installed.

Last edited by John Lumby; 07-28-2020 at 12:36 PM.
 
Old 07-28-2020, 01:40 PM   #15
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 596

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Quote:
Originally Posted by John Lumby View Post
Yes, I do - I added it just before installing it as suggested by slac-in-the-box earlier.
So I guess that is the explanation, thanks.
That was not a good suggestion. Now you don't see it in slackpkg. For example you miss the next security upgrade of sendmail.

But you might want to blacklist postfix, instead, so you don't accidentally install it later.

Last edited by Petri Kaukasoina; 07-28-2020 at 01:46 PM.
 
  


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
"Is It Soup Yet?", and the relevance of versioning in Slackware moving forward... tallship Slackware 24 05-30-2016 09:09 AM
.forward file script wont run after moving to centos 6.2 and sendmail 8.14 cxc718 Linux - Server 2 07-24-2012 12:12 PM
forward don't forward marco-slack Linux - Networking 2 04-06-2006 04:51 PM
I want .forward to not forward attachments nigelj12 Linux - Software 1 09-30-2004 04:13 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 07:25 AM

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

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