I've configured my server with

Code:
 zmprov md domain.com zimbraPublicServiceHostname newdomain.com

but when I share a folder and set it to public it doesn't work. it gives me a 401 error:

Code:
HTTP ERROR 401

Problem accessing /service/home/user@domain.net/a/test.jpg. Reason:

    must authenticate

Powered by Jetty://
but if I manually change hostname of mailserver it works and I can see my files.

original URL:

- http://correu.example.net/home/user@...net/a/test.jpg

modified URL:

- http://webmail.example.net/home/user...net/a/test.jpg


as you can see, the only thing that changed is hostname from
Code:
correu
to
Code:
webmail
.

briefcase generates URLS correctly with webmail but then it gives me 401.

I'm using 7.2.1_GA:


Code:
$ zmcontrol -v
Release 7.2.1_GA_2790.UBUNTU10_64 UBUNTU10_64 FOSS edition.