Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
[SOLVED] How to change individual postfix parameters that are not in the UI?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] How to change individual postfix parameters that are not in the UI? (Read 2314 times)
Patrick M. Hausen
Hero Member
Posts: 6813
Karma: 572
[SOLVED] How to change individual postfix parameters that are not in the UI?
«
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
«
Last Edit: July 08, 2021, 08:12:21 am by pmhausen
»
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: How to change individual postfix parameters that are not in the UI?
«
Reply #1 on:
July 07, 2021, 07:16:12 pm »
It will get overwritten, do you need help with the PR?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Fright
Hero Member
Posts: 1777
Karma: 164
Re: How to change individual postfix parameters that are not in the UI?
«
Reply #2 on:
July 07, 2021, 09:27:39 pm »
hi
Quote
this 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/
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: How to change individual postfix parameters that are not in the UI?
«
Reply #3 on:
July 08, 2021, 07:55:38 am »
Yep
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Patrick M. Hausen
Hero Member
Posts: 6813
Karma: 572
Re: How to change individual postfix parameters that are not in the UI?
«
Reply #4 on:
July 08, 2021, 08:12:01 am »
Thanks, folks!
I will do as suggested. I'm fine with creating a PR myself.
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Patrick M. Hausen
Hero Member
Posts: 6813
Karma: 572
Re: [SOLVED] How to change individual postfix parameters that are not in the UI?
«
Reply #5 on:
July 20, 2021, 06:22:17 pm »
https://github.com/opnsense/plugins/pull/2469
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Fright
Hero Member
Posts: 1777
Karma: 164
Re: [SOLVED] How to change individual postfix parameters that are not in the UI?
«
Reply #6 on:
July 24, 2021, 06:40:21 pm »
Hi
@mimugmail
sorry if I interfered code review process and slowed down approval
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
[SOLVED] How to change individual postfix parameters that are not in the UI?