10_postfix_tuning.pl perl error

  • Hello,
    imscp 1.3.0 I've some listener setted up and everyone of them works perfectly.
    I tried to use the one on subject but if i run
    perl /var/www/imscp/engine/setup/imscp-reconfigure -da
    I obtain this error:
    [ERROR] Servers::mta::postfix::postconf: Can't use string ("all") as an ARRAY ref while "strict refs" in use at /var/www/imscp/engine/setup/../PerlLib/Servers/mta/postfix.pm line 707, <$stdout> line 2.


    this is my listener:
    my %mainCfParameters = (
    'inet_protocols' => 'all',
    'inet_interfaces' => 'all',
    'smtp_bind_address' => 'xxx.xxx.xx.xx',
    'smtp_bind_address6' => '2001:4444:444:444::24',
    'relayhost' => ''
    );


    I commented out:
    # use strict;
    in /var/www/imscp/engine/PerlLib/Servers/mta/postfix.pm


    and now everything runs ok.
    What is the matter?


    thank you

  • @itcm
    Could you send me the full listener as you edited in private?

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

  • A fix has been added in the 1.3.x branch. See https://github.com/i-MSCP/imsc…e7359d82efd04f4af093a7421
    This fix will be part of next release.


    Thank you for your report.

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