 Alright, hey guys, so just moved in my new place. I've been here a couple days But I wanted to do just the sort of announcement because I saw me you guys who want to read my blog know about this But because I posted about it, but I recently Made a little script that will help people set up an email server and it's not It doesn't work a hundred percent of the time it works in specific situations But I want to tell you how it works and why I did it So for the longest time I've always had like my own email address like Luke at Luke Smith dot xyz For my domain name, but I've never actually hosted an email server. I mean I did actually there was a brief period a while back But I never really I didn't really have it the way I wanted but last week or so or maybe two weeks ago I Decided to actually finally set it up with everything. I needed to like have an email set up So in the process, I'll go ahead and say in installing an email server is sort of a pain There are a bunch of moving pieces that have to fall into place for it to work perfectly And so in the process of you know, maybe three or so days. I was you know, I'd log on I'd play around with it a little bit Maybe I'd mess something up Maybe I'd have something that I don't really want and I didn't have wiping it like over and over again until I got it Right, which I probably did it like four or five times frankly Realistically that you know when the first time you set up an email server, that's how it's gonna happen That's what every everyone I talked to would set up an email server like just remember it as a miserable process, but I think I eventually was like, you know, the easiest way to do this would just be to totally replicate all my commands in a Script so I can monitor what I'm doing and I could make sure that I'm doing everything all at once So that's what I did. I basically wrote a script. You can check it out here. Actually you can download it I have it linked from my website so you can just run this command on your server Now it doesn't work everywhere. It's not like universal. It worked in my specific environment Here's the script itself and I'm using a Debian web server or just any Debian server It doesn't have to be an Apache web server or something like that But a Debian server on hosted by vulture now it might work on Ubuntu and it might work on other VPS hosts. I haven't tried them I suspect that it'll work on other VPS hosts and it you know, it might work on Ubuntu Ubuntu might come with different defaults But this works for a Debian install on a vulture VPS So if you you can just you can get one of those and run the script and you will have your own email server You have to set, you know, you'll set up your spam the spam assassin settings later Actually, I should tell you it sets up a dovecott postfix mail server and that's usually what you people want It sets up some sensible defaults like so you don't you're not like one of those old You know boomers who uses like a spool file or something like that It actually has a mail deer and you know your mail directory And of course you can log in with mb sync or any of that kind of you know Like I have MULT wizard it works perfectly with MULT wizard Of course and and really I made it to make it easy with that it also install spam assassin and Importantly one thing that people often forget is open DK. I am and that is basically for sending mail to like Gmail and Yahoo Because Gmail and Yahoo and other, you know big name accounts like that They'll also they'll often have these sort of spam filters, but they'll reject email Totally that comes from addresses that are unfamiliar or unverifiable. So open DK. I am Basically allows it so you can send mail to Gmail and stuff like that There are some people who go go without that, but I assume basically everyone wants it and I will say That I did make some design decisions that I like maybe you don't like but for example I don't use a sequel database. I think the sort of a waste of I don't know I just don't use it instead people often use sequel databases to like login to the server to store user logins I'm like that's too much So I just use like the native, you know the Pam the like the Unix login system or whatever And what that means is when you're on the server if you create a user and you create a user and add it to the mail group Well, that's now a mail account. So that's that's what I like. You don't have to have any extra Database I will say if you use this with Mutt wizard you do want to have the login name your username not just the email address So you give you'd give Mutt wizard your full email address and then when I ask for a login you'd only give You know your name so like in my case my login would be Luke because my user is Luke, okay? So again, it gives I give some of the requirements here There are so a couple things you have to set up manually you have to You have to set up an MX record the script doesn't do that because you know It might be different for different providers You have to have let's encrypt before you start so do that let's encrypt specifically for mail dot whatever dot your you know domain and You'll also at the end you have to add a text record for open DK. I am and that's just to you know verify the email address And I will say I do have this long section where I basically say This is not supposed to work for everyone. Don't expect this script to fail expect it not to work and expect You know being able to debug it. It's really just to show you Because I don't know how different everything is on different machines. Oh, and by the way Since if you are going to get a vulture account just because I'm doing this You might as well click on like I have a referral link for them And I think it gives you a $50 credit and if you stay stay with them for some amount of time If you spin through the $50 credit and then more I think I get some kind of kickback I've never actually got one because because I only started doing this recently There have been a lot of people who joined it But it takes like a year or so for people to miss spin through the credit but do click that just because I don't know Why not gets you money gets me money? But I think that's about it So check it out play around with it again Debbie and web server on vulture. That's where it totally works You do have to set a couple things up again. Just check the requirements section But it works well for me. I actually as a test I wiped my email server a couple times Just to make sure that it was still working and yeah, it works without a hitch works pretty much But if you have any problems that you know Might be universal you might want to ask me but again use it your own risk use it your own hazard But I just wanted to throw this video out there because I know it's going to be useful for someone But anyway, so I got a lot of work to do at my new house You can actually probably tell this room is extremely echoey, so I got to do something about that I have some sound pads and some other things. I'll probably throw in here But yeah, I'll probably be recording stuff and if you see this video That's good news because it means I can actually upload stuff slowly, but I can't upload stuff