Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mutiple COS object setups #2

Open
ashleyse2016 opened this issue Mar 7, 2017 · 0 comments
Open

Add support for mutiple COS object setups #2

ashleyse2016 opened this issue Mar 7, 2017 · 0 comments

Comments

@ashleyse2016
Copy link

If you have multiple COS (Class of Service) objects setup, then reporting spam or accessing the interface, results in a proxy error:

HTTP ERROR 403 Problem accessing /service/proxy. Reason Forbidden)

You can verify this by looking in the access logs:

/opt/zimbra/log/nginx.access.log

63182:1.2.3.4:59520 - [email protected] [07/Mar/2017:10:14:16 -0300] "POST /service/proxy?target=https://api.hostname.tld/api/authticket/create/username/[email protected] HTTP/1.1" 403 462 "http://webmail.host.tld/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0" "127.0.0.1:8080"

A way to fix this after install is to do something like (for both spamrl and api hostname):

 for i in `zmprov gac`; do zmprov mc $i +zimbraProxyAllowedDomains *.spamrl.com; done
 for i in `zmprov gac`; do zmprov mc $i +zimbraProxyAllowedDomains *.api.hostname.tld; done

This should be incorporated into the addon to check/adjust

https://wiki.zimbra.com/wiki/Zimlet_Developers_Guide:Proxy_Servlet_Setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants