I just wanted to see what other selfhosters backup emergency plan is if the primary internet router goes offline but the internet isn't out (ie a router reboot would fix the problem), leaving you without access to your stuff even via vpn.
the options I've considered so far:
- cellular smart plug to reboot router
I tried a ubibot smart plug (SP1) that is supposed to work with cellular, but the device or sim is bad. I'm currently troubleshooting. The problem with this one is it requires a proprietary cloud service, it's supposedly self hostable, but it's a pia to setup and their app port can't be changed easily allowing for a reverse proxy setup on VPS.
- the other option I am considering is cellular wifi router and a wifi smart plug connected to that device to reboot router
what other options have I overlooked? Also, specific models of devices would be helpful info from others doing this already.
TIA!
Edit: also just thought of possibly a cellular internet backup on my opnsense box, but from everything I've read that's also very involved to setup
Edit2: I've setup a homeassistant automation to reboot a zigbee smart plug if 2 external hosts are down for 15 mins, will try this out for a bit. I still need tp troubleshoot why the device goes down in General. Thanks for all the responses and ideas!
I just did this last week. I originally tried stalwart as that seemed to be a pretty small footprint (1 docker container) and had built-in PGP support. But I couldn't get the built in acme bot to work with my dns provider, maybe you'll have better luck.
I then tried mailcow and had e-mail flowing in under an hour. Of note, there are a lot of containers if you go the docker route, some may not be necessary if you just want email. I have so far left the default containers running as I don't really care about the extra containers, it's all running on a vm w 5 GB of RAM. I'm not concerned about PGP at this point as the server hard disk is encrypted via LUKs.
I can't speak to your first 2 questions, dovecot comes with mailcow, but I didn't have to set any specific settings for it.
I port forward directly to the vm, but it's on it's own isolated VLAN. use 993 for imap instead of 143, it requires SSL if using a proper mail server.
I use thunderbird for desktop and fairmail for android. mailcow dockerized does come with it's own webclient SoGo, which didn't seem too bad if that's what you prefer.
I hope this helps!