listener script not working properly

  • Hello everybody,


    i'm currently in Fight with some listener-Files. And hope you can help me.


    System-Data:
    Ubuntu 14.04.2 LTS
    Codename andromeda
    Version 1.2.0


    Listener-Files:
    10_apache_dualstack.pl -> Works like a charm.
    10_postfix_tuning.pl -> works not as intended. (see blow)
    20_bind9_dualstack.pl -> works only partially.



    Postfix-Tuning:



    Code
    1. my %mainCfParameters = (
    2. 'inet_protocols' => 'ipv4,ipv6',
    3. 'inet_interfaces' => 'all',
    4. 'smtp_bind_address' => '123.123.123.123',
    5. 'smtp_bind_address6' => '2001:db8::1',
    6. # 'relayhost' => '123.123.123.123:125',
    7. 'smtp_address_preference' => 'ipv6'
    8. );

    To activate this i ran "/var/www/imscp/engine/imscp-setup -r mta"


    The result: The hookfile changes the Config-File for a short period of time. Not all parameters are set (especially the last 2 aren't set) - after a short time (when setup proceeds) the file gets overwritten. So no changes are made.



    Bind9 Dualstack:


    Some Curiosity happens:
    This listener file creates the correct records for the "standard"-domain. Each subdomain oder custom-dns-entry is missing.



    Since i'm not able to add manually the AAAA-Records to the base-domain and / or www this is really not so good.
    Hope somebody can help me.


    Regards,
    rurcoasteagle

  • Hello ;


    I'll test for the 10_postfix_tuning.pl listener file. For the 20_bind9_dualstack.pl , please wait @Ninos answer ;)

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

  • After investigating with @Nuxwin 20_bind9_dualstack.pl should work now. Forgot to replace an old variable :)
    Due the 10_postfix_tuning.pl, I've tested and all worked fine. The param will not be consecutively, if already exists. The param will just be changed with postconf. May because of that you was confused. I also haven't seen some overwritings after running the setup script.


    Thanks for feedback.


    PS: I've tested with your settings