On Sat, Oct 10, 2020 at 04:04:30PM -0500, Ranjan Maitra wrote: > I have postfix running on both my home and office machines. I am able > to send e-mail from my office machine (that uses my employer's > mailhub, etc), but not from my home machine when using my office > e-mail address as the sender's address. However, I am able to connect > via ssh+vpn with 2FA to my office machine. My question is: can I set > my home machine's postfix up such that I can send e-mail through the > ssh tunnel to my office machine (sorry for my non-technical > description). How do I do this, if possible?
Your question is not sufficiently detailed/precise for an answer to be possible. You need to provide more details about the SSH VPN. - Does it allow port forwarding? Or just terminal and perhaps X11 sessions? - What ports if any can you forward? - Any other relevant details... Also: - Do you ever send email to office recipients from your non-office email address? How do you want these to be routed? - If you do use your office address as a sender address, but a message is not deliverable, how should the bounce be routed? -- Viktor.