10_postfix_tuning.pl: no all values changeable?

  • I added 10_postfix_tuning.pl as listener which basically works fine, but some values don't seem to be considered. For example:


    'virtual_transport' => 'lmtp:localhost:24'


    'smtpd_tls_loglevel' => '1'
    'smtp_tls_loglevel' => '1'


    Are there any limitations?

  • @biologist


    Are there any limitations?


    Well, that is a concurrency problem ;) The i-MSCP server packages also listen on the afterMtaBuildConf event. Thus, because the listener from the 10_postfix_tuning.pl listener file is registered early, the changes get overriden by the listeners that are registered by the i-MSCP server packages...


    In a later version we will solve the issue by adding support for listener priorities, using a priority queue. For now, you can try to edit the listener and listen on the afterMtaBuildAliasesDb event instead of the afterMtaBuildConf event. Just change afterMtaBuildConf by afterMtaBuildAliasesDb in your listener file. Note that this is only a workaround.


    Once the change is done, don't forget to trigger a reconfiguration.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I already expected this behavior, but I wasn't sure if I'm doing something wrong.
    Anyhow, I'm fine with this workaround.


    Question answered - thank you (especially for the quick reply => as always :-) ).

  • @biologist


    The priority queue will be implemented in version 1.4.4 and the listener files will be updated when needed.


    Thank you for your feedback.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206