LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2004, 03:06 AM   #1
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
How to uninstall Postfix


I am running Mandrake 9.2 as a server with server software like Apache and Postfix installed.

Well I no longer need Postfix because I am not running a mail server, and I would like to completely uninstall it for security sake. The less software running the less security vulnerabilities.

To safely and completely uninstall it, should I just search for "Postfix" under the software management wizard? Is there related software that I should uninstall too?

Thanks,
ian
 
Old 05-03-2004, 12:12 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The mail service is there for scripts and scheduled tasks to send their reports, so you shouldn't remove it from a server. The default configuration is nailed down so only accounts on the machine itself can send anything - it isn't a security risk.

Go into /etc/postfix/aliases and set `root' to go to your own account name or a full e-mail address. Save the changes and type 'newaliases' to activate the changes. You will then get daily reports sent to either your local mailbox or the address that you specified, as well as mail messages whenever there's a problem with a cron job.
 
Old 05-04-2004, 12:49 AM   #3
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Original Poster
Rep: Reputation: 15
wow... I didn't know that. Thanks.

However, even if Linux does have it's default mail for logs, will that stop if I uninstall the Postfix package?

Thanks again.
 
Old 05-05-2004, 04:18 PM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Yes - without postfix there is no way for msec, cron, logwatch etc. to dispatch reports.

Since postfix will reject network connections even if your firewall is open on port 25 (it isn't by default on Mandrake), doesn't run as root (unlike sendmail), and will spending most of it's time as a 'sleeping' process using little resources, you won't gain anything by turning it off.

OTOH, silencing the system watchdogs on a public-facing server would weaken it's security - from experience the daily reports are often the way you first find out about attempted hacks and system problems.
 
Old 05-07-2004, 09:42 PM   #5
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Original Poster
Rep: Reputation: 15
One more question:

I use Mandrake 9.2 and I'm not sure if this particular option is available on other distributions. I'm sure it is in some form or another.

In Mandrake you can configure the "Security Administrator" with a username of email address and all security alerts will be sent to that username or email address.

Is this any different that configuring the "root" in /etc/postfix/aliases to my email address?

ian

Last edited by tumana; 05-07-2004 at 09:46 PM.
 
Old 05-08-2004, 08:55 AM   #6
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I think it's the same thing, but unfortunately I don't have a Mandrake install any more to check.
 
Old 05-13-2004, 03:50 PM   #7
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Original Poster
Rep: Reputation: 15
Alright. Thanks for the help.

ian
 
Old 07-20-2004, 04:53 AM   #8
syahid
Member
 
Registered: Jan 2004
Distribution: Slackware For Slackers
Posts: 38

Rep: Reputation: 15
qmail installation

i would like to install qmail for my MTA but i have postfix installed inside my SUSE 9.1 box. will it somehow affect my mail configuration later or will there be any conflict between those two MTA's?

thanks in advance
 
Old 07-21-2004, 02:41 PM   #9
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
syahid,

It would be a good idea to open a fresh thread for this on the Networking forum.

Before replacing the supplied MTA with a source-compiled system you need to have a good understanding of how the new MTA works, since you won't have a package to set up things like mailbox spools and log rotation for you.

Both Qmail and SUSE take non-standard approaches to some things, so you need to have some more in-depth knowledge of qmail and SUSE's peculiarities (Maildir, SUSEConfig etc.), and these aren't areas that either I (or probably most people looking at the Newbie forum) can give you the necessary support for.

If this sounds a little scary, it's because the combination you've chosen will make this an unusually complex project. I would advise either using Postfix instead of Qmail, or using Red Hat or FreeBSD as the host if Qmail is a requirement.
 
  


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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 12:57 PM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 10:13 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 12:03 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration