Posts: 28
Joined: Sun Oct 02, 2011 5:36 am
Location: Traverse City, MI USA
Contact: Website

Raspberry Pi Mail Server tutorial

Sun Jul 22, 2012 6:33 pm

I've been using ARM devices for about a year now to host my website and e-mail and I thought it would helpful to start creating a series of tutorials to show people how to setup a Raspberry Pi for common server roles (web server, mail server, LDAP server, file server, DNS server).

My first one involves setting up a mail/groupware server (complete with webmail interface) using Citadel. Check it out at the link below.

Installing Citadel on RPi ... el-on-rpi/
Last edited by benthepoet on Sat Aug 24, 2013 10:27 pm, edited 1 time in total.
Ben Hanna
Ducky Pond

Posts: 104
Joined: Sun May 27, 2012 12:18 pm
Location: Manchester, United Kingdom.
Contact: Website

Re: Raspberry Pi Mail Server tutorial

Mon Jul 23, 2012 10:29 am

Thanks for this, defiantly a required tutorial!

I'd of done one myself but mail servers are just so complicated to get running!!!
Owner of: - I make gorgeous Raspberry Pi Tutorials :)

Posts: 1
Joined: Tue Nov 06, 2012 5:29 am

Re: Raspberry Pi Mail Server tutorial

Tue Nov 06, 2012 5:47 am

Thanks for this we would love to have more of these tutorials on using Raspberry Pi as other kinds of servers such as FTP etc. where much processing is not needed at it could server as a very cost effective and energy saving solution.
But my one concern is that is reliable for long time run hardware wise and also ARM ported server applications such as mail, ftp server are reliable to use in production environments.
-Thank you

Posts: 2
Joined: Sat Feb 09, 2013 7:12 am

Re: Raspberry Pi Mail Server tutorial

Tue Jan 14, 2014 10:36 pm

Amazingly simple tutorial compared to most I've seen for setting up a mail server on anything, and this one is for the RPi! Thanks for your help, I'll be using this to host a friends small business email, so for the gentleman concerned with using it in a production environment, we'll find out soon if it works.

Posts: 2
Joined: Sun Jan 19, 2014 7:56 pm

Re: Raspberry Pi Mail Server tutorial

Sun Jan 19, 2014 10:33 pm

I have been using (not any more) a operating system called ArkOS that I know has web server capabilities built in but the developers are also making a DNS and Mail server both imap and pop3. It's worth looking at and may be ready to use the mail server. ArkOS is meant to be easy to set everything up on so that may be a better alternative. Here is a link to it anyway

Posts: 1
Joined: Fri Dec 26, 2014 9:10 pm

Re: Raspberry Pi Mail Server tutorial

Fri Dec 26, 2014 9:19 pm

There are several mail applications that will work well on the Pi. Since mail servers run continually and write large amounts of data to the storage device (initially the MicroSD card) you should consider moving parts of your filesystem to another device. A USB hard disk or a USB thumb drive are good choices. Your typical busy directories are /var, /opt and swap. Check with your mail software to see where it stores message data. The reason for this is all flash devices have a limited number of write operations (deletions are writes, too). I'll skip the tech details, but eventually your flash device starts to appear smaller and smaller. On Unix and Linux systems having root run out of space is fatal. A USB thumb drive has the same problem, but are more expendable than your system MicroSD and they can be removed and copied to a new thumb drive as they age (using dd). If you choose a USB hard disk make sure you have enough power to drive it or use a powered USB hub.

Return to “Networking and servers”

Who is online

Users browsing this forum: No registered users and 7 guests