Hi, Any news with this patch? I don't see it in 3.2.4 yet.
2016-12-12 1:06 GMT+01:00 Wietse Venema <wie...@porcupine.org>: > Magos?nyi, ?rp?d: > > On 12/11/2016 07:58 PM, Wietse Venema wrote: > > > Magos?nyi, ?rp?d: > > >> Hi, > > >> > > >> I am using postfix-pgsql with ssl authentication. Therefore I need to > > >> provide a connection string for postgres connections. A patch is > > >> attached to do so. > > >> > > >> See https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1553928 > for > > >> more details. > > > Thanks for the code. Can you document the "postgresql:" prefix in > > > proto/pgsql_table, i.e. the source code for the pgsql_table(5) > > > manpage? > > > > > > Wietse > > > > Here you are. > > > > Is there a gthub repo? Sending pull requests is less last millenium. > > Thanks. I'll queue this with the other part. Postfix does not change > often, so patch against a stable release is probably your best bet. > > Wietse > > > --- pgsql_table.orig 2016-12-11 20:53:49.030543785 +0100 > > +++ pgsql_table 2016-12-11 20:56:44.386592266 +0100 > > @@ -89,10 +89,12 @@ > > # .IP "\fBhosts\fR" > > # The hosts that Postfix will try to connect to and query from. > > # Specify \fIunix:\fR for UNIX-domain sockets, \fIinet:\fR for TCP > > -# connections (default). Example: > > +# connections (default), of \fIpostgresql:\fR if you use a connection > > +# string. Example: > > # .nf > > # hosts = host1.some.domain host2.some.domain:port > > # hosts = unix:/file/name > > +# hosts = > > postgresql://usern...@hostame.org/tablename?sslmode=require > > # .fi > > # > > # The hosts are tried in random order, with all connections over > > > > >