Configuring mailboxes for Different Hosts (1.x, 2.x)

Last updated on
30 April 2025

Different hosts may require different "Extra Commands" on the mailbox page connection settings. This handbook entry tries to document them to make it easier for people to use mailhandler.

Dreamhost

While Dreamhost's php doesn't include the necessary imap_open function, you can still access Dreamhost mailboxes by using the /novalidate-cert Extra command with IMAP on port 143. Be sure to use mail.example.com as the domain (not just example.com) and leave the folder as INBOX.

To use with Dreamhost that has your email through GMail use the settings for IMAP GMail below but for extra commands use /ssl/novalidate-cert

The following settings work for mailhandler 2.x in Drupal 6.22 site hosted on Dreamhost running PHP 5.2.17. Note that mygroup@example.net is an email account set up on Dreamhost.

  • Protocol: IMAP
  • Folder: INBOX
  • Domain: mail.example.net
  • Port: 143
  • Username: mygroup@example.net
  • Password: mypassword
  • Extra commands: /notls/novalidate-cert
    • DrupalValueHosting

      For DrupalValueHosting you will need to use the extra command /novalidate-cert.

      BlueHost

      Folder: INBOX
      Mailbox Domain: mail.example.com
      Mailbox Port: 143
      Username: yourname@example.com (Note: In the cpanel help pages it suggests switching in '+' for '@'. This didn't work for me.)
      Extra Commands: /novalidate-cert

      HostGator

      For HostGator you will need to use the extra command /novalidate-cert.

      Hostmonster

      Folder: INBOX
      Mailbox Domain: mail.example.com or hostXXX.hostmonster.com, both works for me (for me XXX=228).
      Mailbox Port: 143 (IMAP) or 110 (POP3), both works for me.
      Username: yourname@example.com
      (Note: In the cpanel help pages it suggests switching in '+' for '@' e.g. yourname+example.com. This works for me.)
      Extra Commands: /novalidate-cert

      Successful tests for Drupal 6.4

      Manufrog

      Extra commands: /notls

      GMail Settings for POP3 and IMAP

      Valid settings for POP3:
      Mailbox Domain: pop.gmail.com
      Mailbox Port: 995
      Username: your-gmail-account-name@gmail.com
      Extra Commands: /ssl

      Valid settings for IMAP:
      Mailbox Domain: imap.gmail.com
      Mailbox Port: 993
      Username: your-gmail-account-name@gmail.com
      Extra Commands: /ssl

      To use Gmail labels as folders, you need to be using IMAP and not POP3. POP3 will only list the INBOX as a folder. Once you have IMAP enabled, you can use the label as the folder and Mailhandler will just pull content from that label. This can be effect when used in tandem with a filter to automatically assign labels to mail that matches certain criteria.

      Unfortunately, many providers block ports 993 and 995, including my hostmonster. I had to test it on my home computer.

      1and1

      For 1and1 (1&1) you will need to use the extra command /novalidate-cert.

      Infomaniak

      Valid set for IMAP:
      Folder: INBOX
      Mailbox Domain: mail.example.com
      Mailbox Port: 143
      Username: address%example.com (the username is the email address where "@" is replaced by "%")
      Extra Commands: /notls/novalidate-cert

      Media Temple

      http://kb.mediatemple.net/questions/272/Using+Email#dv_35

      I followed the directions for IMAP with SSL, and used the /ssl/novalidate-cert extra commands.

      Serv Int VPS

      Valid set for IMAP:
      Folder: INBOX
      Mailbox Domain: mail.example.com
      Mailbox Port: 143
      Username: address@example.com (the username is the email address)
      Extra Commands: /novalidate-cert

      Midphase

      Folder: INBOX
      Mailbox Domain: mail.example.com
      Mailbox Port: 143
      Username: yourname@example.com
      Extra Commands: /novalidate-cert

Help improve this page

Page status: Not set

You can: