Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[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 04:25 PM.
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).
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 05:53 AM.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.