LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-03-2006, 12:32 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Debian as a Mail Server?


OK - My project is to get a up and functioning mail server on my Debian box. I know that "Sendmail" is a bit complex right now for me so was looking at either "Postfix" or "Qmail" but would like some suggestions 1st.

Thanks!
 
Old 03-03-2006, 12:53 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If you want to try sendmail, here's a good tuturoial (acutally the whole site is good for learning how to setup your Debian box).

http://aboutdebian.com/internet.htm
 
Old 03-03-2006, 01:12 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I don't want to use "Sendmail" - I was leaning more towards "Postfix" or "Qmail" unless someone can convince me why Sendmail is better. I just heard Sendmail is complicated and a bit more complex so don't want to get frustrated.
 
Old 03-03-2006, 01:12 PM   #4
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Debian defaults to Exim which I find much easier to manage than both postfix and sendmail.
 
Old 03-03-2006, 01:23 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here's a guide for postfix http://www.debianhelp.co.uk/postfix.htm

Here's one for exim w/ ClamAV & spamassassin http://koivi.com/exim4-config/

Here's one for qmail http://www.qmailrocks.org/install_db.htm
 
Old 03-03-2006, 02:06 PM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Thanks all. I removed "Exim" as I heard that is bad news. I will review all the links!
 
Old 03-03-2006, 02:46 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I rather like this one, and will be using it when I rebuild my current postfix mail server..

http://www.howtoforge.com/virtual_po..._quota_courier
 
Old 03-04-2006, 01:40 PM   #8
mmhansen
LQ Newbie
 
Registered: Mar 2006
Location: Near Seattle, WA, USA.
Distribution: Debian GNU/Linux 3.1
Posts: 2

Rep: Reputation: 0
If you are particularly concerned about security, Qmail is a good choice. Bernstein is not known for congeniality, but he takes security very seriously and his code is impressively solid.
 
Old 03-04-2006, 02:03 PM   #9
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
> Thanks all. I removed "Exim" as I heard that is bad news.

Huh? Where did you hear that? Exim *is* the Debian default you know . It's got great docs. *And* it's GPL'd. Exim's a great choice.
 
Old 03-04-2006, 05:46 PM   #10
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by mmhansen
> If you are particularly concerned about security, Qmail is a good choice. Bernstein is not known for congeniality, but he takes security very seriously and his code is impressively solid.
Yes - it's just that Qmail is the only one that I can't just "APT-GET". I have to install from source or something like that and I have no idea where to begin. I am doing this on a test box before I hose my production server.
 
Old 03-04-2006, 10:26 PM   #11
OmegaBlac
Member
 
Registered: Aug 2003
Location: California
Distribution: Ubuntu
Posts: 172

Rep: Reputation: 31
Lightbulb

Quote:
Originally Posted by Carlwill
Yes - it's just that Qmail is the only one that I can't just "APT-GET". I have to install from source or something like that and I have no idea where to begin. I am doing this on a test box before I hose my production server.
The qmail source is in the official repos under the src package name qmail-src. I am using aptitude to view the package's description so I'll post it here for you:

Quote:
Source only package for building qmail binary package
qmail is a secure Secure, reliable, efficient, simple mail transport system.

Dan Bernstein (qmail's author) only gives permission for qmail to be
distributed in source form, or binary for by approval. This package has been
put together to allow people to easily build a qmail binary package for
themselves, from source.

To build a binary deb package, first install the qmail-src package, then type
the command "build-qmail". If you try "apt-get source --build qmail-src" it
will most likely fail because the users do not exist. You MUST install the
qmail-src package first. Also be sure to build and install ucspi-tcp before
installing the binary qmail package. Install the ucspi-tcp-src package to get
ucspi-tcp.

This package builds a binary .deb that is FHS compliant and conforms to the
Debian standards guidelines. The resulting binary packages are not suitable
for re-distribution.

There are pre-compiled binary packages for qmail available, but they do not
conform to the Debian standards, and are not available in the official archive.
emphasis mines

So either follow the instructions from the description posted above or you can try to locate an unofficial repo that carries the qmail binary. Try www.apt-get.org if you have no qualms adding unofficial repos to your sources.list
 
Old 03-05-2006, 09:58 AM   #12
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Thanks for that info. Can I APT-GET ucspi-tcp-src & qmail-src packages or must they be installed manually? I know that those are the 2 main files I need to download & install 1st but it never mentions if that can be found via APT-GET.
 
Old 03-07-2006, 11:53 AM   #13
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
Carlwill, note that, if you install qmail, you may (dunno) end up with the situation of having 2 email servers on your machine (since you likely already have exim installed). I've never installed qmail-src, so maybe that package deals with the situation for you.

Some folks manually install qmail from source in their own /usr/local or /opt. In those cases, they have to manually convince apt that they really don't need exim since they're using qmail. The equivs package can be used for this I believe.

All-in-all, for a Debian system, it may be messy to use qmail -- especially if you're new at this. qmail is known for top-notch security and stability, but exim's no slouch either. If you've already got exim installed (which should be the exim4 package plus exim4-base, exim4-config, and exim4-daemon-light), run
Code:
dpkg-reconfigure exim4-config
to configure it and you'll be good to go.
 
Old 03-07-2006, 01:12 PM   #14
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I have 100% removed EXIM before I run the Qmail install.
 
Old 03-07-2006, 01:44 PM   #15
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
If the source is available via apt, it should also include the debian script to build the debs. This will prevent any dependency problems.
 
  


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
Mail server not working on Debian 3.1 Jaysworld Linux - Software 0 02-19-2006 03:51 AM
Set mail server on Debian Etch SuSERNuke Linux - Networking 3 11-25-2005 01:54 PM
Debian E-mail Server recommendations jc70417 Debian 1 08-28-2005 03:12 AM
Home Mail Server: Debian+Exim4+Fetchmail subnewbie Linux - Newbie 1 08-08-2005 12:43 AM
mail server on debian nabs Debian 6 11-26-2003 12:19 PM

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

All times are GMT -5. The time now is 04:03 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
Open Source Consulting | Domain Registration