> That is the correct configuration directive. In a normal Exim config,
> you'd just add it in the main section near the top of
> /etc/exim/exim.conf. However Debian does this non-standard thing where
> the config is split across several files and it constructs a real
> config for you using those files. That "disable_ipv6 = true" directive
> needs to end up in the main section of the final Exim config. I'm
> guessing that means you need to put it in one of the files in
> /etc/exim4/conf.d/ or something? I use Debian myself, but the first
> thing I do after installing Exim is an "rm -rf /etc/exim4/*" and then
> create an exim4.conf manually.
Ok, I found the solution. I am not using slit config, so not the conf.d
dir.
I put disable_ipv6 = true rather at the beginning of the file:
exim_path = /usr/sbin/exim4
disable_ipv6 = true
and it works. It accepts the configuration, and accepts the options.
$ exim4 -bP disable_ipv6
disable_ipv6
So, that's a first step at least.
But my emails aren't sent. For reminder, I'm trying to have them sent to
my gmail account. I have followed this
https://wiki.debian.org/GmailAndExim4
and the logs say:
2014-04-18 22:18:58 1WbFFS-0005ro-Fj <= xxx@??? U=axelle P=local S=488
2014-04-18 22:18:58 1WbFFS-0005ro-Fj == xxx@??? R=smarthost
T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2014-04-18 22:19:29 Start queue run: pid=22565 -qff
2014-04-18 22:21:37 1WbFFS-0005ro-Fj gmail-smtp-msa.l.google.com
[173.194.67.108] Connection timed out
2014-04-18 22:23:06 Start queue run: pid=22574 -qff
2014-04-18 22:25:14 1WbFFS-0005ro-Fj gmail-smtp-msa.l.google.com
[173.194.67.108] Connection timed out
> FWIW, there is a Debian specific Exim mailing list where you might get
> better help:
>
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
Thanks I'll go and see there if any hint.
-- Axelle