MultiPOP and Gmail

Posted on August 21, 2008
Filed Under MDaemon | 25 Comments

MDaemon has a feature called MultiPOP which, when enabled, will cause MDaemon to download all messages from one or more POP3 accounts and deliver them directly to a MDaemon user’s mailbox.

The dialog has simple hostname, username, password fields, plus options to leave mail on server or not. What isn’t obvious is how to support hosts like Gmail, which require SSL. As it turns out, MDaemon actually does support Gmail, and other SSL enabled POP3 hosts.

There are a number of ways to access the MultiPOP configuration for an account, through MDaemon’s account editor, through WorldClient or WebAdmin (both web options only being available if the user is allowed to use MultiPOP).

To set up MultiPOP to pull mail from a POP3 account which requires SSL, open the MultiPOP dialog, enter the hostname or POP3 server name followed by :995

:995 tells MDaemon to use port 995, and MDaemon automatically switches to SSL mode since SSL is required for port 995.

For Gmail, enter the hostname “mail.gmail.com:995″, the username which must include the @domain portion. For example, for dave.warren@gmail.com, you need to enter the full dave.warren@gmail.com address, not just “dave.warren”

For Gmail you should set MDaemon to delete mail from the server as Gmail doesn’t account honour this, instead Gmail allows you to control what happens to mail after it’s downloaded (Leave it in the Inbox, Archive it, Delete it)

Note that the instructions are the same for googlemail.com, and for other mailboxes hosted by Google, just use the appropriate email address in the username field.

One other thing to be aware of with Gmail in particular, Gmail doesn’t automatically enable POP3 access, you need to enable it by logging in to Gmail, going to Settings, then to the POP section and setting the appropriate option. If you choose to download all mail, Gmail only offers a few hundred messages at once, so if you are intending to download a massive Gmail mailbox into MDaemon, MDaemon will take some time as messages are downloaded in blocks of about 500 messages at a time.

UPDATE (2008/10/02): One other thing I forgot to mention, MDaemon must have SSL enabled. To enable SSL in MDaemon 10, go to the Security menu, choose Security, then go to “SSL & TLS” and enable the “Enable SSL…” option.

Comments

