Mail through SOCKS5

cytisine

New Member
Oct 12, 2025
1
0
1
Hello to all,

I use Proxmox products on a daily basis, but I could find a solution for an idea that i have.

I cant find a manual or guide to mage PMG relay the received emails to the Mail Server, but through TOR Network. Tried to make an image about what i mean but it gets too messy so i will try to explain with words.

So imagine you send an EMail from GMail to a personal Server, and PMG Incoming Host receive it. Scan it and flag it as good so it try to transfer it to a "archive" mail server so the users can read their mail. So why do we need this traffic to go through clear net, when we can transfer it to a .onion host. After the user read the message he will reply and the "archive" mail server and the "archive" mail server will relay the answer email to PMG Outgoing Host ( which will be configured with all the DKIM, SPF etc. ) and this host will send the mail to GMail again.

Can someone help me achieve this scenario. I got all the infrastructure of this scenario, but can configure the postfix to route the relay traffic through TOR ( in clean way without bash scripts ) network to .onion hosts..