Here's some useful information *before* you get started: • Some ISP's block email and/or web server ports. It's a good idea to be aware of that before you start putting everything together. • Also, in the case where you might have one router plugged into another router (say, for example, your ISP issued a router-modem all-in-one, but you still wanted to use a better router for WiFi), then you have to port forward through both routers.
Thanks for changing the effect noise, the new one gets my attention without being so much in my face and distracting me from the video. I would tune down the volume on some of the effects, they were louder than you sometimes. Overall great video, s really nice and easy to follow.
Thanks Tinkernut, I'm so glad your back to doing the more tech orientated tutorials! Do you not need to add the IMAP Port on the router as well? Also, if you wanted to add a spam protection service, such as MXGUARDDOG, that requires MX records - what would they be?
if your watching this video as a timewarner or charter spectrum customer I hope you realize that company disabled all your port forwarding capability several years back. They claimed it was for overall network security and at first made you call and get their techs to do the forwarding now they just don't allow it at all. Also all their equipment log in is being changed from defualt and other safe guards are being added to keep us out of our own equipment.
Video style improvements were not really noticeable, but whole experience in general is way better. Good job +Tinkernut. Little note: Sometimes effects were louder than you, so it was hard to hear your voice.
I looked at setting up a mail server on the Pi a few months ago and was pretty successful the problem, though, is that other mail providers will block your messages until you've been white listed on their service. I was able to send/receive messages, but Gmail sent them all to spam. That said, I'm definitely going to check this out and try that setup again.
You should do a video about securing the mail server. We could setup a waf , spamassasin , clamAV for Citadel.. The last version of citadel I saw still had a BBS built into the web UI , did they keep that feature ?
This video was just out in the right time. Thanks. Just yesterday i was checking on my national's domains (which happen to be utterly cheap and thus, awesome) I was wondering, as i was buying a PI but Lasership messed a bit with the shipment, what display are you using for your PI?
I remember you made a video similar to this a few years back, a good question i want to ask is will you make more updated and modern versions of your older videos?
Also think about back-ups. An SD card is not something I would like to store my email on. As a work-around for the filtering you could use your ISP as relay.
Do you know if this will still work if I turn off the pi at night, or will I need to reconfigure it?Also, do you know if it will work if the internet goes off at night? (I know while there is no internet it will not work, but when it goes back on should it still function) Many thanks for a great video
Are the emails stored on the server so will it be possible to view old mails ?Also can you make a video that you do that in a dedi server that has all ports open and already uses apache2 ?
hey ! i have an old Pentium 3 with 256 mb ram i was thinking about a NAS but the cpu and the sata controller wouldn't make the cut ! then i saw this video and inspired me again !! my Question is what do you recommend for a mailing platform aside from citadel ?? BTW i love the content and keep it up tnks !
The public IP can be changed by the ISP regularly (sometimes hourly), to solve this you can setup a dynamic DNS either on the router (if it supports that) or on the RPi, you basically enter the username and password for the no-ip account and by doing it this way the new Public IP will be updated on their databases. Also I have a question, can the Raspberry pi work 24/7 reliably ? I want to use it as server but I'm not sure if it can work without problems. And thanks for your great videos !
Just got into Raspberry's and got a clone actually. I'm running for a test a BitCoin miner software won't earn any money from since the capacity is not sufficient) on my clone Pi which stresses the shit out of it and it's been running stable since two weeks. So yeah they will run 24/7 perfectly!
+Afro ThuGz please tell me how will you ssh into your rasp pi via ssh when its newly setup. also how will you do the other things of the tutorial other than the command line via ssh ?
Divyansh Jha like i said, first i get a ip from the router, then i give it a static ip trough the router with putty i ssh in to it and then just follow teh rest of the tuturial that was given by tinkernut
Amazing! But let's suppose your router is off, for let's say someone didn't pay the bills. Is there a way to keep in a queue the e-mails that never reached my destination and then later after I connect back to the internet I will be able to get them?
+LIVERPOOLFRANK No, but what will happen is if someone is sending from pretty much any email server (Exchange, Hotmail, Gmail) It will retry sending over a certain period.
Most ISPs block the common SMTP ports to prevent folks from being able to send mail from home servers exactly like this, and even if you get around that issue by setting up your server on Digital Ocean or whatever you're still faced with the deliver ability issue. My money is still with Google Apps for business.
The only problem with this is a large amount of home ISPs block 25 because of spam. I know for a fact AT&T and Verizon both do. I managed to get AT&T to open mine after about 10 different phone calls to support. Also might I point out you set the webserver to 80 on TCP/UDP but web is only TCP. You also didn't set up any MX records so I'd be highly impressed if this even works.
TinkerNut man you are awesome. I have NO-IP but i pay for mine i run a couple of sites off of it. I always wanted to Run a mail server But just never had a way of doing it Thank you. Can't wait to see your next Update on this would love to see the spam filter, blacklist and whatnot. Can we do multiple email accounts and users? So i can set one up for my friend as well?
Hi Tinkernut, I liked the tutorial very much, but I have the problem that on my Raspberry a Nextcloud is already running. So every time I want to access citadel through the web browser (which is Chromium - I think that should work…), my Nextcloud opens and I can't reach my citadel… Do you have an idea to fix this?
Could you perhaps do a video about open source Active Directory options? I saw it as an option for authentication. Keep up the good work! I really like your videos.
Is it important on which port it is running? Bc i want to host a website aswell. What i need to to enter for SMTP infos when setting up with citadel in the php.ini so i can send mails via php?
Thanks for sharing a great video. - Why is these mails caught in the spam? I assume your IP is not blocked? What is estimated power consumption? I assume it supports encrypted mails?
+Benjamin Buter Petersen - Anyone can fire it up for spamsending, so mail servers operate with whitelists. Trust has to be earned:) - 1-2 Watt, less without screen, keyboard, mouse. An optional HDD consumes around 5 W. - SMTP does support encryption on Port 465. However it's not the most secure thing in the world... I recommend the use of other protocols.
9 років тому
To receive emails you have to add a MX (mail exchange) DNS record in addition of the A record
+Samuel Bétrisey no-ip.com already sets up an MX record with your IP by default. If you use another provider, then you will most likely have to manually enter it.
Tinkernut I was just wondering what if you had already like a used 1U server that could be used instead of the raspberry Pi instead? And use one of the many distributions and do the same thing. I had picked up a number of years ago and I am just getting around to getting them set up for active directory, IIS, Mail server similar to what you had shown here. With either a flavor of Linux or a decommissioned version of windows 2000 server or 2003 server OS? Since those are no longer supported from MS? Just an Idea since you can pick up a used server on cheap side to. Like $10 without memory or hard drive and just add them in as need be? Just curious what your thoughts are on this as well.
Hey Mate I have no idea what's going on! but willing to give it a go, I just went to the Raspberry Pi site to get one but don't know which one to get. Any ideas?
+Tinkernut just another question how could i do a ssl on citadel so my port 80 is more secure on the network, If you can, can you do a video on it. Thanks Again
What if I want it to send a text to another raspberry pi user. Example: I want to send a text to my friend next door without using the Internet but our own off grid Internet n email.
I remember someday I was configuring the NTP (used to synchronize time from the Internet) on my router but it fails everytime I tried. Then I discovered that my ISP had blocked this port, LOL !
What is the reason that the mails are treated as spam? Is it because the domain name is a subdomain from a free-to-use service; or because the IP is not static?
Pretty much all professional email services (Gmail, etc.) block emails from domestic ips vor at least mark them as spam. You should get a VPS (DigitalOcean or a free AWS instance for your mail Server)
Hey thinkernut, I was wondering if I could make and host my own domain name (like this.is.awesome) and host whatever i want on it. It is useful for a lot of stuff like making a website, a teamspeak server or minecraft server and this goes on and on. I didn't find any tutorial yet online, so I thought you and your fancy raspberry pi things would be able to explain it. I don't know if it's even possible, but if it is it would be awesome if you could answer my question. And if you could make a video about it that would be totally awesome! Thanks! Ps. keep making vids love 'em!
& I noticed you made a Vpn but could you show one in the pi B model. & is it possible to have both an email server and web server on the pie at once. If you could show that too. 😁😜
I dont know if this will work with a tor hidden service tunneled through a tor to web proxy for anonymous mails. I guess there is only one way to find out.
hi..i have two questions..why do you open 80 port and not the more secure 8080 (https) port?? is there a system to save the mail in the usb or in a smb service? because i think is not a good idea to save all the emal in the sd card...
Hi Tinkernut, I know it's old and all, but I was using citadel, just recently made it secure with ssl, but how do I redirect from port 80 to port 443 automatically ? ( From Http to Https ).
Somesh Kar Only if you're running a email server on port 25, most residential ISP'S block that port. Domains work unless your web server port is blocked.
I can't login it after trying to login it says Please wait.. and i can wait even 30 minutes still nothing. Im using raspberry PI 2B as server. Everything done like in your video.
What about security? You can't just send emails in plain text, you got to consider SSL! if it's going to be a public email server! SSL will stop the man in the middle from being able to read your emails. note this, if your isp blocks port "25" you can use a "relay" which you'll send the email to another provider and that provider will forward it on a different domain..
I'm still a bit stuck on the static-up thing. The thing you right click to set up the static isn't there, I just have a wifi configure for my dongle, I've tried to do it manually in the interfaces file, but I'm completely lost. Any help would be appreciated, thanks!
You could use a VPS like Digital Ocean ($5/mo). If you still wanted to house the server in your home, use the VPS as a VPN gateway and port forward from there to your Pi, which is connected to that VPN gateway.
This video in particular was somehow better in quality than hes usual videos.
Whatever you doin', keep doing it. I like it!
Wow, I'm pretty damn impressed by this. It's amazing how you keep finding simple and cheap alternatives for these things. Keep up the great work.
Here's some useful information *before* you get started:
• Some ISP's block email and/or web server ports. It's a good idea to be aware of that before you start putting everything together.
• Also, in the case where you might have one router plugged into another router (say, for example, your ISP issued a router-modem all-in-one, but you still wanted to use a better router for WiFi), then you have to port forward through both routers.
I haven't watched your videos in some years but I'm glad I stumbled back on to them. Great presentation and vary entertaining as always. Keep it up.
This is really cool! I'm not going to do it (probably), but still really interesting.
I like the humor you have been using in this video and the last. Also sound effects were so much better in this one. Good video
Thanks for changing the effect noise, the new one gets my attention without being so much in my face and distracting me from the video.
I would tune down the volume on some of the effects, they were louder than you sometimes.
Overall great video, s really nice and easy to follow.
Well done Sir. I've had this on my list of Pi projects forever. Well done. Cheers! Eric
Yay! No annoying sound effects.
Thanks Tinkernut, I'm so glad your back to doing the more tech orientated tutorials! Do you not need to add the IMAP Port on the router as well? Also, if you wanted to add a spam protection service, such as MXGUARDDOG, that requires MX records - what would they be?
I am not sure how you knew, but I was thinking of doing something like that today. And then your video showed up in the subscription feed.
hey tinkur nice to see you came back with better content
if your watching this video as a timewarner or charter spectrum customer I hope you realize that company disabled all your port forwarding capability several years back. They claimed it was for overall network security and at first made you call and get their techs to do the forwarding now they just don't allow it at all. Also all their equipment log in is being changed from defualt and other safe guards are being added to keep us out of our own equipment.
I like the steampunk style of yours
I think that sound effect is _much better._ Good job :)
Video style improvements were not really noticeable, but whole experience in general is way better. Good job +Tinkernut.
Little note: Sometimes effects were louder than you, so it was hard to hear your voice.
SReally good video about an idea that I didn't even think of using Rasberry Pi for!
This is pretty powerful stuff. How difficult would it be to make your own private (possibly encrypred?) messaging service?
straight to the point video and i like it.
thanks for sharing. can we do it on a normal mac or PC or virtual-box?
best solotion for self hostted email is mail in a box i would say. it's super easy to set up and is secure.
I looked at setting up a mail server on the Pi a few months ago and was pretty successful the problem, though, is that other mail providers will block your messages until you've been white listed on their service. I was able to send/receive messages, but Gmail sent them all to spam.
That said, I'm definitely going to check this out and try that setup again.
You should do a video about securing the mail server. We could setup a waf , spamassasin , clamAV for Citadel.. The last version of citadel I saw still had a BBS built into the web UI , did they keep that feature ?
This video was just out in the right time. Thanks. Just yesterday i was checking on my national's domains (which happen to be utterly cheap and thus, awesome)
I was wondering, as i was buying a PI but Lasership messed a bit with the shipment, what display are you using for your PI?
Nice quality basic function of mail server Tks, keep the good work coming
Very good and to the point
I remember you made a video similar to this a few years back, a good question i want to ask is will you make more updated and modern versions of your older videos?
+Microsofttechsupport I guess it depends on the project. is there a particular one you want to see redone?
Well how about you message me and we can discuss it
New Tinkernut! YUSSS
Also think about back-ups. An SD card is not something I would like to store my email on. As a work-around for the filtering you could use your ISP as relay.
Maybe pt2 video idea for +Tinker Nut, but you can setup a daily/hourly backup to an SMB share.
I don't know, but sd cards can easily be wiped
or flushed down a bathroom toilet
just saying.
out of topic but what is the mini monitor u got i want one
Do you know if this will still work if I turn off the pi at night, or will I need to reconfigure it?Also, do you know if it will work if the internet goes off at night? (I know while there is no internet it will not work, but when it goes back on should it still function) Many thanks for a great video
Are the emails stored on the server so will it be possible to view old mails ?Also can you make a video that you do that in a dedi server that has all ports open and already uses apache2 ?
Tinkernut I am ur big fan and u did it again
hey ! i have an old Pentium 3 with 256 mb ram i was thinking about a NAS but the cpu and the sata controller wouldn't make the cut ! then i saw this video and inspired me again !! my Question is what do you recommend for a mailing platform aside from citadel ?? BTW i love the content and keep it up tnks !
The public IP can be changed by the ISP regularly (sometimes hourly), to solve this you can setup a dynamic DNS either on the router (if it supports that) or on the RPi, you basically enter the username and password for the no-ip account and by doing it this way the new Public IP will be updated on their databases.
Also I have a question, can the Raspberry pi work 24/7 reliably ? I want to use it as server but I'm not sure if it can work without problems.
And thanks for your great videos !
Just got into Raspberry's and got a clone actually. I'm running for a test a BitCoin miner software won't earn any money from since the capacity is not sufficient) on my clone Pi which stresses the shit out of it and it's been running stable since two weeks. So yeah they will run 24/7 perfectly!
What is that small monitor u use for the pie?
so why was the monitor and keyboard necessary ?
i could point a ip to the raspberry pi trough my router
i would just ssh in to it ...
much easyer
+Afro ThuGz This is a beginners guide. Tell a beginner to do that and see how far you get ;-)
+Tinkernut hahaah. u rock sir.
+Tinkernut hahaah. u rock sir.
+Afro ThuGz please tell me how will you ssh into your rasp pi via ssh when its newly setup. also how will you do the other things of the tutorial other than the command line via ssh ?
Divyansh Jha
like i said, first i get a ip from the router, then i give it a static ip trough the router
with putty i ssh in to it
and then just follow teh rest of the tuturial that was given by tinkernut
Amazing! But let's suppose your router is off, for let's say someone didn't pay the bills. Is there a way to keep in a queue the e-mails that never reached my destination and then later after I connect back to the internet I will be able to get them?
+LIVERPOOLFRANK No, but what will happen is if someone is sending from pretty much any email server (Exchange, Hotmail, Gmail) It will retry sending over a certain period.
Most ISPs block the common SMTP ports to prevent folks from being able to send mail from home servers exactly like this, and even if you get around that issue by setting up your server on Digital Ocean or whatever you're still faced with the deliver ability issue. My money is still with Google Apps for business.
The only problem with this is a large amount of home ISPs block 25 because of spam. I know for a fact AT&T and Verizon both do. I managed to get AT&T to open mine after about 10 different phone calls to support. Also might I point out you set the webserver to 80 on TCP/UDP but web is only TCP. You also didn't set up any MX records so I'd be highly impressed if this even works.
Awesome tutorial, I love it
Wow you are a smart computer dude!!
TinkerNut man you are awesome. I have NO-IP but i pay for mine i run a couple of sites off of it. I always wanted to Run a mail server But just never had a way of doing it Thank you. Can't wait to see your next Update on this would love to see the spam filter, blacklist and whatnot. Can we do multiple email accounts and users? So i can set one up for my friend as well?
The sound effect for the popups was fine before, just a little bit loud. You have the same issue now as before.
Hi Tinkernut, I liked the tutorial very much, but I have the problem that on my Raspberry a Nextcloud is already running. So every time I want to access citadel through the web browser (which is Chromium - I think that should work…), my Nextcloud opens and I can't reach my citadel… Do you have an idea to fix this?
Could you perhaps do a video about open source Active Directory options? I saw it as an option for authentication. Keep up the good work! I really like your videos.
there are few "all encompassing" AD alternative, other then redhat and Centos's directory, but AD is basicly LDAP
This basic email server works only with a static IP address or it can also be setup with a dynamic IP address ????
can i do this for an existing server with mysql and apache ?
What monitor is that and is it any good?
great job man keep up the good work
Poetry my friend, poetry!
Is it important on which port it is running? Bc i want to host a website aswell. What i need to to enter for SMTP infos when setting up with citadel in the php.ini so i can send mails via php?
where did you buy the monitor
Thanks for sharing a great video. - Why is these mails caught in the spam? I assume your IP is not blocked? What is estimated power consumption? I assume it supports encrypted mails?
+Benjamin Buter Petersen
- Anyone can fire it up for spamsending, so mail servers operate with whitelists. Trust has to be earned:)
- 1-2 Watt, less without screen, keyboard, mouse. An optional HDD consumes around 5 W.
- SMTP does support encryption on Port 465. However it's not the most secure thing in the world... I recommend the use of other protocols.
To receive emails you have to add a MX (mail exchange) DNS record in addition of the A record
+Samuel Bétrisey no-ip.com already sets up an MX record with your IP by default. If you use another provider, then you will most likely have to manually enter it.
i love how its human nature that if tinkernut replies to a comment everyone keeps replying to get his attention, lol
Tinkernut I was just wondering what if you had already like a used 1U server that could be used instead of the raspberry Pi instead? And use one of the many distributions and do the same thing. I had picked up a number of years ago and I am just getting around to getting them set up for active directory, IIS, Mail server similar to what you had shown here. With either a flavor of Linux or a decommissioned version of windows 2000 server or 2003 server OS? Since those are no longer supported from MS? Just an Idea since you can pick up a used server on cheap side to. Like $10 without memory or hard drive and just add them in as need be? Just curious what your thoughts are on this as well.
Hey Mate
I have no idea what's going on! but willing to give it a go, I just went to the Raspberry Pi site to get one but don't know which one to get. Any ideas?
wow i love all these kind of videos i subbed
Will it work on WAN or just only with LAN?
+Tinkernut just another question how could i do a ssl on citadel so my port 80 is more secure on the network, If you can, can you do a video on it. Thanks Again
What keyboard/monitor/raspberry pi is that and if it comes in a set could you link me to it.
What if I want it to send a text to another raspberry pi user.
Example: I want to send a text to my friend next door without using the Internet but our own off grid Internet n email.
does it have smtp details to use in other 3rd parties program?
Port fwdng works if ip is behind NAT/cgnet?
that is if your isp dosent block port 25 ehehe
I remember someday I was configuring the NTP (used to synchronize time from the Internet) on my router but it fails everytime I tried. Then I discovered that my ISP had blocked this port, LOL !
lollollollollollollollollollollollollollollollollollollollollollollol my isp does not block TeamSpeak in fact I have a ts server
+James Fish my isp blocked port 80, 22, 443, and 696969696969969....jk lol
bummer
Fun tutorial! Thanks Tinkernut! :)
could you do a rubiks cube solving robot with cd row servos? plz
HI i don't get the SMTP option in my administrator page, what can i do to fix it?
Better than usual! "IP He V 4" tho.
What is the reason that the mails are treated as spam? Is it because the domain name is a subdomain from a free-to-use service; or because the IP is not static?
Pretty much all professional email services (Gmail, etc.) block emails from domestic ips vor at least mark them as spam. You should get a VPS (DigitalOcean or a free AWS instance for your mail Server)
I FUCKING LOVE YOU MAN YOU JUST SAVED MY SCHOOL FINAL PROJECT !!! THANKS ❤
Can't get past login, it's always stuck on "please wait" after i enter my login and passw :/
Good video, but I have problem db: cursor still in progress on cdb 00: attempt to write during r/o cursor. Please you can help me?
I followed your instruction I can receive email but sending email nothing did arrive.
Hey thinkernut,
I was wondering if I could make and host my own domain name (like this.is.awesome) and host whatever i want on it. It is useful for a lot of stuff like making a website, a teamspeak server or minecraft server and this goes on and on. I didn't find any tutorial yet online, so I thought you and your fancy raspberry pi things would be able to explain it.
I don't know if it's even possible, but if it is it would be awesome if you could answer my question. And if you could make a video about it that would be totally awesome!
Thanks!
Ps. keep making vids love 'em!
& I noticed you made a Vpn but could you show one in the pi B model. & is it possible to have both an email server and web server on the pie at once. If you could show that too. 😁😜
Just run email web server on different port and install apache
Hillary Clinton has seen this video
+havingMC Okay, so I wasn't the first one to think: *Hillary* upon seeing this video
That was my first thought lol
+havingMC Took you a while Hillary, I want TrumpCare!
+theultimaterockr same
I dont get it
I love your vids.
Is linux os necessary? Can we do the same with windows?
slightly lower the volume of the footer sound effect and you are good
Will this work with my Apple Airport Time Capsule?
but can somebody else join the same domain and how?
I HAVE a Pi! I'm totally doing this!
you can do this even no your laptop with ubunt (if you have one)
I dont know if this will work with a tor hidden service tunneled through a tor to web proxy for anonymous mails. I guess there is only one way to find out.
Do a tutorial on that magic mirror thing where it's a mirror, but it can show usefull information aswell. I'm no good at describing this...
hi..i have two questions..why do you open 80 port and not the more secure 8080 (https) port?? is there a system to save the mail in the usb or in a smb service? because i think is not a good idea to save all the emal in the sd card...
1.because he dont have cetificate buyed 2. yes
Hi Tinkernut, I know it's old and all, but I was using citadel, just recently made it secure with ssl, but how do I redirect from port 80 to port 443 automatically ? ( From Http to Https ).
Good tutorial. But, how do you use a purchased domain? I mean, CNAME and domain A records. Any ideas?
Point mx of that domain to your ip
Yeah. Sure. But the place where I live has some ports blocked and it doesn't work out for me.
Somesh Kar Only if you're running a email server on port 25, most residential ISP'S block that port. Domains work unless your web server port is blocked.
I can't login it after trying to login it says Please wait.. and i can wait even 30 minutes still nothing. Im using raspberry PI 2B as server. Everything done like in your video.
the pop is nice, but the bottom banner sound could go
can you please teach on how to do this with php
What about security?
You can't just send emails in plain text, you got to consider SSL! if it's going to be a public email server!
SSL will stop the man in the middle from being able to read your emails.
note this, if your isp blocks port "25" you can use a "relay" which you'll send the email to another provider and that provider will forward it on a different domain..
keep it up:) looking forward for more videos.
How do you use a legit dns address. Ddns is always spam
can i do this do from whonix os?
I'm still a bit stuck on the static-up thing. The thing you right click to set up the static isn't there, I just have a wifi configure for my dongle, I've tried to do it manually in the interfaces file, but I'm completely lost. Any help would be appreciated, thanks!
Static IP**
you can set static ip in your router dhcp settings
Please do a raspberry pi NAS updated version...
could you make a more up to date video like this but not needing to use a pi ??
My ISP has me behind a NAT so this is not possible :(.
Reverse ssh tunneling is the only work around I can think of.
Any thoughts?
You could use a VPS like Digital Ocean ($5/mo). If you still wanted to house the server in your home, use the VPS as a VPN gateway and port forward from there to your Pi, which is connected to that VPN gateway.