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.

Re: Suppressing security warnings

2025-03-27 Thread Ingo Schwarze
[I have added Cc: MAINTAINER of devel/got, stsp@.] Hello Jon, hello Stefan, Jon Higgs wrote on Thu, Mar 27, 2025 at 01:27:24PM +1100: > On Thu, 27 Mar 2025 10:55:13 +1100, Jon Higgs wrote: >> Is there any way to control this? Or am I holding something wrong, and >> these warnings are an artifac

Re: Suppressing security warnings

2025-03-27 Thread Jon Higgs
On 27/03/25 07:05, Sebastien Marie wrote: > does using an empty password work ? > > $ encrypt '' > $2b$09$s50wc1NMzJnZQGCW171wyePdahWA3TOq632BI44d0skN.Mt.yYRLm Thanks, it does! I'll use that for now but I think that Ingo's proposal is real solution. I'm looking forward to that coming to fruition.

Re: Comment on /etc/myname vs /etc/hostname

2025-03-27 Thread Andrew Daugherity
On Mon, Mar 24, 2025 at 5:40 PM Peter N. M. Hansteen wrote: > The /etc/myname and /etc/mygate have been in OpenBSD for as far back as I can > remember tinkering with the system, and it would not surprise me a whole lot > if the naming was decided back in the CSRG days or possibly even earlier. Be

Re: Comment on /etc/myname vs /etc/hostname

2025-03-27 Thread Jonathan Gray
On Thu, Mar 27, 2025 at 06:18:43PM -0500, Andrew Daugherity wrote: > On Mon, Mar 24, 2025 at 5:40 PM Peter N. M. Hansteen wrote: > > The /etc/myname and /etc/mygate have been in OpenBSD for as far back as I > > can > > remember tinkering with the system, and it would not surprise me a whole lot >

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