
BlackBerry Problems Sending Mail (SOLVED)
Submitted by tony on Tue, 05/27/2008 - 20:50.
I've written before about my outgoing mail problems with my BlackBerry.
I'm finally narrowing it down. Now, I'm not sure how much is the BlackBerry service and how much is the Funambol client.
I know how my BlackBerry gets mail. It's nothing special - it goes out and grabs it every 3 minutes from my IMAP server.
Sending mail has been a bit more of a mystery...
When I first create my account on blackberry.com, it works fine. Within a few days when sending an e-mail I'll get "Invalid message from server". If I choose the message again and hit "resend" it goes fine.
Since I run my own Cyrus IMAP server with eGroupware I started checking my logs and playing with tcpdump to diagnose the problem. I found something rather interesting.
Mail logs when the message sends properly would show a login from some blackberry.com server.
Mail logs when the message failed would show a login... from LOCALHOST.
At first I thought my NAT firewall / port forwarder was misconfigured somehow and starting running traces. What I found was even more odd. There was no imap connection traffic when the connection failed. Zip. Zero.
So, I started watching my entire network for any traffic destined for the mail server on any port, and lo and behold, I was seeing HTTPS port 443 connected...
A blackberry.com server was connecting directly to my eGroupware rpc.php file. That information is entered into the Funambol client and nowhere else. This leads me to believe despite the fact that I've told it not to synchronize e-mail using the Funambol client, something in the BlackBerry is still trying to use that software to store the sent-item copy on the first attempt.
[UPDATE]
I found a fix. Thanks to the joys of open-source software, someone has edited the Funambol client to fix the problem and optimize the app for Schedule World. Please be sure to uninstall any older version of Funambol from your blackberry before installing! This fixes this problem, plus some other clendar issues I was seeing with sync, and works perfectly with eGroupware.
Post new comment