Syntax Password Problems

Issue #786 resolved
debian13 created an issue

When importing through Imap, there are problems with passwords that contain an exclamation point > ! .

I need to change the user's password before it works. Other special characters I have not tried.

Comments (7)

  1. Janos SUTO repo owner

    I'm not sure what problem you encountered. Since you have to specify '!' on the command line, perhaps you have to quote it, eg.

    pilerimport .... -p some\!password
    
  2. debian13 reporter

    A Password with "!" doesn't work. A Password without "!" works.

    pilerimport -i debain13.fritz.box -u namexyz -p 7zeh32Gje is ok

    The Import beginns.

    pilerimport -i debain13.fritz.box -u namexyz -p 7zeh3!2Gje is not ok

    The Output with "!":

    pilerimport -i debian.fritz.box -u namexyz -p 7zeh3apt-get install mcGje login failed, server reponse: A1 NO [AUTHENTICATIONFAILED] Authentication failed.

  3. Janos SUTO repo owner

    Run ngrep -X port 143, and let me know if the password is there correctly in the packet pilerimport actually sends.

  4. debian13 reporter

    pilerimport -i debian13.fritz.box -u namexyz -p 7zeh3!2Gje

    root@debian13:~# ngrep -X port 143 interface: eth0 (192.168.2.0/255.255.255.0) filter: (ip or ip6) and ( port 143 )

    T 192.168.2.88:143 -> 192.168.2.45:44247 [AP] * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUT =LOGIN] Dovecot ready...

    T 192.168.2.45:44247 -> 192.168.2.88:143 [AP] A1 LOGIN namexyz "7zeh3apt-get"..

    T 192.168.2.88:143 -> 192.168.2.45:44247 [AP] A1 NO [AUTHENTICATIONFAILED] Authentication failed...

  5. Michael

    @debian13

    I don't see how you escape the exclamation mark (!).

    As Janos already mentioned it, you have to escape such special characters in the bash with "\"

    It may also work if you wrap single quotation marks around the password (untested), like: pilerimport -i debian13.fritz.box -u namexyz -p '7zeh3!2Gje'

  6. Log in to comment