First of all, a quick introduction: I am new to Qubes, but have been using Linux since it’s inception in 1991. My use has mainly been for C++ development and Postgres, with the odd foray into shell scripts and awk, but not much in the way of networking or detailed configuration.
So I have successfully installed qubes on a laptop, I was hoping to use it for email and vpn as the title of this post says. Note I am not interested in 3rd party providers, I would like full control over my own server. I would like to be able to access the server remotely with say ssh from my main laptop, and also from my iPhone 13.
Now I have done a bit of investigation with ChatGPT, but I am a little reluctant to blindly follow what is says, because getting the full story relies entirely on the exact questions being asked, and it is only a LLM after all. It does seem to have some good ideas though:
ChatGPT says:
Qubes actually makes running an email server cleaner because you can isolate each function:
- Mail Gateway Qube (SMTP in/out) → e.g.
mail-gateway- IMAP Server Qube (local mailboxes) → e.g.
mail-storage- Client Qubes connect via LAN (or localhost) to the IMAP service.
- Optional: a separate DNS qube if you want to handle MX records locally.
Some details: I have a 4 port router modem provided by the ISP, along with a decent fibre optic network connection. The router forms part of a LAN with the Qubes laptop server which is based on fedora, and a smart TV and game console, and possibly wifi connections whenever I have guests. I may need to add an 8 port switch in the future to increase the size of the LAN. Obviously all this needs to be separate from the email and vpn servers. My main laptop also uses fedora, I will upgrade that to fedora 43 once I get the fibre optic connection next week. I will be getting a domain name if I decide to go ahead with this, and a UPS.
ChatGPT mentioned using this software, I wonder what people think of this idea?
If your goal is to avoid heavy, bloated groupware, you can:
- Use Postfix for SMTP → very lightweight and built into Fedora/Debian templates.
- Use Dovecot for IMAP → standard, simple to configure for local delivery.
- Store mail in Maildir format in your home directory.
- Use your iPhone or Thunderbird in another machine to connect over LAN.
Thanks in advance for any help, and I am happy to provide more details. Cheers