On 06/09/2019 21.11, Patrick Shanahan wrote:
* Per Jessen <> [09-06-19 15:04]:
Patrick Shanahan wrote:
wahoo:~ > time telnet imap.gmail.com 993 Trying 2607:f8b0:400d:c08::6d... telnet: connect to address 2607:f8b0:400d:c08::6d: Connection timed out Trying 173.194.175.109... Connected to imap.gmail.com. Escape character is '^]'. ^CConnection closed by foreign host.
real 2m14.793s user 0m0.003s sys 0m0.001s
that makes it look like gmail doesn't like ipv6... and apparently my servier is defaulting to ipv6 first.
Do you have ipv6 locally? If you do, but you have no uplink, that could explain the situation.
You could perhaps amend your 'poll' with something to restrict to ipv4 only.
researching fetchmail appears ipv6 not available ??? and substituting the ipv4 ###.###.###.### for imap.gmail.com only works a couple of times then Server CommonName mismatch: imap.gmail.com != 173.194.175.108
may have to change to getmail ???
You can use gai.conf to select preference to IPv4. #precedence ::1/128 50 #precedence ::/0 40 #precedence 2002::/16 30 #precedence ::/96 20 #precedence ::ffff:0:0/96 10 # # For sites which prefer IPv4 connections change the last line to # precedence ::ffff:0:0/96 100 #CER <http://www.fetchmail.info/> What fetchmail does: Fetchmail is a full-featured, robust, well-documented remote-mail retrieval and forwarding utility intended to be used over on-demand TCP/IP links (such as SLIP or PPP connections). It supports every remote-mail protocol now in use on the Internet: POP2, POP3, RPOP, APOP, KPOP, all flavors of IMAP, ETRN, and ODMR. It can even support *IPv6* and IPSEC. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)