Mailing List Archive

IPV6 error in exim, though disable_ipv6=true
Hello,

I am trying to set up exim4 to use my gmail account. But mail is queued
and is never sent because the log says:

2014-04-10 22:48:05 Start queue run: pid=12623 -qff
2014-04-10 22:48:05 1WYK8P-0001YZ-Ix IPv6 socket creation failed:
Address family not supported by protocol
2014-04-10 22:48:05 1WYK8P-0001YZ-Ix gmail-smtp-msa.l.google.com
[2a00:1450:400c:c03::6c] Address family not supported by protocol

I have Exim 4.80 with support for
crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM

In /etc/exim4/update-exim4.conf.conf, I have at the end:

disable_ipv6='true'
dns_ipv4_lookup='*'

I have reloaded my configuration and restarted exim4:
# update-exim4.conf
# service exim4 restart

Restarts fine, but mail gets queued, and telling it to process the queue:
# exim -qff

results in that log error in /var/log/exim4/mainlog.

Can somebody help me out ?

Thanks!

PS. If that helps, I'm on a Raspberry Pi, Raspbian.




--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim, though disable_ipv6=true [ In reply to ]
On 12/04/14 19:46, Privacy wrote:
> 2014-04-10 22:48:05 1WYK8P-0001YZ-Ix IPv6 socket creation failed:
> Address family not supported by protocol
[...]
> disable_ipv6='true'
> dns_ipv4_lookup='*'

This sounds like http://bugs.exim.org/show_bug.cgi?id=1374
which is unresolved. Please add your info there.
--
Thanks,
Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim, though disable_ipv6=true [ In reply to ]
Privacy <axelle.apvrille@gmail.com> (Sa 12 Apr 2014 20:46:16 CEST):
> Hello,
>
> I am trying to set up exim4 to use my gmail account. But mail is queued
> and is never sent because the log says:
…
> In /etc/exim4/update-exim4.conf.conf, I have at the end:
>
> disable_ipv6='true'
> dns_ipv4_lookup='*'
>
> I have reloaded my configuration and restarted exim4:
> # update-exim4.conf
> # service exim4 restart
>
> Restarts fine, but mail gets queued, and telling it to process the queue:
> # exim -qff

Check if the option made it to the configuratiion:

exim -bP disable_ipv6

should tell you the used value. Maybe it helps you further debugging
this issue.


Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-
Re: IPV6 error in exim -> now "unrouteable" [ In reply to ]
Hi Heiko & list,

Thanks for the tip.

On 13/04/2014 15:07, Heiko Schlittermann wrote:
> Privacy <axelle.apvrille@gmail.com> (Sa 12 Apr 2014 20:46:16 CEST):
>> Hello,
>>
>> I am trying to set up exim4 to use my gmail account. But mail is queued
>> and is never sent because the log says:
> …
>> In /etc/exim4/update-exim4.conf.conf, I have at the end:
>>
>> disable_ipv6='true'
>> dns_ipv4_lookup='*'
>>
>> I have reloaded my configuration and restarted exim4:
>> # update-exim4.conf
>> # service exim4 restart
>>
>> Restarts fine, but mail gets queued, and telling it to process the queue:
>> # exim -qff
>
> Check if the option made it to the configuratiion:
>
> exim -bP disable_ipv6

This tells me:
no_disable_ipv6

which I guess is not good :(

However, I did a few things:
- I had both a /etc/exim4/conf.d directory (split config) and a
exim4.conf.template (unique file). I removed the conf.d directory to be
sure it'd read the unique config file.

- The config file is named 'exim4.conf.template'. Is that really
correct? In doubt, I duplicated it to exim4.conf.

+ I have a update-exim4.conf.conf file.

Now, restarting exim4 I have in the logs:

2014-04-14 22:43:43 exim 4.80 daemon started: pid=32736, -q30m,
listening for SMTP on port 25 (IPv4)
2014-04-14 22:43:43 Start queue run: pid=32741

that's good.

Then I do a exim -qff and the logs say:

2014-04-14 22:44:45 Start queue run: pid=300 -qff
2014-04-14 22:44:45 1WZ4qE-0005vb-JJ Unfrozen by forced delivery
2014-04-14 22:44:45 1WZ4qE-0005vb-JJ ** MYEMAIL@gmail.com: Unrouteable
address
2014-04-14 22:44:45 1WZ4qE-0005vb-JJ Frozen (delivery error message)

So, this looks different, doesn'it it? Why is it "unrouteable" ?

Regards

Axelle


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> now "unrouteable" [ In reply to ]
Privacy <axelle.apvrille@gmail.com> (Mo 14 Apr 2014 22:46:29 CEST):
> Hi Heiko & list,
>
> Thanks for the tip.
>
> On 13/04/2014 15:07, Heiko Schlittermann wrote:
> > Privacy <axelle.apvrille@gmail.com> (Sa 12 Apr 2014 20:46:16 CEST):
> >> Hello,
> >>
> >> I am trying to set up exim4 to use my gmail account. But mail is queued
> >> and is never sent because the log says:
> > …
> >> In /etc/exim4/update-exim4.conf.conf, I have at the end:
> >>
> >> disable_ipv6='true'
> >> dns_ipv4_lookup='*'

I do not know the Debian way of Exim configuration. Are these settings
already there, or did you invent these options?

> > exim -bP disable_ipv6
> This tells me:
> no_disable_ipv6
> which I guess is not good :(

> However, I did a few things:
> - I had both a /etc/exim4/conf.d directory (split config) and a
> exim4.conf.template (unique file). I removed the conf.d directory to be
> sure it'd read the unique config file.
>
> - The config file is named 'exim4.conf.template'. Is that really
> correct? In doubt, I duplicated it to exim4.conf.

Ooops. Under Debian Exim tries to read

/etc/exim4/exim4.conf
/var/lib/…/*autogenerated* (I do not exactly remember that name)

in that order. The first match wins.
If you copied the exim4.conf.template to exim4.conf you may get
unexpected results. I think, the exim4.conf.template isn't a complete
and correct Exim configuration. But maybe it's a syntactically correct,
but incomplete configuration. (/dev/null is a correct but incomplete
(depending on the purpose) Exim configuration too.)

Using "exim4 -bV" tells you the configuration file used.

> + I have a update-exim4.conf.conf file.
> Now, restarting exim4 I have in the logs:
> 2014-04-14 22:43:43 exim 4.80 daemon started: pid=32736, -q30m,
> listening for SMTP on port 25 (IPv4)
> 2014-04-14 22:43:43 Start queue run: pid=32741
>
> 2014-04-14 22:44:45 Start queue run: pid=300 -qff
> 2014-04-14 22:44:45 1WZ4qE-0005vb-JJ Unfrozen by forced delivery
> 2014-04-14 22:44:45 1WZ4qE-0005vb-JJ ** MYEMAIL@gmail.com: Unrouteable
> address
> 2014-04-14 22:44:45 1WZ4qE-0005vb-JJ Frozen (delivery error message)
>
> So, this looks different, doesn'it it? Why is it "unrouteable" ?

Probabably because of …. see above, inapprobiate/incomplete
configuration.

Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-
Re: IPV6 error in exim -> now "unrouteable" [ In reply to ]
On 2014-04-14, Privacy <axelle.apvrille@gmail.com> wrote:
> Hi Heiko & list,
>
> Thanks for the tip.
>
> On 13/04/2014 15:07, Heiko Schlittermann wrote:
>> Privacy <axelle.apvrille@gmail.com> (Sa 12 Apr 2014 20:46:16 CEST):
>>> Hello,
>>>
>>> I am trying to set up exim4 to use my gmail account. But mail is queued
>>> and is never sent because the log says:
>> …
>>> In /etc/exim4/update-exim4.conf.conf, I have at the end:
>>>
>>> disable_ipv6='true'
>>> dns_ipv4_lookup='*'
>>>
>>> I have reloaded my configuration and restarted exim4:
>>> # update-exim4.conf
>>> # service exim4 restart
>>>
>>> Restarts fine, but mail gets queued, and telling it to process the queue:
>>> # exim -qff
>>
>> Check if the option made it to the configuratiion:
>>
>> exim -bP disable_ipv6
>
> This tells me:
> no_disable_ipv6
>
> which I guess is not good :(
>
> However, I did a few things:
> - I had both a /etc/exim4/conf.d directory (split config) and a
> exim4.conf.template (unique file). I removed the conf.d directory to be
> sure it'd read the unique config file.
>
> - The config file is named 'exim4.conf.template'. Is that really
> correct? In doubt, I duplicated it to exim4.conf.
>
> + I have a update-exim4.conf.conf file.
>
> Now, restarting exim4 I have in the logs:
>
> 2014-04-14 22:43:43 exim 4.80 daemon started: pid=32736, -q30m,
> listening for SMTP on port 25 (IPv4)
> 2014-04-14 22:43:43 Start queue run: pid=32741
>
> that's good.
>
> Then I do a exim -qff and the logs say:
>
> 2014-04-14 22:44:45 Start queue run: pid=300 -qff
> 2014-04-14 22:44:45 1WZ4qE-0005vb-JJ Unfrozen by forced delivery
> 2014-04-14 22:44:45 1WZ4qE-0005vb-JJ ** MYEMAIL@gmail.com: Unrouteable
> address
> 2014-04-14 22:44:45 1WZ4qE-0005vb-JJ Frozen (delivery error message)
>
> So, this looks different, doesn'it it? Why is it "unrouteable" ?

ths will tell you:

exim -d+route+resolver -v -M 1WZ4qE-0005vb-JJ

expect several pages.


--
umop apisdn


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> now "unrouteable" [ In reply to ]
On 2014-04-14 at 22:46 +0200, Privacy wrote:
> However, I did a few things:
> - I had both a /etc/exim4/conf.d directory (split config) and a
> exim4.conf.template (unique file). I removed the conf.d directory to be
> sure it'd read the unique config file.
>
> - The config file is named 'exim4.conf.template'. Is that really
> correct? In doubt, I duplicated it to exim4.conf.

You really _really_ should read Debian's documentation on how to manage
their Exim configuration files, which explains how the pieces fit
together. The same applies on Ubuntu or any other Debian derivative.

$ gzip -dc /usr/share/doc/exim4/README.Debian.gz | less

You want "2.1.6. Using a completely different configuration scheme" and
sub-sections thereof.

You can probably recover deleted configuration templates from apt/dpkg.

Regards,
-Phil

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
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@gmail.com

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


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
On 16/04/14 20:50, Privacy wrote:
> 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... :(

So adding it didn't work

> If I check this, it looks like my disable_ipv6 command was not taken
> into account:
>
> $ exim -bP disable_ipv6
> no_disable_ipv6

So it wasn't added

> Configuration file is /var/lib/exim4/config.autogenerated

So... check this file for mentions of "disable_ipv6?"
Did yours make it into there? Are there multiple, conflicting ones?
--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
On 2014-04-16 20:50, Privacy wrote:
> 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... :(

update-exim4.conf.conf is *not* a general purpose exim configuration
file (and I don't believe any part of documentation suggests that it
is). As it's name suggests, it is the configuration file for the tool
"update-exim4.conf"; the update-exim4.conf manpage documents the options
/ variables which will be parsed and used from the file.

If you want a directive to be included in the configuration, you need to
either add it to the relevant place in /etc/exim4.conf.template or to an
appropriately located file in /etc/exim4/conf.d, depending on whether
you've told exim to use split configuration. See
/usr/share/doc/exim4/README.Debian.gz and update-exim4.conf(8) for more
details.

Regards,

Adam

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
On 17/04/2014 12:57, Adam D. Barratt wrote:
> On 2014-04-16 20:50, Privacy wrote:
>> 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... :(
>
> update-exim4.conf.conf is *not* a general purpose exim configuration
> file (and I don't believe any part of documentation suggests that it
> is). As it's name suggests, it is the configuration file for the tool
> "update-exim4.conf"; the update-exim4.conf manpage documents the options
> / variables which will be parsed and used from the file.

Ok - indeed.

I tried to put disable_ipv6 = true in /etc/exim4.conf.template, and then
do a update-exim4.conf, but I does not know that option:

2014-04-17 20:24:17 Exim configuration error in line 887 of
/var/lib/exim4/config.autogenerated.tmp:
option "disable_ipv6" unknown

I also tried to manually add it to
/var/lib/exim4/config.autogenerated.tmp which of course led to the same
result.

So, "disable_ipv6=true" is not right.
Though I see here
(http://wordgraphs.com/post/5500/Gmail-error--Our-system-has-detected-that-this-550-5-7-1-message-is-likely-unsolicited-mail)
and here (http://bugs.exim.org/show_bug.cgi?id=1374) that people are
using it.

What's the right syntax for that command please? I have been unable to
see it in the doc...

Regards

Axelle


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
* on the Thu, Apr 17, 2014 at 08:35:31PM +0200, Privacy wrote:

> Ok - indeed.
>
> I tried to put disable_ipv6 = true in /etc/exim4.conf.template, and then
> do a update-exim4.conf, but I does not know that option:
>
> 2014-04-17 20:24:17 Exim configuration error in line 887 of
> /var/lib/exim4/config.autogenerated.tmp:
> option "disable_ipv6" unknown
>
> I also tried to manually add it to
> /var/lib/exim4/config.autogenerated.tmp which of course led to the same
> result.
>
> So, "disable_ipv6=true" is not right.
> Though I see here
> (http://wordgraphs.com/post/5500/Gmail-error--Our-system-has-detected-that-this-550-5-7-1-message-is-likely-unsolicited-mail)
> and here (http://bugs.exim.org/show_bug.cgi?id=1374) that people are
> using it.
>
> What's the right syntax for that command please? I have been unable to
> see it in the doc...

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.

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

--
Mike Cardwell https://grepular.com https://emailprivacytester.com
OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F
XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4
Re: IPV6 error in exim -> still problem [ In reply to ]
> 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@gmail.com U=axelle P=local S=488
2014-04-18 22:18:58 1WbFFS-0005ro-Fj == xxx@gmail.com 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


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
* on the Fri, Apr 18, 2014 at 10:31:44PM +0200, Privacy wrote:

> 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@gmail.com U=axelle P=local S=488
> 2014-04-18 22:18:58 1WbFFS-0005ro-Fj == xxx@gmail.com 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

That warning message states that Exim simply can't connect to
gmail-smtp-msa.l.google.com. Are you able to telnet to it on port 587
from that box? Or whatever port you're trying to connect to?

--
Mike Cardwell https://grepular.com https://emailprivacytester.com
OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F
XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4
Re: IPV6 error in exim -> It works !!!! :) [ In reply to ]
On 19/04/2014 11:06, Mike Cardwell wrote:
> * on the Fri, Apr 18, 2014 at 10:31:44PM +0200, Privacy wrote:
>
>> 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@gmail.com U=axelle P=local S=488
>> 2014-04-18 22:18:58 1WbFFS-0005ro-Fj == xxx@gmail.com 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
>
> That warning message states that Exim simply can't connect to
> gmail-smtp-msa.l.google.com. Are you able to telnet to it on port 587
> from that box? Or whatever port you're trying to connect to?

Yes, you're right. I hadn't opened the port on my firewal ;(

Then, I had an issue with exim4 not being able to open my
/etc/exim4/passwd.client -> solved by chown root:Debian-exim passwd.client

Then, gmail still wasn't happy and could not receive my credentials:
SMTP error from remote mail server after MAIL FROM:<> SIZE=2730: host
gmail-smtp-msa.l.google.com [173.194.66.108]: 530-5.5.1 Authentication
Required. Learn more at\n530 5.5.1
http://support.google.com/mail/bin/answer.py?answer=14257

-> I solved this by this thread
http://ubuntuforums.org/archive/index.php/t-2090069.html

*.google.com:myname@gmail.com:mypassword
*.gmail.com:myname@fmail.com:mypassword

and that works, though to be honest I don't exactly know why just
putting smtp*gmail.com:myname@gmail.com:mypassword does not work.

Anyway, now, I send my emails!
Thanks





--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: IPV6 error in exim -> still problem [ In reply to ]
On 2014-04-18, Privacy <axelle.apvrille@gmail.com> wrote:
>> 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@gmail.com U=axelle P=local S=488
> 2014-04-18 22:18:58 1WbFFS-0005ro-Fj == xxx@gmail.com 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

Did you specify a port number when you entered the smarthost

ie: smtp.gmail.com:587



--
umop apisdn


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/