[horde] Outlook (+ iPhone) via ActiveSync asks for password
Arjen de Korte
arjen+horde at de-korte.org
Fri Jan 31 12:40:10 UTC 2014
Citeren do9man <do9man at gmail.com>:
> I am not sure, what software is responsible for this error: Windows Mail,
> apache/nginx, authpsa (Plesk?), courier or horde?
>
> In /mail.err/:
> courier-authdaemon: authpsa: short mail addresses are not allowed, got
> '*admin*'
>
> In /access_ssl_log/:
> "OPTIONS
> /Microsoft-Server-ActiveSync?User=*admin*&DeviceId=BE2689FFEA580DA3F5F6C1DD0A0D03CE&DeviceType=WindowsMail
> HTTP/1.0" *401* 1226 "-" "WindowsMail/17.5.9600.20315"
>
> But next second the *whole email address* is passed as username and it works
> (200).
> What is going wrong?
Obviously, you're using full email adresses for authentication. If
Windows Mail only sends the username (without the domain part), that
is clearly not going to work. You should either
1) Use only usernames for authentication (without the domain)
2) Make Windows Mail authenticate with the full email adress (username
+ domain) on the first try
3) Use a preauthenticate hook (horde/config/hooks.php) to append the
default domain if none is provided in the UserID.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140131/f90f562a/attachment.bin>
More information about the horde
mailing list