email

BlackBerry Problems Sending Mail (SOLVED)

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.

Gmail False Positives

On a whim instead of just deleting my 1500 spam messages in GMail, I looked through the first page... and found 4 that weren't spam.

Wow. That's just from today. I thought I was getting less mail lately - I just assumed nobody loved me anymore.

I need to watch that more closely.

Asterisk, Blackberry and eGroupware

This is a near perfect solution. I run an Asterisk Vo/IP system for my office, and eGroupware with Cyrus for our mail system. We migrated from Microsoft Exchange some time ago and I've never looked back.

With eGroupware, we were able to replace 99% of the functionality of our Microsoft Exchange server with open source software. With sieve filters users can set up an unlimited number of server-side mail filters, something you can't do with Exchange anymore, and the web interface works much better with Firefox than Microsoft's web access. Our Asterisk phone system integrates into the mix and will deliver voicemail to the user's e-mail box.

Now, with my Blackberry I can download and play those voicemails without ever having to dial into the phone system, because they are wav files attached to e-mail that is picked up by my Blackberry. I'm feeling so "connected" right now it's not even funny :-)

Blackberry E-Mail Troubles Return

Well this is odd... after a little over 24 hours of functioning properly, my blackberry suddenly stopped sending e-mails on the first attempt again. Hitting "resend" would always work.

Yet again, logging into the blackberry web interface, deleting the account and recreating it fixed the problem.

What's up with that? Sending an e-mail results in "Invalid error from server". Immediately hitting resend sends it just fine. I've watched the Cyrus IMAP server logs and found something interesting...

When it stops working, on the first attempt cyrus shows "login: localhost" when I try to send a mail, then it fails.

When it works (and on a "resend") it shows "login: bda356c.bis.na.blackberry.com"

I'm stumped as to how "localhost" could even happen...

Syndicate content