How can you use your Fedora laptop as an email server?

asked 2014-12-21 17:54:56 -0500

Ervin-Reloaded gravatar image

Hi, I have read some articles in regard to postfix and sendmail but they seem quite complicated to me. However I am very interested in setting up my computer to send and receive mail without having to use somebody else's server. It would be nice though if we had an application with a graphical interface that could do that, since most people including me are not good at using complicated terminal commands. I have seen that clawsmail has an option to use your own hostname, not sure how possible that is, and evolution too seems to have that option by default. Some more info would be welcome if you are willing to share. Thanks.

edit retag flag offensive close merge delete


Before you try, check with your ISP because most of them don't allow outbound connections on Port 25, the one used by SMTP because spammers use it.

sideburns gravatar imagesideburns ( 2014-12-21 18:26:19 -0500 )edit

Also, check that you have a static IP address, i.e. an internet address that never changes (you usually have to pay for this with your ISP).

If you're going to run a mailserver, you have to point your email domain's MX record at a known IP address. If you're on dynamic addresses, even with a dynamic DNS service, you will find it difficult for everyone to find the right ip address to use.

cobra gravatar imagecobra ( 2014-12-22 03:14:54 -0500 )edit

Thanks sideburns and cobra for this very useful information. It is totally new to me.

Ervin-Reloaded gravatar imageErvin-Reloaded ( 2014-12-23 15:28:10 -0500 )edit

You might want to consider using a different distribution to Fedora for you mail server, you know. Fedora is updated frequently, and the need to upgrade at least once a year can be a bit much. You might want to look at a server distribution like CentOS which is a rebadged RedHat Enterprise distribution and hence is from the same stable as Fedora. This would cut down the number of updates you have to do. I run my servers (including mail server) on CentOS and my desktops on Fedora.

cobra gravatar imagecobra ( 2014-12-24 03:29:08 -0500 )edit

Yes. At one point I was using a dynamic DNS service that used email to report my current IP address and my ISP blocks Port 25. I managed to learn how to modify to use a smarthost and SMTPAuth, but every time sendmail was updated, my changes were overwritten and I had to do it again. Using something like CentOS for a mailserver would have been convenient, but I was doing this on my desktop, running Fedora.

sideburns gravatar imagesideburns ( 2014-12-24 12:22:26 -0500 )edit