[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalid string supplied for user name


From Ben Hartmann <mail dot benhartmann at googlemail dot com>
Subject Invalid string supplied for user name
Date Thu, 07 May 2009 17:18:55 +0100

Hi there,
I've got a problem with the authentification to one of our
imap-servers. My username has the following format: "DOMAIN\user". But
imapsync come back with an errormessage saying: "Invalid string
supplied for user name".

Is there a way to get this working?


Here's the output of the imapsync-run (without usernames, pswd's, etc):

root at ubuntu-server:~# ./sync_my_mail
$RCSfile: imapsync,v $ $Revision: 1.252 $ $Date: 2008/05/08 02:30:17 $
Here is a [linux] system (Linux ubuntu-server 2.6.27-11-server #1 SMP
Thu Jan 29 20:19:41 UTC 2009 i686)
with perl 5.10.0 and the module Mail::IMAPClient version used here is
2.2.9
Command line used :
/usr/bin/imapsync --host1 [imapserver1] --user1 [username1]
--password1  PWCHANGED --ssl1 --host2 [imapserver2] --user2
[DOMAIN\user] --password2  PWCHANGED --ssl2 --noauthmd5 --dry
Turned ON syncinternaldates, will set the internal dates on host2 same
as host1.
TimeZone:[BST]
Will try to use LOGIN authentication on host1
Will try to use LOGIN authentication on host2
>From imap server [imapserver1] port [993] user [user1]
To   imap server [imapserver2] port [993] user [DOMAIN\user]
Banner: No banner
Host [imapserver1] says it has CAPABILITY for AUTHENTICATE LOGIN
Success login on [imapserver1] with user [user1] auth [LOGIN]
Banner: No banner
Host email.gbaships.org says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login : [imapserver2] with user [DOMAIN\user] auth [LOGIN]: 3
BAD Protocol Error: "Invalid string supplied for user name".

3 BAD Protocol Error: "Invalid string supplied for user name".
        ...propagated at /usr/bin/imapsync line 759.


Regards,
Ben Hartmann