Re: smtpd Gmail relay authentication failure on OpenBSD 7.6

2025-03-27 Thread Anthony J. Bentley
Ralf Dietrich writes: >- action "relay" relay host "smtp://smtp.gmail.com:587" auth See the 'host' keyword in smtpd.conf(5), you are missing the label. And you certainly want mandatory STARTTLS rather than opportunistic when talking to GMail.

smtpd Gmail relay authentication failure on OpenBSD 7.6

2025-03-27 Thread Ralf Dietrich
Hello OpenBSD community, I’m setting up an OpenBSD 7.6 server running PostgreSQL 16.8, and I’m trying to configure smtpd to send emails from cron jobs to an external Gmail account. I’ve followed my own setup documentation (see below), but I’m hitting an authentication error when sending emails. I