LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-20-2012, 10:02 AM   #1
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
How can I remove postfix without removing cronie?


Every desktop distro I've installed has had either sendmail or postfix as part of it's base install.

But sendmail, in particular, is a pain. It always delays startup while it protests that I don't have a domain. I don't want a domain! I don't need a domain. When I send email, Thunderbird or mutt or mailx sends it to my ISP. My ISP has a domain. The PCs on my house network don't have any domain.

I've often thought I could just remove it. So when I recently installed CentOS (in a virtual machine), I immediately tried to remove postfix. But yum said it was going to remove cronie too. (Cronie is the version of cron that the the RedHat world uses.) But I need cron.

Why can't I remove postfix without removing cron?
 
Old 10-20-2012, 10:56 AM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by KenJackson View Post
Every desktop distro I've installed has had either sendmail or postfix as part of it's base install.

But sendmail, in particular, is a pain. It always delays startup while it protests that I don't have a domain. I don't want a domain! I don't need a domain. When I send email, Thunderbird or mutt or mailx sends it to my ISP. My ISP has a domain. The PCs on my house network don't have any domain.

I've often thought I could just remove it. So when I recently installed CentOS (in a virtual machine), I immediately tried to remove postfix. But yum said it was going to remove cronie too. (Cronie is the version of cron that the the RedHat world uses.) But I need cron.

Why can't I remove postfix without removing cron?
you can! they just don't want you to b/c cron tries to send emails, i think.

anyway, to force the removal:
Code:
rpm -e postfix --nodeps
 
Old 10-22-2012, 11:13 AM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
I assume the dependency is there as cron might send an email too. It can only contact a local service and postfix will forward the mail (it’s like sending an email from the command line).
 
  


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
[SOLVED] cronie - something has changed ezekieldas Linux - Newbie 1 06-02-2011 05:24 PM
[SOLVED] how can i remove a package that is a dependency without removing anything else gujedan Debian 4 03-20-2011 05:55 AM
Remove dependencies when removing a package kushalkoolwal Debian 6 06-28-2007 02:53 PM
Removing some packages will remove Xubuntu choey2k5 Ubuntu 2 09-12-2006 06:18 AM
Can I remove a program without removing other packages? rykel Linux - Software 0 05-09-2004 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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