LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2004, 08:24 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
e-mail server


I was thinking it'd be cool if I set up an e-mail server so that like I can create as many e-mail addresses (POP3?) that I want or w/e. I already have my website and stuff and I figured it'd be cool just to be able to maek e-mail address for stuff

What ports do I need to open?
What software do I need to do this?
What is a good link that I can use to do figure this out?
 
Old 05-11-2004, 08:53 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
E-mail Common Ports:

25 - SMTP Port (needed to send/receive mail)
110 - POP3
143 - IMAP2
465 - SMTP SSL
993 - IMAP SSL
995 - POP3 SSL

You'll need and MTA (Qmail, Postfix, Sendmail, ect.) and some kind of pop/imap server (Courier and Cyrus, ect.).

The biggest thing you need to make sure you do is NOT run an open relay. An open relay is an SMTP server that will let anyone send mail to anywhere through it. It is logical to have an SMTP connection except a connection from anyone (how else would anyone be able to send you mail) but only trusted machines should be able to ask the SMTP server to send mail to another SMTP server.

Last edited by jtshaw; 05-11-2004 at 08:58 PM.
 
Old 05-11-2004, 11:37 PM   #3
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
I do suggest you to configure qmail because it is fast reliable and easy to configure lot of howtos aviable online.

start with www.qmailrocks.org , there you will probably find tutorial for your distro.
 
Old 05-11-2004, 11:55 PM   #4
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
I configured sendmail after a few attempts got it working pretty good. I bought the O'Reilly sendmail 600 page book. It was like reading assembler for me.

I didn't want to be an open relay, but I wanted to check email remotely. So, I used webmin to configure sendmail and then I use SSH port forwarding to make an ssh tunnel to check my email. It works good and I don't have to worry about spammers.
 
Old 05-12-2004, 03:37 AM   #5
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
yup i use sendmail and it works fine. thats all i care about! when it breaks i might try something else but if i can send and receive an email i dont care!
 
Old 05-12-2004, 06:31 PM   #6
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I think I'm'a try sendmail what packages I need? Just sendmail or what?
 
Old 05-13-2004, 04:53 PM   #7
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
do I need DNS set up?
 
Old 05-13-2004, 08:01 PM   #8
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
You will need a DNS pointing to your mail server. I don't use my own DNS, I use the DNS from the folks I got my domian through. I have the servers in my basement and run sendmail right from here.

What distro do you have? I know redhat, SuSe already have sendmail on them, it just needs configured. You will need to open port 25. Make sure you're not an open relay. You can test it with various testing tools. One of my favorite is SAM SPADE. Do a search on Google for it.
 
Old 05-13-2004, 08:53 PM   #9
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally posted by lucktsm
I configured sendmail after a few attempts got it working pretty good. I bought the O'Reilly sendmail 600 page book. It was like reading assembler for me.

I didn't want to be an open relay, but I wanted to check email remotely. So, I used webmin to configure sendmail and then I use SSH port forwarding to make an ssh tunnel to check my email. It works good and I don't have to worry about spammers.
Being able to check e-mail remotely doesn't make you a remote hole at all. You can use all the insecure IMAP and POP you want all day long and nobody else could care less.

It is when you allow uses to connect remotely to your SMTP server and send mail to places other then address on your local machine that you are opperating a open relay. IMAP SSL or POP SSL would be a much more elegant solution (one that would work with regular old e-mail clients) then an SSH tunnel for checking mail.
 
Old 05-16-2004, 03:55 AM   #10
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Rep: Reputation: 17
my stuff

ok i'm not 100% on all of this but what i have setup is going to a place called http://www.dyndns.org and getting a FREE name linked to my IP address so now if you use amon.is-a-geek.net (there is nothing interesting there so don't look im in the process of building stuff up) it connects you to the small computer in my room running 24/7. this allows for SMTP, POP3, HTTP (apache), ftp etc... all to run off a computer with a free name. the email side means that running both the POP3 & SMTP i can have anything i want @amon.is-a-geek.net which is fantastic for if you have to sign up for something you don't want to have spamed
as far as ports goes you only need to know 2 for a basic setup:
25 SMPT
110 POP3

if your interested look up telnet pop3 or telnet smtp on google as you can telnet into thease servers to send email.

on a securety note it is easy to make your server only allow relay from people who log in with a particular name. some servers will allow you to say only relay from certan IP ranges so if you have a lan you can set it to relay from 192.168.X.X and nothing else
 
Old 05-16-2004, 09:06 AM   #11
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
so did you set up your e-mail? if you did what site/software did you use to help you set it up

btw I do use dyndns check my site out
 
Old 05-16-2004, 09:59 AM   #12
gslater
LQ Newbie
 
Registered: Feb 2004
Location: London
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
I am currently trying to set up a mail server using sendmail see my thread here...

http://www.linuxquestions.org/questi...ht=mail+server

any assistance would also be appreciated.
 
Old 05-19-2004, 12:22 AM   #13
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
I downloaded, installed hMailserver from hmailserver.com. It was up and running in minutes. Download the latest (3.0) package with MySQL included and follow simple instructions.
 
Old 05-19-2004, 06:49 PM   #14
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
it says it's for Microsoft Windows...lol
 
Old 05-31-2004, 05:37 AM   #15
thepaemon
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: GENTOO!!!!!!!
Posts: 11

Rep: Reputation: 0
hmailserver is linux based
 
  


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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 06:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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