LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-30-2004, 05:53 PM   #1
tharris
Member
 
Registered: Jun 2002
Location: Albany, GA
Distribution: Slackware 9.1, Debian Woody (2.4.18-bf2.4)
Posts: 34

Rep: Reputation: 15
How did YOU setup your Mail server


Hello,

I am currently using Slackware 9.1 and i have everyting setup except a working mail server. I am using Bellsouth.net DSL service right now and I think I may be able to setup a smarthost for it. I'm not sure, kinda why I am posting here. Anyway. I need some help.

I have setup a lot of programs (Apache/MySql/php and phpmyadmin/ proftpd) based off the stuff I found on this site, but I cannot find anything here about setting up a mail server. I see a lot of "I used qmail, or I use postfix" which is find and dandy, but a newbie like me needs a lot of help doing this.

SO if ANYONE has an easy howto or setup guide I would be much appreciated. I am looking for step by step, and also the program used, ports etc.

Thanks guys, this forum has been a true GODSEND for me and I know someone has something I am loking for.

Oh yeah, my default slack install installed sendmail and has it runing at startup. HELP!!!

tharris
THE NEWBIE
 
Old 01-30-2004, 06:08 PM   #2
jazernorth
Member
 
Registered: Jan 2004
Location: Green Bay
Distribution: RedHat 8.0, LFS-5.0
Posts: 100

Rep: Reputation: 15
Sendmail is a good mail program.

I think you are making the same mistake of sendmail and imap or pop3. Sendmail or Postfix or qmail is used to and receive mail at your system, while imap or pop3 is used to read and send mail from a mail client.

So, what you need to look for is documentation on Postfix and an imap server (try imapd runs under /etc/inet.d or /etc/xinet.d).

Postfix source and HOW-TO can be found at www.postfix.net, and usually comes with all distro's, just not activated.
Sendmail source and HOW-TO can be found at www.sendmail.org.
Imap source and HOW-TO can be found at www.imap.org
 
Old 01-30-2004, 06:50 PM   #3
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
if you are just setting up a small mail server for home use this site has a great software that is easy to setup and has a web based configure prog. and I am pretty sure they still give out a free licences for 5 to 10 acct for personal use not for business. it is a pretty slick peice of software you can get the abilty to check mail via pop or webmail

http://www.netwinsite.com/surgemail/
 
Old 01-30-2004, 07:03 PM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
To do a basic setup is really quite easy:

if you wanna receive mail ubiquitously as your email address go to dyndns.org and create a free dns entry pointing to you ip address, rename your computer name to the dyndns name you created using netconfig i.e. host: mybrilliantmailserver
domain: .dyndns.org

Add

localhost RELAY

to the "access" file

additional step I've found necessary add

sendmail:ALL

to /etc/hosts.allow

Make sure port 25 is open

restart sendmail, receive and send email as i.e me@mybrilliantmailserver.dyndns.org then come back here if doesn't worK
 
Old 03-30-2004, 07:05 AM   #5
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Rep: Reputation: 15
Qmail is very simple to setup. Go to http://www.lifewithqmail.org and print the PDF version.

As far as smarthosts go:

1. Create a file called smtproutes in your control dir which contains the following:
:smtp.smtpforwardserver.net
 
Old 03-31-2004, 07:25 AM   #6
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Sendmail is a MTA (Mail Transport Agent) and is used to "move" the mail from your mailserver to the clients appropriate mail program. That program may receive mail in either a POP3 or IMAP "protocol". I use Sendmail in my mail servers so that is most familiar to me. I don't use Slackware so I can't speak from that perspective. I would assume however that it would be similar. (You know what assume means). There is a file (sendmail.mc) that is used to do the inital and basic configuration of sendmail. It has notes and documentation in it and there are the man pages and website (www.sendmail.org). After doing whatever config is necessary, you will need to rebuild the sendmail.cf file. In RH9 it is done by using the M4 engine. I am not sure in your distro. After that, restart sendmail and you should be up and running. Make sure and have the obvious things: all mail clients must be actual users on the machine, passwords, etc... You will have to ensure that the MX records point to your machine somewhere. That may be at the site mentioned earlier or at your ISP's. If you really want to get into managing a mail server there is a book by O'Reilly press simply called Sendmail. It is the bible and a must have. Good luck and repost if you have problems.
 
  


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
DNS server setup and mail server rajivsalwan Linux - General 4 07-15-2006 01:24 AM
Mail server setup redhatlover Red Hat 2 05-04-2004 04:42 AM
how to setup server mail? vuthachh Linux - Networking 5 04-27-2004 10:55 AM
mail server and mail client setup issues htm Linux - General 1 03-16-2004 09:32 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

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

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