[bug] disable_ipv6=true is ignored when added into /etc/exim.variables.conf.custom

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,143
Location
GMT +7.00
Hello,

disable_ipv6=true is ignored when added into /etc/exim.variables.conf.custom

Code:
# cat exim.variables.conf.custom
disable_ipv6=true

the only way to make it to work is to add a whitespace after "=":

Code:
# cat /etc/exim.variables.conf.custom
disable_ipv6= true

Kindly check and fix if it's a bug.
 
Thanks for the report. I believe I've found/fixed the bug.

Was because CB does a check for ipv6=0|1 in the directadmin.conf, and does a perl regex accordingly.
The value set would have been there, but only briefly, before the regex changed it.

I've altered CB2 to only regex on the exim.variables.conf.default, allowing you to add an override.

John
 
I actually found this issue myself, because I send 'message system' messages to a gmail address, they were sent to spam..... Realised exim was listening on ipv6 even though I added false to custom.... then I manually added it to the actual .conf file.

No doubt the reason we disable ipv6 is this?
 
That explains why I had problems with it in Exim. Might give it another try then.
 
ipv6 not disabled

I have added disable_ipv6=true to /etc/exim.variables.conf.custom . I also changed ipv6 to 0 in directadmin.conf . THis does not make exim ignore the ipv6 mechanism. It was after updating exim.conf to 4.5.0 that I could no longer add disable_ipv6=true to exim.conf as that would stop exim from (re)starting .

So I'm still stuck with ipv6 being active on exim. If adding the appropriate changes to exim.conf and directadmin.conf does not work, and disable_ipv6=true no longer works in exim.conf , how can I then disable ipv6 on exim ?
 
Hello Erik,

after you changed directadmin.conf by setting ipv6=0 you should run:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build eximconf

to get exim.conf updated in conjunction with the changes. And make sure that the commands do not produce errors.
 
Just tried to disable IPv6 in Exim but the bug seems to be still there. Only way to make disable_ipv6=true work is to change it in exim.variables.conf. Putting the line in exim.variables.conf.custom (with or without space) is ignored by DA/Exim.
 
Just tried to disable IPv6 in Exim but the bug seems to be still there. Only way to make disable_ipv6=true work is to change it in exim.variables.conf. Putting the line in exim.variables.conf.custom (with or without space) is ignored by DA/Exim.
You have to ./build exim_conf after editing the custom file
 
Thanks Peter, must have overlooked that. Besides doing a ./build exim_conf I also had to put in a 'hard return' after the line disable_ipv6=true in file exim.variables.conf.custom. Works ok now.
 
Back
Top