Hey, all. Just rolled a Proxmox Mail Gateway to replace my Mailborder gateway I've been using (they aren't developing an up-to-date version fast enough before the OS I use for it End of Lifes), and Proxmox gives me about the same functionality with less restrictions for less (FREE in some cases, though I fully intend to get a subscription at some point in the future once sales gets back to me on a few things).
Got one tiny headache which showed up after I disabled Greylisting on this mail gateway. As a result of disabling greylisting, however, the configuration templates by default did NOT disable the 10023 policy checks on the local port regarding greylisting. As a result, mail didn't flow until I manually removed that with the config template.
However, I'd like to utilize a mechanism to only add those config options in if greylisting is actually enabled; so far, I didn't see a way to do that with the configuration template's 'if' checks when ProxMox processes the mail and handles it.
Is there a way to add such an 'optional' configuration directive in the customized config template I"m applying to the Postfix configurations so that I don't have to manually add or remove the greylisting option(s), and can instead have the config generator enable or disable those options if I have greylisting enabled in the config panel?
Got one tiny headache which showed up after I disabled Greylisting on this mail gateway. As a result of disabling greylisting, however, the configuration templates by default did NOT disable the 10023 policy checks on the local port regarding greylisting. As a result, mail didn't flow until I manually removed that with the config template.
However, I'd like to utilize a mechanism to only add those config options in if greylisting is actually enabled; so far, I didn't see a way to do that with the configuration template's 'if' checks when ProxMox processes the mail and handles it.
Is there a way to add such an 'optional' configuration directive in the customized config template I"m applying to the Postfix configurations so that I don't have to manually add or remove the greylisting option(s), and can instead have the config generator enable or disable those options if I have greylisting enabled in the config panel?