Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Blackberry Authentication Issues

    Hi,

    Im having issues with my BlackBerry users, who cannot authenticate with the email setup on my server.

    I am running CentOS, EXIM, Dovecot and spamd as my mail services..

    When I look at the logs, this is what happens when a BlackBerry phone tries to connect:

    The credentials they are using (and myself), are 100% correct.

    Dovecot throws out the following

    Mar 27 16:29:38 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,41.5.53.160) : execute: /usr/local/cpanel/bin/dovecot-auth /usr/libexec/dovecot/checkpassword-reply
    Mar 27 16:29:38 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,41.5.53.160) : Received no input
    Mar 27 16:29:38 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,41.5.53.160) : exit_status=1
    Mar 27 16:29:38 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,41.5.53.160) : Login failed (status=1)


    and another

    Mar 30 10:40:21 carbonfree dovecot: auth(default): client in: AUTH 2501 PLAIN service=imap secured lip=50.23.15.139 rip=178.239.83.1 lport=993 rport=14742 resp=AGNocmlzQGNocmlzZWRpbmd0b24uY29tADN3ZXI$
    Mar 30 10:40:21 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,178.239.83.1 ): execute: /usr/local/cpanel/bin/dovecot-auth /usr/libexec/dovecot/checkpassword-reply
    Mar 30 10:40:21 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,178.239.83.1 ): Received no input
    Mar 30 10:40:21 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,178.239.83.1 ): exit_status=1
    Mar 30 10:40:21 carbonfree dovecot: auth(default): checkpassword(chris@chrisedington.com,178.239.83.1 ): Login failed (status=1)
    Mar 30 10:40:23 carbonfree dovecot: auth(default): client out: FAIL 2501 user=chris@chrisedington.com

    Any ideas on why this would be happening just off BlackBerry?

    Below is my dovecot -n

    Code:
    # 1.2.16: /etc/dovecot.conf
    # OS: Linux 2.6.18-194.32.1.el5 i686 CentOS release 5.5 (Final)
    protocols: imap imaps pop3 pop3s
    ssl_cert_file: /etc/dovecot/ssl/dovecot.crt
    ssl_key_file: /etc/dovecot/ssl/dovecot.key
    ssl_cipher_list: ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
    disable_plaintext_auth: no
    login_dir: /var/run/dovecot/login
    login_executable(default): /usr/libexec/dovecot/imap-login
    login_executable(imap): /usr/libexec/dovecot/imap-login
    login_executable(pop3): /usr/libexec/dovecot/pop3-login
    login_process_per_connection: no
    login_processes_count: 2
    login_max_processes_count: 50
    login_max_connections: 500
    mail_max_userip_connections(default): 40
    mail_max_userip_connections(imap): 40
    mail_max_userip_connections(pop3): 20
    mailbox_idle_check_interval: 25
    maildir_copy_preserve_filename: yes
    mail_executable(default): /usr/libexec/dovecot/imap
    mail_executable(imap): /usr/libexec/dovecot/imap
    mail_executable(pop3): /usr/libexec/dovecot/pop3
    mail_plugins(default): quota imap_quota
    mail_plugins(imap): quota imap_quota
    mail_plugins(pop3): quota
    mail_plugin_dir(default): /usr/lib/dovecot/imap
    mail_plugin_dir(imap): /usr/lib/dovecot/imap
    mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
    pop3_uidl_format(default): %08Xu%08Xv
    pop3_uidl_format(imap): %08Xu%08Xv
    pop3_uidl_format(pop3): UID%u-%v
    pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
    pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
    pop3_logout_format(pop3): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o
    namespace:
      type: private
      prefix: INBOX.
      inbox: yes
      list: yes
      subscriptions: yes
    lda:
      postmaster_address: postmaster@example.com
    auth default:
      mechanisms: plain login
      cache_size: 1024
      cache_ttl: 800
      cache_negative_ttl: 800
      username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%
      verbose: yes
      debug: yes
      debug_passwords: yes
      passdb:
        driver: checkpassword
        args: /usr/local/cpanel/bin/dovecot-auth
      userdb:
        driver: prefetch
      socket:
        type: listen
        client:
          path: /var/run/dovecot/auth-client
          mode: 438
    plugin:
      quota: maildir
      quota_rule: Trash:ignore

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    Are you running a firewall such as CSF or APF? It might be the following issue where the IP ranges need to be allowed:

    http://forums.cpanel.net/f43/blackbe...tml#post824681

    You could always test the issue by disabling CSF temporarily, then having the user re-attempt to authenticate to the service to see the results.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Re: Blackberry Authentication Issues

    Thanks for the reply..

    I think I will try disabling the firewall, but my hosts seem to think the firewall isnt the issue..

    They added those IPs for RIM/BlackBerry to /etc/firewall/INCLUDE.

    Will try and then report back..

  4. #4
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Re: Blackberry Authentication Issues

    Could it have anything to do with a self-signed certificate (listed in WHM)

    Exim (SMTP) Server and Dovecot Mail Server both have a self signed cert like this:


    Issuer: C=US, ST=Unknown, L=Unknown, O=Unknown, OU=Unknown, CN=carbonfree.getgreenhost.com/emailAddress=ssl@carbonfree.getgreenhost.com
    Not Before: Feb 12 21:28:14 2011 GMT
    Not After: Feb 12 21:28:14 2012 GMT
    Subject: C=US, ST=Unknown, L=Unknown, O=Unknown, OU=Unknown, CN=carbonfree.getgreenhost.com/emailAddress=ssl@carbonfree.getgreenhost.com
    Self Signed: YES

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    Did you already try disabling the firewall temporarily yet? The prior discussions with the error were about the IPs needing to be whitelisted in the existing firewall. As such, until that has been confirmed as not the cause, it isn't possible to speculate on other reasons.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  6. #6
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Re: Blackberry Authentication Issues

    Hi Tristan,

    No luck with firewall completely disabled unfortunately..

  7. #7
    Member
    Join Date
    Apr 2011
    Posts
    7

    Default Re: Blackberry Authentication Issues

    And we have a winner.

    Solution:

    Disabled CPHulk (going to find a way for them to play nice), and bumped up my Dovecot settings a bit, increased max connections and some other stuff.

    Good look to all who found this thread!

  8. #8
    Member
    Join Date
    Apr 2011
    Posts
    8
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    Quote Originally Posted by getgreen View Post
    And we have a winner.

    Solution:

    Disabled CPHulk (going to find a way for them to play nice), and bumped up my Dovecot settings a bit, increased max connections and some other stuff.

    Good look to all who found this thread!
    Hi Getgreen,

    Thank you for your information, you saved me from a very frustrating situation!

    I've also gone one step further and added the list of IP's that RIM use into the whitelist for CPHulk, that way I won't run into this problem again!

    Instead of turning of CPHulk you can also just flush the DB for CPHulk and the authentication for RIM's server will work.

    Regards,

  9. #9
    Registered User
    Join Date
    Sep 2011
    Posts
    1
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    Hi Guys,

    I know im a little late on this thread, but another alternative I found was adding the following in the cPHulk white list:

    173.247.32.0/19
    178.239.80.0/20
    193.109.81.0/24
    204.187.87.0/24
    206.51.26.0/24
    206.53.144.0/20
    216.9.240.0/20
    67.223.64.0/19
    68.171.224.0/19
    74.82.64.0/19
    93.186.16.0/20

    Regards

  10. #10
    Member
    Join Date
    Jan 2010
    Posts
    15

    Default Re: Blackberry Authentication Issues

    THANK YOU! was pulling my hair out!!!



    Quote Originally Posted by getgreen View Post
    And we have a winner.

    Solution:

    Disabled CPHulk (going to find a way for them to play nice), and bumped up my Dovecot settings a bit, increased max connections and some other stuff.

    Good look to all who found this thread!

  11. #11
    Member albatroz's Avatar
    Join Date
    Mar 2003
    Location
    Virtual Orbis / Peru
    Posts
    121
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    In my case, I had CPHulk disabled too.
    So the blackberry account could be configured only after the CSF firewall was disabled.
    Virtual Orbis Hosting / / Linux Hosting and more ...
    http://www.virtualorbis.com / /

  12. #12
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    Rather than disable CSF, you should be able to whitelist the IP ranges listed here in CSF:

    KB11036-Firewall and connection requirements for the BlackBerry Internet Service
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  13. #13
    Member albatroz's Avatar
    Join Date
    Mar 2003
    Location
    Virtual Orbis / Peru
    Posts
    121
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    Do they update that list regularly?
    I found a similar list in another website, that missed the last 2 IP ranges.

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Blackberry Authentication Issues

    This is blackberry's own site that I just linked for the knowledge base article. If they aren't updating their KB article when any ranges are added, that would truly be a Blackberry issue rather than anything else.

    Also, the last modified date is listed on the article itself:

    11-10-2011

    I cannot say how frequently they update it, but you could always try to script something to periodically check the page for any modification date and then add any new ranges.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Blackberry sending issues
    By krv783 in forum E-mail Discussions
    Replies: 2
    Last Post: 02-11-2011, 02:34 PM
  2. Issues with logging into cPanel using cookie authentication
    By mindcruft in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-08-2011, 02:50 PM
  3. Replies: 1
    Last Post: 11-11-2008, 02:32 AM
  4. Issues connecting to email server from Blackberry
    By paulm in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-03-2008, 01:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube