Set up the LinuxLAN device to connect with a Gmail SMTP relay without accessing the internet directly.
Set up the LinuxLAN device to connect with a Gmail SMTP relay without accessing the internet directly.
Hi everyone, I'm trying to set up my LAN devices to send emails through Gmail while keeping them isolated from the internet. After spending a lot of time adjusting Postfix and EXIM4, I hit a snag with EXIM4 because it couldn't resolve my domain. I have a domain, but I don’t want to expose my server directly to the internet for this purpose—it’s already handled by a mail server. I’m hoping for a solution that lets my devices receive emails, forward them to my public Gmail address via SMTP, and ideally run this setup using Docker. Is this something I should be expecting? Thanks ahead!