Jump to content

Home email server?

I've always wanted to run a home email server on a raspberry pi but always assumed it would fail due to ISP port blocking. I'm currently running Comcast which blocks port 25, but they do offer SMTP relay servers. Furthermore, port 25 isn't used anymore anyway from what I can see. What I'm wondering is if this would be feasible as a fun experiment. Would I actually be able to send and receive email?

 

I also found this website: https://www.authsmtp.com/faqs/faq-4.html

 

Xfinity blocked ports list: https://www.xfinity.com/support/articles/list-of-blocked-ports

 

I just need to grab a domain from domain.com or namecheap first. :P

PC Specs:

CPU: AMD 1700x Cooler: Corsair H100i V2 Motherboard: Asus Crosshair VI Hero RAM: 4 * 8GB G.Skill RGB DDR4 Graphics: EVGA GTX 1080 Ti SC2 Storage: Samsung 960 EVO 500GB Case: Fractal Design Meshify C PSU: EVGA 750w G3 Monitors: Dell SG2716DG +  2x Dell U2515H

 

Freenas specs:

CPU: Intel Xeon E5-2650 V2 Cooler: Some noctua cooler Motherboard: Supermicro X9 SRL-F RAM: 8 * 8GB Samsung DDR3 ECC Storage: 6 * 4TB Seagate 7200 RPM RAIDZ2 Controller: LSI H220 Case: Phanteks Enthoo Pro PSU: EVGA 650w G3

 

Phone: iPhone 6S 32 GB Space Grey

Link to comment
Share on other sites

Link to post
Share on other sites

How do you figure port 25 is not used anymore? SMTP/TLS is using 25/tcp.

Link to comment
Share on other sites

Link to post
Share on other sites

I suppose that having your own email server would be a fun experiment to take back your privacy and maybe make things a little easier as your using a custom domain name, although it still costs more than having a free online solution like proton mail or riseup.

I suppose I like a chairs a little too much.

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, TheChairSalesman said:

I suppose that having your own email server would be a fun experiment to take back your privacy and maybe make things a little easier as your using a custom domain name, although it still costs more than having a free online solution like proton mail or riseup.

I’ve never heard of proton or riseup but I will take a look.

PC Specs:

CPU: AMD 1700x Cooler: Corsair H100i V2 Motherboard: Asus Crosshair VI Hero RAM: 4 * 8GB G.Skill RGB DDR4 Graphics: EVGA GTX 1080 Ti SC2 Storage: Samsung 960 EVO 500GB Case: Fractal Design Meshify C PSU: EVGA 750w G3 Monitors: Dell SG2716DG +  2x Dell U2515H

 

Freenas specs:

CPU: Intel Xeon E5-2650 V2 Cooler: Some noctua cooler Motherboard: Supermicro X9 SRL-F RAM: 8 * 8GB Samsung DDR3 ECC Storage: 6 * 4TB Seagate 7200 RPM RAIDZ2 Controller: LSI H220 Case: Phanteks Enthoo Pro PSU: EVGA 650w G3

 

Phone: iPhone 6S 32 GB Space Grey

Link to comment
Share on other sites

Link to post
Share on other sites

21 hours ago, ThatFlashCat said:

I've always wanted to run a home email server on a raspberry pi but always assumed it would fail due to ISP port blocking. I'm currently running Comcast which blocks port 25, but they do offer SMTP relay servers. Furthermore, port 25 isn't used anymore anyway from what I can see. What I'm wondering is if this would be feasible as a fun experiment. Would I actually be able to send and receive email?

 

I also found this website: https://www.authsmtp.com/faqs/faq-4.html

 

Xfinity blocked ports list: https://www.xfinity.com/support/articles/list-of-blocked-ports

 

I just need to grab a domain from domain.com or namecheap first. :P

I have done this in the past probably back in 2009 before I had alot more experience, and it was fun I used an exchange server over the mail server build into windows server. You get alot more options not to mention beable to filter out spam ect.

I had a dynamic IP and run DynDNS on router then used relays to so it wouldn't get blocked by google, yahoo ect for not having static IP.

Internet Connection

My Rig: AMD Ryzen 9 3900X @ 4.3Ghz | Asus Prime X470-Pro | Corsair Vengeance RGB Pro 32 GB (4 x 8GB) DDR-4 3000Mhz OC'd @ 3400Mhz 16-20-20-38 |

EVGA RTX 2070 8GB XC Gaming OC @ 2145Mhz Boosted/ 1925Mhz Memory | WD SN750 500GB M.2 NVME | Gigabye 240GB SSD | 
XSPC EX 360mm | Corsair XC7 RGB CPU WB | EK-Vector RTX 2080 | Alphacool Eisbecher D5 150mm Plexi | XSPC Fittings | XSPC FLX Clear 7/16" ID, 5/8" OD |
Corsair LL120 x6 | Corsair RM750x White 2018 | Corsair Commander Pro | Corsair Obsidian 500D RGB SE | Corsair RGB LED Lighting PRO Expansion |
Corsair Strafe RGB MK.2 | Corsair Ironclaw RGB Wireless 18,000DPI | Acer 32" 4K 60Hz HDR600 Cert. ET322QK CBMIIPZX |

