Re: Postgres backend missing?

2019-12-08 Thread Martijn van Duren
$ pkg_info -Q opensmtpd-extras
...
opensmtpd-extras-pgsql-6.4.0p0v0
...

On 12/8/19 7:04 PM, Norman Golisz wrote:
> Hi,
> 
> I'm currently migrating an old instance of OpenSMTPD (6.3) on OpenBSD to
> current.
> 
> This setup uses Postgres as backend for the user database. Now, it seems
> the Postgres backend is gone, because smtpd claims there is no such
> backend. Then I've installed the opensmtpd-extras package to no avail.
> 
> So, is the Postgres backend gone forever, WIP, or am I just failing to
> read manuals properly?
> 
> Thanks!
> 
> Norman
> 
> 



Postgres backend missing?

2019-12-08 Thread Norman Golisz
Hi,

I'm currently migrating an old instance of OpenSMTPD (6.3) on OpenBSD to
current.

This setup uses Postgres as backend for the user database. Now, it seems
the Postgres backend is gone, because smtpd claims there is no such
backend. Then I've installed the opensmtpd-extras package to no avail.

So, is the Postgres backend gone forever, WIP, or am I just failing to
read manuals properly?

Thanks!

Norman




OpenSMTPd smtp client utility parsing bug

2019-12-08 Thread Me
Hello smtpd guys.

The OpenSMTPd smtp(1) client utility
can't corretly parse the -s server option.

According to the manpage the format of server is
[proto://[user:pass@]]host[:port]


user == myname@domain
pass == pa:ss:wor:d

When "user" contains the '@' character(exp myname@domain) or
the "pass" contains the ':' character(pass:word)
I get the "invalid credentials" error.

I look at the source code,
the smtp(1) program doesn't consider these cases.

-- 
kevin