diff -urN app_voicemail.c app_voicemail_patched_trunk.c --- app_voicemail.c 2007-05-16 11:52:36.681363200 -0400 +++ app_voicemail_patched_trunk.c 2007-05-16 11:56:44.357504000 -0400 @@ -4813,8 +4813,9 @@ ast_build_string(&t, &left, "{%s:%s/imap", imapserver, imapport); /* Add authentication user if present */ - if (!ast_strlen_zero(authuser)) - ast_build_string(&t, &left, "/%s", authuser); + if (!ast_strlen_zero(authuser)) + ast_build_string(&t, &left, "/authuser=%s", authuser); + /* Add flags if present */ if (!ast_strlen_zero(imapflags))