LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-16-2003, 01:24 PM   #1
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
best mail server for newbies


Hello everyone in Linux land,

I have a small server, up and running becasue of the help from this excellent list, and I have decided to get a mail server going.

After the relative ease of setting up apache and LAN for internet etc. I thought it might be time for a mail server. A, so I dont have to keep diverting emails everywhere (from several email addresses) and B, so I can provide myself and some friends with pop accounts... Several days later I realise setting up a mail server aint quite that easy.

The question is where do I start, and what would be the best mail server to learn on. I use Redhat 9 on the server and slackware on my laptop and other pcs. I have the redhat 6.2 guide and the redhat 9 bible. The bible briefly describes how to set up sendmail and get it running, but I could not seem to get it working. I needed to try harder but I thought I would see what else is out there.

After a google or two it seemed the general opinion of sendmail was that it was full of holes and increadibly difficult to configure.... the bible didnt say anything about this? I gathered that qmail was safer and easier to install, I was wrong. Under redhat 9 qmail needs to be patched in order for some errno thing to work or not, I didnt quite get what I was patching. In the end I abandoned qmail for failure to get around the errno patch thing. I followed the patch instructions exactly, but got a different error after trying again so abandoned mission for lack of any idea how to solve the problem. Freaked out and deleted any trace of qmail.

In short I need to get my mail server up and running so I can start receiving emails again. What is the best mail program for a newbie to learn on?

Hooray for linux!

Lucas
 
Old 08-16-2003, 01:33 PM   #2
matchboy
LQ Newbie
 
Registered: Aug 2003
Location: Portland, Oregon
Posts: 1

Rep: Reputation: 0
postfix

give Postfix a whirl.
 
Old 08-16-2003, 01:36 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Qmail works fine on redhat 9. Edit the following files like this:
error.h:
remove - "extern int errno;"
insert - "#include <errno.h>"

dns.c:
remove - "extern int errno;"
insert - "#include <errno.h>"

cdb_seek.c:
remove - "extern int errno;"

Some of the othe packages like daemontools need their error.h files changed like the error.h file above.
 
Old 08-16-2003, 01:47 PM   #4
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Original Poster
Rep: Reputation: 30
Hi,

Thanks for the replies.

I tried the patch you have pointed out. What I didint get was when I first did the 'make setup check' to compile qmail I got the errno error.

I did the patch with gedit etc. and then did not know whether to recompile or not, so I did, and it gave me another error.

Should I have recompiled with the 'make setup check' again?

Thanks

Lucas
 
Old 08-16-2003, 01:50 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
I would start from step one again after applying the patch.

Try it again and post the other error.
 
  


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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 04:55 AM
Easy to install email server for newbies >> rosko Linux - Software 3 12-19-2002 01:54 PM
Newbies Server system vcheah Linux - Distributions 7 12-23-2001 12:27 PM


All times are GMT -5. The time now is 05:22 PM.

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