OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: Patrick M. Hausen on July 07, 2021, 01:49:25 PM

Title: [SOLVED] How to change individual postfix parameters that are not in the UI?
Post by: Patrick M. Hausen on July 07, 2021, 01:49:25 PM
Hello,

I could not find an "advanced options" field in the postfix plugin, but need to change one individual parameter where IMHO the default does not make sense.

The parameter is:

delay_warning_time

with a default setting of "0". But of course the user *wants* a notification when mail gets delayed for more than, say, 4 hours.

When I change that in master.cf - will that be overwritten with every change made in the UI? Or will it stay as configured?

Patch and pull request to follow - this is just asking how to get an immediate fix, now.

Thanks!
Patrick
Title: Re: How to change individual postfix parameters that are not in the UI?
Post by: mimugmail on July 07, 2021, 07:16:12 PM
It will get overwritten, do you need help with the PR?
Title: Re: How to change individual postfix parameters that are not in the UI?
Post by: Fright on July 07, 2021, 09:27:39 PM
hi
Quotethis is just asking how to get an immediate fix, now
imho for immediate fix you need to add this to main.cf template at /usr/local/opnsense/service/templates/OPNsense/Postfix/
Title: Re: How to change individual postfix parameters that are not in the UI?
Post by: mimugmail on July 08, 2021, 07:55:38 AM
Yep :)
Title: Re: How to change individual postfix parameters that are not in the UI?
Post by: Patrick M. Hausen on July 08, 2021, 08:12:01 AM
Thanks, folks!

I will do as suggested. I'm fine with creating a PR myself.

Patrick
Title: Re: [SOLVED] How to change individual postfix parameters that are not in the UI?
Post by: Patrick M. Hausen on July 20, 2021, 06:22:17 PM
https://github.com/opnsense/plugins/pull/2469
Title: Re: [SOLVED] How to change individual postfix parameters that are not in the UI?
Post by: Fright on July 24, 2021, 06:40:21 PM
Hi
@mimugmail
sorry if I interfered code review process and slowed down approval