Ok - I had messed up my previous exim4 configuration, so I fully
uninstalled, removed configuration and re-installed exim4.
I am trying to get exim4 send my email to a gmail account.
I have followed this, and am using unsplit configuration:
https://wiki.debian.org/GmailAndExim4
$ echo "blah" | mail -s "test" myemail@???
The logs unfortunately say:
2014-04-16 21:39:58 1WaVgc-0002z2-BS IPv6 socket creation failed:
Address family not supported by protocol
2014-04-16 21:39:58 1WaVgc-0002z2-BS gmail-smtp-msa.l.google.com
[2a00:1450:400c:c03::6d] Address family not supported by protocol
I add
disable_ipv6='true'
to /etc/exim4/update-exim4.conf.conf
Then, update-exim4.conf, invoke-rc.d exim4 restart
And, I get the IPv6 log again... :(
If I check this, it looks like my disable_ipv6 command was not taken
into account:
$ exim -bP disable_ipv6
no_disable_ipv6
The configuration file exim4 uses is:
$ exim4 -bV
Exim version 4.80 #3 built 13-Jan-2013 05:36:41
...
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
...
Configuration file is /var/lib/exim4/config.autogenerated
But after reading the doc ($ gzip -dc
/usr/share/doc/exim4/README.Debian.gz | less), I think this is normal
and I should not touch this configuration file.
Yet, the fact is that I can't send email, and that it complains about
IPv6 and I don't know how to cope with that...
Regards
Axelle