25 Responses to “MultiPOP and Gmail”

  1. Kalu Ibe on August 28th, 2008 5:20 am

    I’ve tried what you posted. It did not work, are you sure it works??

  2. Dave Warren on September 1st, 2008 10:30 pm

    The “mail.gmail.com:995″ trick definitely works, I use it here. What version of MDaemon are you running?

    One other thing, the master “Enable SSL” switch must be enabled. The location varies depending on your version, but find the “SSL” option in MDaemon and make sure that the “Enable SSL” option is enabled.

  3. david on November 5th, 2008 11:07 pm

    Dave, I’ve tried too as you said in the article. It doesn’t work for me. Are you still using it or it was in the past? Maybe gmail changed something. Wich version are you using? Mine is v9.5.6

  4. Alexey on November 11th, 2008 3:32 am

    Hello!

    Found this article. Switched on SSL/TLS feature. Tried on my account at gmail.com
    IT WORKS GREAT!!! However it is not documented feature – fault of MDaemon creators. IT SHOULD BE WELL DOCUMENTED!

    Dave,
    Many thanks for yr explanations!

  5. saifee on November 14th, 2008 10:10 am

    it is creating a connection but the protocol is not initializing how can i resolve that …

  6. Rashel on November 25th, 2008 6:32 am

    Hi !!,
    This is rashel. i have some problem. i cant Recived any mail from my domain that domain is under gmail but i can send email by MDaemon 6.x

    May be its SSL problem. so how can i solved that problem ?

    information like…

    hostname = pop.gmail.com
    logon = forme@abcd.com
    pass = **********

  7. Dave Warren on January 26th, 2009 7:42 pm

    MDaemon 6.x doesn’t support SSL natively, you’ll have to use a third party solution.

    A local install of stunnel will do the trick, then you’d configure MDaemon to talk to stunnel and stunnel to talk to Gmail on your behalf.

  8. sameer on February 4th, 2009 2:33 am

    my problem
    Wed 2009-02-04 14:00:25: MultiPOP collecting mail from (pop.gmail.com:995) for (samir)
    Wed 2009-02-04 14:00:25: MultiPOP collected mail will be removed from remote host!
    Wed 2009-02-04 14:00:25: Attempting MultiPOP connection to [pop.gmail.com : 995]
    Wed 2009-02-04 14:00:25: A-record resolution of [pop.gmail.com] in progress (DNS Server: 202.54.29.5)…
    Wed 2009-02-04 14:00:25: D=gmail-pop.l.google.com TTL=(0) A=[72.14.253.109]
    Wed 2009-02-04 14:00:25: Attempting MultiPOP connection to [72.14.253.109 : 995]
    Wed 2009-02-04 14:00:25: Waiting for socket connection…
    Wed 2009-02-04 14:00:25: Socket connection established (192.168.0.72 : 1868 -> 72.14.253.109 : 995)
    Wed 2009-02-04 14:00:25: Waiting for protocol initiation…
    Wed 2009-02-04 14:01:24: * Error: 60 second wait for protocol timeout exceeded.
    Wed 2009-02-04 14:01:24: POP session complete (Bytes in/out: 0/0)

  9. Eric Hoegee on February 16th, 2009 12:44 pm

    I have the same problem and can’t seem to find the solution… Someone bright enough?

    Mon 2009-02-16 14:12:31: ———-
    Mon 2009-02-16 14:17:33: Session 1641; child 1
    Mon 2009-02-16 14:16:31: Attempting DomainPOP connection to [pop.gmail.com : 995]
    Mon 2009-02-16 14:16:31: A-record resolution of [pop.gmail.com] in progress (DNS Server: 172.16.30.3)…
    Mon 2009-02-16 14:16:32: D=gmail-pop.l.google.com TTL=(2) A=[74.125.47.109]
    Mon 2009-02-16 14:16:32: Attempting DomainPOP connection to [74.125.47.109 : 995]
    Mon 2009-02-16 14:16:32: Waiting for connection…
    Mon 2009-02-16 14:16:33: Connection established (200.6.60.20 : 35785 -> 74.125.47.109 : 995)
    Mon 2009-02-16 14:16:33: Waiting for protocol initiation…
    Mon 2009-02-16 14:17:33: * Error: 60 second wait for protocol timeout exceeded
    Mon 2009-02-16 14:17:33: POP session complete (Bytes in/out: 0/0)
    Mon 2009-02-16 14:17:33: ———-

  10. Dave Warren on April 2nd, 2009 11:08 pm

    Guys having issues here… See the “UPDATE (2008/10/02)” at the bottom of the article.

  11. Mohammed on April 23rd, 2009 12:34 am

    Hi
    Above said settings work on fine. But I have a problem while sending mails specially to hotmail as they do not accept from dynamic IP to reroute those mails to gmail i am not to able to do that. Does somebody has solution for it.

    Thanks

  12. Buddhika on May 5th, 2009 9:39 pm

    Hi,

    Could someone tell me where to find instructions to configure Daemon 6 to download Gmail messages with Stunnel.

    Thank you in advance

  13. Faisal on May 26th, 2009 9:00 am

    Hi Dave Warren,

    I have some problem with MDaemon 7.0 Pro version.

    I have 25 plus domain on my hosting server and iam
    getting all of emails through MDaemon but now a days i am facing very strange problem.

    My ISP ip block in my hosting server firewall after getting some emails when i reset my modem (get new ip) its working but after 5 to 10 minute my ip block in hosting server again. my administrator said you have put wrong user and password in mail server. i am surprsing that some time its working then giving login failure. Is it possible please give me a suggestion.

    Thank you in advance
    Faisal

  14. Victor on June 14th, 2009 10:12 pm

    Hi,

    Would someone enlighten me how i can use multipop to download email from hotmail account? i put pop3.live.com:995 as host name but still encounter Winsock error 10060 error when attempted to open the mailbox by multipop.

    Thanks in advance,
    vic

  15. Cesar on July 6th, 2009 7:55 am

    Same problem of sameer and eric.
    Enable SSL is checked, but i don’t have luck with my gmail account.
    60 seconds wait for protocolo timeout error, i used mdaemon 9.5.6

  16. Listing User List play on August 17th, 2009 2:59 am

    Dear sir/ Madam

    I have problem with the display Email address on the compose page and text box “To” can display only 15 email. How can we change this, if we want to display more email.

    thanks,

  17. peyman on October 2nd, 2009 11:12 am

    hi
    i have some problem. i cant Recived any mail from gmail and yahoo on my mail server.i use mdaemon mail server 9.

    what is my problem?
    pey_777@yahoo.com

  18. Irsath Ahamed on November 14th, 2009 12:27 am

    Hi,

    We have purchased domain from Google apps and we have 15 email users under my domain. Now we would like to use MDaemon Email server in my office instead gmail. So please can you help me how to configure that. I got confusion what host name, logon name and password I have to give in DomainPOP.

    I will be appreciating your kind help.

    Thanks,

    Regards
    Irsath Ahamed.

  19. Anand Singhania on December 19th, 2009 2:56 am

    hi. i am using mdaemon 8.0.3. inspite of having enabled ssl and using :995 i am getting the following error

    Sat 2009-12-19 13:52:28: Session 571; child 2
    Sat 2009-12-19 13:51:18: MultiPOP collecting mail from (pop.gmail.com:995) for (aspop@pharmachine.in)
    Sat 2009-12-19 13:51:18: MultiPOP collected mail will NOT be removed from remote host!
    Sat 2009-12-19 13:51:18: Attempting MultiPOP connection to [pop.gmail.com : 995]
    Sat 2009-12-19 13:51:18: A-record resolution of [pop.gmail.com] in progress (DNS Server: 192.168.0.1)…
    Sat 2009-12-19 13:51:28: * Error: 10 second wait for DNS response exceeded (attempt 1 of 5).
    Sat 2009-12-19 13:51:28: Attempting MultiPOP connection to [pop.gmail.com : 995]
    Sat 2009-12-19 13:51:28: A-record resolution of [pop.gmail.com] in progress (DNS Server: 203.94.227.70)…
    Sat 2009-12-19 13:51:28: D=gmail-pop.l.google.com TTL=(1) A=[74.125.127.109]
    Sat 2009-12-19 13:51:28: Attempting MultiPOP connection to [74.125.127.109 : 995]
    Sat 2009-12-19 13:51:28: Waiting for socket connection…
    Sat 2009-12-19 13:51:28: Socket connection established (127.0.0.1 : 3104 -> 74.125.127.109 : 995)
    Sat 2009-12-19 13:51:28: Waiting for protocol initiation…
    Sat 2009-12-19 13:52:28: * Error: 60 second wait for protocol timeout exceeded.
    Sat 2009-12-19 13:52:28: POP session complete

    Can u please help

  20. Jeff Lamb on January 13th, 2010 1:01 pm

    I’ve also tried this with 9.6.6 without luck. Here’s how I fixed it:

    Press Ctrl+L, or select Security->SSL/TLS/Certificates

    Enable the top three checkboxes

    Click “Create certificate”

    Click OK

    Setup->Primary Domain->Ports(tab)

    Change “POP server connects to this remote port when collecting mail” to 995

    Finally, set-up the domainpop account under Setup->domainpop

  21. Hasan Halim on June 25th, 2010 12:42 am

    I have done accordingly, now my MDaemon can connect and login to pop.gmail.com, but it fetch nothing.

    This is the error message:

    Fri 2010-06-25 14:35:18: MultiPOP collecting mail from (pop.gmail.com:995) for (Hasan Halim)
    Fri 2010-06-25 14:35:18: MultiPOP collected mail will NOT be removed from remote host!
    Fri 2010-06-25 14:35:18: Attempting MultiPOP connection to [pop.gmail.com:995]
    Fri 2010-06-25 14:35:18: Resolving A record for [pop.gmail.com] (DNS Server: 192.168.1.1)…
    Fri 2010-06-25 14:35:18: * D=pop.gmail.com TTL=(166) A=[74.125.155.109]
    Fri 2010-06-25 14:35:18: Attempting MultiPOP connection to [74.125.155.109:995]
    Fri 2010-06-25 14:35:18: Waiting for socket connection…
    Fri 2010-06-25 14:35:18: * Connection established (127.0.0.1:1097 -> 74.125.155.109:995)
    Fri 2010-06-25 14:35:18: Waiting for protocol to start…
    Fri 2010-06-25 14:35:20: SSL negotiation successful (TLS 1.0, 1024 bit key exchange, 128 bit RC4 encryption)
    Fri 2010-06-25 14:35:20: USER hasan.halim@restoran-nelayan.com
    Fri 2010-06-25 14:35:21: PASS ******
    Fri 2010-06-25 14:35:21: STAT
    Fri 2010-06-25 14:35:22: QUIT
    Fri 2010-06-25 14:35:22: <– +OK Farewell.
    Fri 2010-06-25 14:35:22: POP3 session complete (Bytes in/out: 122/149)
    Fri 2010-06-25 14:35:22: ———-

    When I tried to click Send/Receive from my Outlook2003, no message received.

    What should I do? What is the solution?

    Thanks.

  22. charles on July 19th, 2010 11:08 am

    having same problem,Error: 60 second wait for protocol timeout exceeded.i have enabled ssl on port 995.using mdaemon 7.2

  23. Dave Warren on July 30th, 2010 1:12 am

    charles, this functionality requires MDaemon 9.6.3 or higher. With MDaemon 7.2 you’ll need to use stunnel.

  24. IanJ on August 8th, 2010 2:38 am

    Works great, thanks.

    Ian.

  25. Danish on September 1st, 2010 1:09 am

    Wed 2010-09-01 12:46:02: D=azizsons.com TTL=(240) A=[79.143.179.70]
    Wed 2010-09-01 12:46:02: Attempting MultiPOP connection to [79.143.179.70 : 995]
    Wed 2010-09-01 12:46:02: Waiting for connection…
    Wed 2010-09-01 12:46:02: Connection established (127.0.0.1 : 2963 -> 79.143.179.70 : 995)
    Wed 2010-09-01 12:46:02: Waiting for protocol initiation…
    Wed 2010-09-01 12:47:01: * Error: 60 second wait for protocol timeout exceeded
    Wed 2010-09-01 12:47:01: POP session complete (Bytes in/out: 0/0)
    Wed 2010-09-01 12:47:01: ———-

Leave a Reply




Everything MDaemon is Digg proof thanks to caching by WP Super Cache