Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[SOLVED] connect to gmail-smtp-in.l.google.com[...]:25: Network is unreachable

59,278 views
Skip to first unread message

Shane

unread,
Aug 24, 2012, 1:43:06 AM8/24/12
to
Excellent! Issue solved with the following line in my main.cf

inet_protocols = ipv4

On 8/23/2012 5:34 PM, Wietse Venema wrote:
> Shane:
>> Aug 23 16:50:32 goblin postfix/smtp[13798]: connect to
>> gmail-smtp-in.l.google.com[2001:4860:8005::1b]:25: Network is unreachable
>
> Someone has turned on IPv6 support, but your host has no IPv6
> connectivity.
>
> Postfix as distributed from Postfix.org does not turn on IPv6 support
> unless the sysadmin says so.
>
>> Aug 23 16:50:33 goblin postfix/smtp[13798]: F1FBD3C0C69:
>> to=<dummy-virt...@gmail.com>,
>> orig_to=<he...@dummy-virtual-domain.com>,
>> relay=gmail-smtp-in.l.google.com[74.125.127.26]:25, delay=1.6,
>> delays=0.11/0.03/0.35/1.1, dsn=2.0.0, status=sent (250 2.0.0 O$
>
> Postfix will try until it hits upon an IPv4 MX host.
>
> Wietse
>

Wietse Venema

unread,
Aug 24, 2012, 8:17:11 AM8/24/12
to
Shane:
> Excellent! Issue solved with the following line in my main.cf
>
> inet_protocols = ipv4

Postfix as distributed from postfix.org adds that by default.

Please complain to your maintainer if they turn on IPv6 for you.
Those idiots are causing all kinds of problems with email deliveries
on IPv4-only hosts, and are giving Postfix a bad reputation.

Wietse

Benny Pedersen

unread,
Aug 26, 2012, 11:19:14 PM8/26/12
to
Den 2012-08-24 14:17, Wietse Venema skrev:
> Shane:
>> Excellent! Issue solved with the following line in my main.cf
>>
>> inet_protocols = ipv4
>
> Postfix as distributed from postfix.org adds that by default.

in 2.9.x this is not ipv4 but all

and there is a warnning if ipv4 is in main.cf (to reminds of ipv6) even
for kernels that dont have it

Wietse Venema

unread,
Aug 27, 2012, 6:52:29 AM8/27/12
to
Benny Pedersen:
[ Charset UTF-8 unsupported, converting... ]
> Den 2012-08-24 14:17, Wietse Venema skrev:
> > Shane:
> >> Excellent! Issue solved with the following line in my main.cf
> >>
> >> inet_protocols = ipv4
> >
> > Postfix as distributed from postfix.org adds that by default.
>
> in 2.9.x this is not ipv4 but all

Postfix 2.9 edits main.cf and adds "inet_protocols = ipv4"
if you don't have an inet_protocols line in main.cf.

Wietse

Benny Pedersen

unread,
Aug 27, 2012, 7:04:30 AM8/27/12
to
Den 2012-08-27 12:52, Wietse Venema skrev:

> Postfix 2.9 edits main.cf and adds "inet_protocols = ipv4"
> if you don't have an inet_protocols line in main.cf.

why is this done ?, this is breaking that main.cf could be 100% empty
to get an postfix running as before, defaults hardcoded settings should
work imho, else there will be some users that dont understand why some
lines now must be in main.cf and some is just optional :/

the days of have all defaults not listed in main.cf is gone ?

Wietse Venema

unread,
Aug 27, 2012, 7:56:04 AM8/27/12
to
Benny Pedersen:
> Den 2012-08-27 12:52, Wietse Venema skrev:
>
> > Postfix 2.9 edits main.cf and adds "inet_protocols = ipv4"
> > if you don't have an inet_protocols line in main.cf.
>
> why is this done ? this is breaking that main.cf could be 100% empty

It is a forwards compatibility migration procedure.

And doing so breaks NOTHING: there is NO DOCUMENTED PROMISE
about running Postfix with empty main.cf file.

Wietse

sblan...@gmail.com

unread,
Oct 24, 2012, 4:57:50 PM10/24/12
to
by default in my main.cf file I have
inet_protocols = all
and I'm getting the error described by the OT.

should I set ipv4 in that line?
if yes why?

idosko...@student.waubonsee.edu

unread,
Nov 19, 2014, 8:55:36 PM11/19/14
to

sng...@gmail.com

unread,
Mar 31, 2016, 4:19:55 AM3/31/16
to

sspmbi...@gmail.com

unread,
May 6, 2016, 1:17:07 PM5/6/16
to

navy...@starfox.20fr.com

unread,
Aug 28, 2016, 1:46:11 PM8/28/16
to
On Wednesday, 24 October 2012 13:57:50 UTC-7, sblan...@gmail.com wrote:
> by default in my main.cf file I have
> inet_protocols = all
> and I'm getting the error described by the OT.
>
> should I set ipv4 in that line?
> if yes why?
>
I had the same problem, and my inet_protocols is also "= all", and I solved it in alpine by going to SETUP (S) -> Config (C) -> SMTP Server (for sending) and changed its value to:
smtp.gmail.com:587/tls/user=user...@gmail.com
The change of this value was the addition of the port number (:587) for me.

I found the solution here:
https://groups.google.com/forum/#!topic/comp.mail.pine/_zViU0ZmNtw

ata07...@gmail.com

unread,
Oct 13, 2016, 6:35:52 PM10/13/16
to

w3ver...@gmail.com

unread,
Jan 7, 2017, 11:38:01 PM1/7/17
to
My bad dummy

blm.s...@gmail.com

unread,
Jun 20, 2017, 12:14:12 AM6/20/17
to

chalma...@gmail.com

unread,
Jul 4, 2017, 1:56:32 AM7/4/17
to

chalma...@gmail.com

unread,
Jul 4, 2017, 1:56:45 AM7/4/17
to

shahid iqbal

unread,
Aug 30, 2023, 6:58:09 AM8/30/23
to

Никита Прокопенко

unread,
Sep 3, 2023, 6:09:12 AM9/3/23
to

Jerry Lee Daniel

unread,
Nov 21, 2023, 4:56:58 PM11/21/23
to
MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
IPIP/DTC
SLBC PROVIDER
CREDIT CARD TOP UP
DUMPS/ PINS
SEPA TRANSFER
WIRE TRANSFER
BITCOIN TOP UP
GLOBALPAY INC US
SKRILL USA
UNIONPAY RECEIVER

Thanks.


NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP
+44 7405 896213
Email: danielj...@mail.com
0 new messages