CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • CiviMail, Gmail and IPv6
Pages: [1]

Author Topic: CiviMail, Gmail and IPv6  (Read 1460 times)

jvorstermans

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7
  • MySQL version: MariaDB 5.5.28a
  • PHP version: php 5.3.21
CiviMail, Gmail and IPv6
February 28, 2013, 02:47:26 pm
In trying to configure CiviMail to collect mail from imap.gmail.com as per book.civicrm.org/user/current/initial-set-up/email-system-configuration/ I ran into a problem.

My server is configures for Ipv6 and IPv4.   When trying to connect to imap.gmai.com it trying to use the ip6y address but this fails and eventually times out to try and use the ipv4 address which works.

telnet imap.gmail.com 993
Trying 2607:f8b0:400e:c00::6d...
Trying 74.125.133.109...
Connected to imap.gmail.com.
Escape character is '^]'.

When I try and run the "Fetch Bounce" and "Execute Now" process it would always fail. No doubt because it did not wait long enough for the IPv6 to time out.

I have managed to work around this by added the following to my /etc/hosts  which forces CiviMail to use the IPv4 address.

74.125.142.109      imap.gmail.com
74.125.142.108      imap.gmail.com

However this not a nice hack.

Questions:

Does anyone know why gmail is refusing imap connection on IPv6 and if there is something I can do about this?   

John



demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviMail, Gmail and IPv6
February 28, 2013, 03:49:26 pm
Do you have an ipv6 firewall rule that allows the traffic out?

If that's not it then if you can't turn ipv6 off, depending on your operating system you can change the order it does the DNS lookup.

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: CiviMail, Gmail and IPv6
February 28, 2013, 05:59:01 pm
IPv6 to imap.gmail.com works for me. Tested from home, and from a Linode VPS.

Can you try a traceroute?
Code: [Select]
traceroute6 imap.gmail.com
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • CiviMail, Gmail and IPv6

This forum was archived on 2017-11-26.