Hello. I'm trying to get the mailhandler module working on my site. I've created an account on my pop3 server called mailhandler.
I've tested the pop3 account with Evolution. It works. So, rule out any possibility of pop daemon misconfiguration.
I inserted the mailhandler.mysql table into my drupal database.
Checked the table. Table looks fine.
Enabled the mailhandler module.
Added a pop3 mailbox via the mailhandler administration page with the appropriate domain, user, password, etc. Checked all entries many many times for typos. No typos.
When I click the 'retrieve' link under the overview pane of the mailhandler admin page, I get the following printed to the page:
warning: Couldn't open stream {mydomain/pop3:110}INBOX
in /var/www/drupal/modules/mailhandler.module on line 13.
Status: Mailhandler POP3 connection failed: mailhandler@mydomain
Here are my system specs:
Redhat 7.2
mysql-server-3.23.41-1
php-mysql-4.1.2-7.2.6
apache-1.3.27-1.7.2
php-4.1.2-7.2.6
php-imap-4.1.2-7.2.6
Anyone know what's going on here?
Thanks for your help.
Comments
muhahahaha! Redhat Mailhandler IMAP connect problem solved
I found a solution to the problem. In mailhandler.module, on line 11, I changed from:
$box = "{". $mailbox["domain"] ."/pop3:". $mailbox["port"] ."}". $mailbox["folder"];to:
$box = "{". $mailbox["domain"] ."/pop3/notls:". $mailbox["port"] ."}". $mailbox["folder"];The appendage "/notls" allowed the stream to open.
Here's an excerpt from the UW IMAP Toolkit FAQ:
--snip--
This usually means that an attempt to negotiate TLS encryption via the STARTTLS command failed, because the server advertises STARTTLS functionality, but doesn't actually have it (e.g. because no certificates are installed).
Use the /notls option in the mailbox name to disable TLS negotiation.
--snip--
--
rb
Your reward will be great in heaven
I had exactly the same problem, so many thanks for showing me the light!
GMail Lives!
Here's what I used:
/pop3/ssl/user=gmailusername@gmail.com
Now, if I can figure out how to map gmail accounts onto authenticated users.
I only want a few contributors to have this email posting capability. But it sounds like I therefore need to set up a separate gmail account for each of them.
GMail Lives!
where did you add this property ?
thanks
It was a great help for me
Ravi
Update to "muhahahaha! Redhat Mailhandler IMAP connect problem..
The 2003 solution has changed slightly by 2010. The line to change is now line 17 in mailhandler.retrieve.inc, which contains the only occurrence of the string "pop3". Changing it to "pop3/notls" still does the trick.