Passmark Score

3dmark Score

PC Parts Picker Link to Build

Network

Netgear LBR20 LTE Router | Verizon Unlimited Prepaid Hotspot Plan

HP 2530-48G-PoEP Switch

Rasberry Pi 4 Running Pihole

Linksys Velop 3 Mesh Wifi AP's

 

Link to comment
Share on other sites

Link to post
Share on other sites

Port 25 is definitely still used, but as you already discovered, your ISP offers relays - I would take advantage of that. The goal is to limit how many emails per minute you can send, otherwise they don't do anything else to your traffic. If you have a business plan you can call them and have it unblocked.

 

I'm not aware of any free dynamic dns solutions that offer MX records, so you may need to buy a DNS name from a registrar if you don't already have one. (you can find some as cheap as $5/yr)

 

You'll also need to setup some custom DNS entries (SPF record) to help mail servers trust your domain a little more (not a guarentee). Otherwise your mail may end up in peoples' spam folders (partly why you see so many companies say "check your spam folder").

 

The hardest part is battling incoming spam. Definitely have one mailbox for free website signups (honestly I would use gmail for this so they don't get your domain name) and another for paid and professional use.

 

I think it's worth the time as a hobby / project. Definitely try to get encrypted/secure mail working to familiarize yourself with that. Also SSL SMTP doesn't actually "use" port 25, it simply announces to the mail server over port 25 to switch to SSL (467). So you can use SMTP SSL without 25, it's simply a legacy feature left behind to offer more compatibility.

 

Honestly if the destination server won't accept encrypted communication I'd expect it to be old and comprimised, better off not sending mail there.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Mikensan said:

Port 25 is definitely still used, but as you already discovered, your ISP offers relays - I would take advantage of that. The goal is to limit how many emails per minute you can send, otherwise they don't do anything else to your traffic. If you have a business plan you can call them and have it unblocked.

 

I'm not aware of any free dynamic dns solutions that offer MX records, so you may need to buy a DNS name from a registrar if you don't already have one.

 

You'll also need to setup some custom DNS entries (SPF record) to help mail servers trust your domain a little more (not a guarentee). Otherwise your mail may end up in peoples' spam folders (partly why you see so many companies say "check your spam folder".

 

The hardest part is battling incoming spam. Definitely have one mailbox for free website signups (honestly I would use gmail for this so they don't get your domain name) and another for paid and professional use.

 

I think it's worth the time as a hobby / project. Definitely try to get encrypted/secure mail working to familiarize yourself with that. Also SSL SMTP doesn't actually "use" port 25, it simply announces to the mail server over port 25 to switch to SSL (467). So you can use SMTP SSL without 25, it's simply a legacy feature left behind to offer more compatibility.

 

Honestly if the destination server won't accept encrypted communication I'd expect it to be old and comprimised, better off not sending mail there.

Yeah I need to get a domain for this I'm just not familiar with domain registrars. I wouldn't use this server for much, all of my accounts are connected to my gmail and I have no intention of switching them to my own mail server. It's really just because I can more than anything else.

PC Specs:

CPU: AMD 1700x Cooler: Corsair H100i V2 Motherboard: Asus Crosshair VI Hero RAM: 4 * 8GB G.Skill RGB DDR4 Graphics: EVGA GTX 1080 Ti SC2 Storage: Samsung 960 EVO 500GB Case: Fractal Design Meshify C PSU: EVGA 750w G3 Monitors: Dell SG2716DG +  2x Dell U2515H

 

Freenas specs:

CPU: Intel Xeon E5-2650 V2 Cooler: Some noctua cooler Motherboard: Supermicro X9 SRL-F RAM: 8 * 8GB Samsung DDR3 ECC Storage: 6 * 4TB Seagate 7200 RPM RAIDZ2 Controller: LSI H220 Case: Phanteks Enthoo Pro PSU: EVGA 650w G3

 

Phone: iPhone 6S 32 GB Space Grey

Link to comment
Share on other sites

Link to post
Share on other sites

17 minutes ago, ThatFlashCat said:

Yeah I need to get a domain for this I'm just not familiar with domain registrars. I wouldn't use this server for much, all of my accounts are connected to my gmail and I have no intention of switching them to my own mail server. It's really just because I can more than anything else.

I've used google domains and name cheap, no problems with either and both support dynamic dns updates through an agent. If you have pfsense, it natively supports both.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×