
Then I checked to make sure my domain hadn't somehow been blacklisted (there are numerous online tools that'll do that for you), and peeked at the state of my MX records by running dig from the command line: dig MX I confirmed that there was nothing blocking outgoing messages from leaving my server on port 25 (SMTP). Naturally I restarted Postfix, but that didn't help. var/log/mail.err was spitting out charming messages that included things like: status=deferred (delivery temporarily suspended: connect to .:25: Connection timed out)Ĭhecking the server mailboxes told me that mail was coming in, but that Postfix couldn't establish a connection to Gmail to forward messages to my address. When I noticed something was wrong, I immediately consulted my server logs.

forward files I'd created in the home directories of the local server accounts I use for email - like /home/office/.forward - were cheerfully redirecting all the mail aimed at my business addresses to my daily-use Gmail account.

One fine day, for no discernible reason, my Ubuntu 18.04 business server stopped forwarding mail to my Gmail address.
