[pfx] Re: Postscreen & HAProxy Protocol v2

2023-12-07 Thread Wietse Venema via Postfix-users
duluxoz via Postfix-users:
> Hi All,
> 
> When using `postscreen_upstream_proxy_protocol = haproxy` is there 
> anything "special" that needs to be specified to ensure the use of v2 of 
> the haproxy protocol, or does postfix automatically detect which version 
> of the haproxy protocol is in use? The doco isn't clear (to me, anyway). :-)

The protocols are very different, so Postfix has no problem
figuring out the protocol version.

Wietse
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: postsrsd

2023-12-07 Thread Doug Hardie via Postfix-users
> On Dec 7, 2023, at 00:27, patpro--- via Postfix-users 
>  wrote:
> 
> December 7, 2023 9:12 AM, "Doug Hardie via Postfix-users" 
>  wrote:
> 
>> Indeed: postsrsd upgraded: 1.10 -> 2.0.8_1,1
> 
> OK. I’m still running 1.10 : it does not use a config file. Configuration is 
> only in /etc/rc.conf.
> It’s normal that config files for 2.0.8 are new and not tunned.

That is useful information.  Thanks.  I'll have to read the Upgrading document 
again.  There were 70 some ports upgraded and I missed this change.

-- Doug


___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: postsrsd

2023-12-07 Thread patpro--- via Postfix-users
December 7, 2023 9:12 AM, "Doug Hardie via Postfix-users" 
 wrote:

> Indeed: postsrsd upgraded: 1.10 -> 2.0.8_1,1

OK. I’m still running 1.10 : it does not use a config file. Configuration is 
only in /etc/rc.conf.
It’s normal that config files for 2.0.8 are new and not tunned.

regards,
patpro
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: postsrsd

2023-12-07 Thread Doug Hardie via Postfix-users
> On Dec 6, 2023, at 23:48, patpro--- via Postfix-users 
>  wrote:
> 
> December 6, 2023 10:00 AM, "Doug Hardie via Postfix-users" 
>  wrote:
> 
>> I just upgraded FreeBSD from 13.2 to 14.0. Postfix just picked up and ran 
>> fine. However postsrsd is
>> causing me a few issues. I get the impression that postsrsd got updated, but 
>> I can't tell for sure.
> 
> FreeBSD does not work like this.

Ah, but it does if you follow all the instructions.

> 
> postsrsd is not part of the «base system» so it’s not upgraded automatically 
> when you upgrade from FreeBSD 13.2 to 14.0. It’s standard procedure, though, 
> to reinstall every ports/pkg after a system upgrade but that particular step 
> is explicit and up to you.

All of that is correct and that is exactly what I did.  The instructions said 
to do that and I did.  I'ts part of the upgrade process even though it's a 
separate step.
> 
> You might find in your /var/log/messages the log of `pkg` actions.

Indeed:  postsrsd upgraded: 1.10 -> 2.0.8_1,1

That explains why there were issues.  It was a major revision.

> 
> Any way, a pkg upgrade SHOULD NOT replace your config file.
> And you SHOULD use ZFS snapshots (install zfsnap, setup periodic.conf.local 
> and forget about it) AND backups.

I can't say if there was a config file before or not.  But both config and 
config.sample have exactly the same dates as reported by stat (1).  They were 
also identical.  Diff showed no differences.

-- Doug

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org