LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-13-2009, 05:52 PM   #1
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Rep: Reputation: 35
[SOLVED]Where do I start on my home mail server???


Hi there,

I would like to set up a mail server but I have no idea or rather I am confused how to...

I have an Ubuntu server in my cupboard and around the house I use windows with Thunderbird.

So what I am asking is what applications would I use to do this:

1) Retrieve my mail from the ISP to the server
2) Store it on my servers disk
3) Run a spam program against it and filter out any rubbish against the good stuff
4) Using Thunderbird download the mail to my windows machine. Also if its possible to use a web interface to read online if im out and about??
5) To also have the server handle outgoing mail from my windows machine through the server to the world outside.

Any help would be greatly appreciated.

Last edited by fusion1275; 08-18-2009 at 05:25 PM.
 
Old 08-13-2009, 05:58 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
1) Retrieve my mail from the ISP to the server
fetchmail
Quote:
2) Store it on my servers disk
done by fechmail
Quote:
3) Run a spam program against it and filter out any rubbish against the good stuff
procmail and spamassassin
Quote:
4) Using Thunderbird download the mail to my windows machine. Also if its possible to use a web interface to read online if im out and about??
http://www.linuxlinks.com/Web/Mail/
 
Old 08-13-2009, 06:01 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
http://www.linuxlinks.com/article/20...801/Email.html

1) getmail or fetchmail
2) probably an IMAP server like dovecot
3) spamassassin rules!
4) These two things sort of counteract each other. If you use IMAP, you can leave things on your home server and can still use Thunderbird for viewing, but it doesn't really download the mail to Windows. If you create local folders, any mail dragged into those folders won't be visible from other locations (unless you remote desktop into that windows machine and look at the mail). As for a web interface, I've heard of Squirrelmail, Zimbra, and Scalix, but never used them. I think some of them are complete solutions (i.e. they probably have their own IMAP servers you can use).

Last edited by pljvaldez; 08-13-2009 at 06:02 PM.
 
Old 08-13-2009, 06:05 PM   #4
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Sorry forgot to mention I would like to have the server handle mails being sent out to the world from my Thunderbird client.

I will update the above list

Rgds
 
Old 08-13-2009, 07:03 PM   #5
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
So am I thinking in the correct order here:

1) mail is sent to my ISP servers
2) Fetchmail installed on my server retrieves from my ISP servers
3) Dovecot delivers the new mail to a mailbox configured
4) Spam Assassin filters the rubbish from the good
5) Mozilla Thunderbird connects to server (somehow) and retrieves or views the new mail

Is that right?

Last edited by fusion1275; 08-14-2009 at 06:53 AM.
 
Old 08-14-2009, 05:06 AM   #6
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
also I am a bit confused when I need to put in my "server mail domain name" in some of these applications.

I have 2 websites with registered domains but im not using them for any email. I have them set up in the /etc/hosts file - all is good.

But what do I put in the mail settings for my setup?

my servers hostname is sapphire.. can I use that? Can I choose anything/any name? Or do I have to buy a registered domain for this?

Sorry about the amount of questions.. its a learning curve for me
 
Old 08-14-2009, 05:16 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Just a small reminder. Please avoid using thread titles like "Where do I start???" They are not very informative. Something like "How do I set up a mail server?" would have been more appropriate. Have a look at the sticky on the top of the Linux - Newbie forums.
Cheers,
jdk
 
Old 08-14-2009, 05:38 AM   #8
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Will do
 
Old 08-14-2009, 07:18 AM   #9
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Anyone with any helpful comments?
 
Old 08-14-2009, 07:31 AM   #10
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

If you don't want to install all those separate programs to be able to run your own mailserver with web interface and antivirus/antispam integration you might want to have a look at this:
Axigen Mailserver.
Quote:
* Email (SMTP) / POP3 / IMAP server
* WebMail server (includes WebMail interface for mobile phones)
* Web / CLI (Command Line Interface) administration
* Groupware (includes shared folders, permissions, Outlook Connector [improved])
* Personal Organizer (Calendar / Tasks / Notes / Journal)
* iCal (Webcal) access to calendar and task [new]
* Integration with over 15 AntiVirus / AntiSpam applications
* Push Email & PIM Synchronization *
You get all in one, for free (5 accounts/1 domain/1 server), and for a variety of OS. And it comes with a very easy webinterface to administer too. No need to install anything else.

Kind regards,

Eric

PS: not making any publicity, just know this one because I had it running at my previous job.
 
Old 08-14-2009, 07:34 AM   #11
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Thanks for that link, but I would like to get in amongst the nitty gritty as it were and configure it all from scratch.

Call me a fool but I want to get my teeth in it all.

Last edited by fusion1275; 08-14-2009 at 07:36 AM.
 
Old 08-14-2009, 07:37 AM   #12
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Nobody will ever call you a fool in my opinion for wanting to do it all by yourself. I just pointed it out for those who don't share your dedication, which by the way is a great thing to have.

Kind regards,

Eric
 
Old 08-14-2009, 07:39 AM   #13
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Cheers Eric. I've heard its a real effort to configure a mail server but I am willing to stick by it and see it through

 
Old 08-14-2009, 07:42 AM   #14
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
That's the spirit!!!
 
Old 08-14-2009, 07:47 AM   #15
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by fusion1275 View Post
So am I thinking in the correct order here:

1) mail is sent to my ISP servers
2) Fetchmail installed on my server retrieves from my ISP servers
3) Dovecot delivers the new mail to a mailbox configured
4) Spam Assassin filters the rubbish from the good
5) Mozilla Thunderbird connects to server (somehow) and retrieves or views the new mail

Is that right?
I think that should cover it. With Thunderbird you can retrieve mail using POP or view/edit with IMAP if I'm not mistaking. If you need a 'webaccess' too, then you would need a web frontend, maybe something like this PHP Script.

Kind regards,

Eric
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
How to start bash commands automatically every time I start the computer brgsousa Linux - Software 2 10-18-2007 12:26 PM
Computer doesn't start; fans start then stop; 1 long, 1 short beep PatrickMay16 General 18 09-26-2007 08:48 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 03:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 09:53 PM


All times are GMT -5. The time now is 03:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration