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 09-06-2005, 06:42 PM   #1
Lintoon
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Slackware Mail Server advice needed please.


Hi everyone,

Can you give me some advice please. I would like to setup a mail server using slackware 10.1.

I dont expect a full how to or anything like that just a few helpful hints on which software to use and any pitfalls to look out for.

I'm completely new to slackware and have googled but not found a lot about mail server setup with slack.

Does slack install sendmail/postfix/other by default and should I completely remove any default apps.

The server should collect pop3 mail from mulitple accounts at the same ISP with a registered domain name. eg user1@ourdomain.com, user2@ourdomain.com etc. All with their individual pop3 id/password at the ISP. The clients (outlook express) collect their mail from the slack server and send via the isp smtp server.

I know this sounds a bit mad, but I hope to test the server with the existing accounts before switching to either a pop drop box or smtp mail.

And when I've got this working, expand to include antivirus, antispam etc.

Any advice is much appreciated.

Thank you.
 
Old 09-06-2005, 08:27 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
Antispam: SpamAssassin (install it through MCPAN console to make it much easier to install/update)
Antivirus: ClamAV (there should be a package available, if not it's easy to compile)
SMTP: sendmail (comes with Slack)
POP3: popa3d (comes with Slack, just uncomment a line in inetd.conf)
IMAP: uw-imapd (comes with Slack, same package as pico. uncomment a line in inetd.conf)

To add a user to the setup, just add the user to the Linux system.

And to answer the question you asked...
pop3 fetching from ISP: getmail or fetchmail, both of which come with Slack. Make sure you've got procmail installed (package comes with Slack), and everything should be pretty easy to set up.

Check the docs... they should be fairly self explanatory. I've got a mail server set up which does all of that, and there's probably others here who have it, as well. If you run into a roadblock, don't hesitate to ask and somebody can help.
 
Old 09-07-2005, 05:43 AM   #3
Lintoon
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the reply killerbob, I'll look into those applications when I get home (Im at work).

Should I stick with sendmail or go with postfix. If postfix is the preferred option do I have to uninstall anything other than sendmail. Or should I just stick with sendmail and ignore any "postfix is easier/better/safer than sendmail" posts.

Thank you for your time.


************************************************************************

PS.
I must say to anyone reading this that Slackware is no-where near as difficult to get up and running as you expect. Just do it. I have used Mandrake for a while but slack seems to be doing what I tell it to do, and although I'm no linux expert I feel like I'm in control of the system not the system in control of me. Nice. I've never really felt like that with Mandrake.

Anyway, I just thought I would add that for anyone that is intersted in slackware

************************************************************************
 
Old 09-07-2005, 07:56 AM   #4
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
Quote:
Or should I just stick with sendmail and ignore any "postfix is easier/better/safer than sendmail" posts.
There's a reason that Pat has gone with Sendmail instead of Postfix. In older versions of Slack, it was Postfix, btw. People who write those posts haven't used Sendmail recently. It's *way* easier than it used to be, and the security in Sendmail has improved significantly with the recent development trees. There hasn't been an update since 8.13.4 (in -current), and that came out in March of this year. Why? Because there hasn't been a critical security flaw found. And the only weirdness with most of the configuration files is that you need to compile them before Sendmail will recognize them. You can still edit the file directly, but the uncompiled mc file is a whole lot easier to modify than the compiled version. (they keep the compiled format for backwards compatability). The problem with Sendmail really arises from the fact that the default mail setting used to be as an open relay. They changed that a major revision or two ago. (I think it was in the 6.x tree, but I don't remember)

As I said, I'm using Sendmail on my mail server. It's open to the public (that is, port 25 on my firewall is routed to the mail server, as is port 993 for IMAPs), and I haven't had any security problems in the 7 months since opening it up. If I were you, I'd stick with Sendmail.
 
Old 09-07-2005, 08:04 AM   #5
Lintoon
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you for that explantion. It has settled my mind and now I can get started on the nitty gritty.

Caffeine at the ready.

Thanks again, much appreicated.
 
Old 09-07-2005, 10:50 AM   #6
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
Does the built in IMAP do IMAPs? I was under the impression that it didn't... I guess I will have to check that out.
 
Old 09-07-2005, 03:27 PM   #7
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
it doesn't. stunnel, however, does, and that comes with Slack.
 
Old 09-07-2005, 03:28 PM   #8
yoda76
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 12
Posts: 2

Rep: Reputation: 0
http://www.qmailrocks.org, a installation guide for the mta qmail. Complete with antivirus, antispam, pop3 imap etc.
 
Old 09-08-2005, 11:40 AM   #9
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
The qmail rocks installation is good and is kept very up to date, however when you are done you will feel like you have no idea what is going on with your system. IMHO The install leaves you with a great mail server, but no clue how any of the 25+ things you have installed work or even exactly how they all relate.
 
Old 09-09-2005, 04:07 AM   #10
Lintoon
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
So maybe I should stick with sendmail, fetchmail, pop3ad and uw-imapd because the whole purpose of switching to slack was to learn.
 
Old 09-09-2005, 10:31 AM   #11
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
That is what I would recommend, though don't feel tied to only the included software. For instance you might want to look at other IMAP servers to see if they meet your needs, or consider installing SquirrelMail if you want web mail. To me the best part about Slackware is that I can easily compile and use other pieces of software without having to worry about them being compatible with my distro.
 
Old 09-09-2005, 04:27 PM   #12
Lintoon
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
I was thinking about trying courier-imap purely because it seems the most popular choice on other distros, but I feel I should stick with the included imap. After all if slack is based on stability, maybe the included one is what should be used. Decisions, decisions.

Now my dilema is where to start. Is there a sequence to follow?
 
Old 09-09-2005, 05:57 PM   #13
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
The first thing you should start with is Sendmail. Shilo's Guide has a good basic sendmail setup. Once you get that working I would get your IMAP/POP server working. If you are allowing remote users to retrieve thier mail you should spend some time setting up stunnel to avoid giving out your password to any would be crackers. Once you have all of that going you can worry about antiv-virus (ClamAV) and Spam Filtering (SpamAssassin).
Also: 10.2 will have a significant sendmail enhancement which will allow SMTP secure Auth so if you are not using current you may want to be prepared for an update soon.
 
  


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
Streaming Web Server advice needed Tectron1 Linux - Software 1 06-15-2005 11:51 AM
Server Advice Needed tsk Linux - Hardware 3 11-08-2004 01:54 PM
Slackware Guru Advice Needed g452 Slackware 20 04-07-2004 12:32 PM
wanting to run a mail server from slackware.. Tutorial needed. VioLaToR Linux - Software 0 01-20-2004 07:55 PM
Slackware - Advice Needed Rjf90 Slackware 7 12-15-2002 09:06 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration