Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16881

Spaces in password cause mail fetching to fail

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.5
    • Fix Version/s: 4.7
    • Component/s: CiviMail
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      If you have spaces in your email account password for bounce processing, fetching data via IMAP simply fails. This is not good. But seems like it should be a simple fix, some string quoting needed?

      The Civi job log reports the IMAP server's error as:

      "The IMAP server did not accept the username and/or password: A0001 BAD Error in IMAP command received by server."

      but what we see in the server log is that Civi submitted no username at all (blank string inside the <>):

      "dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>"

        Attachments

          Activity

            People

            • Assignee:
              Sudha Sudha Bisht
              Reporter:
              adam12b Adam Bernstein
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: