Hi,
I'm trying to set the attribute zimbraPrefFromAddress via SOAP with a ModifyAccountRequest:
Code:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>0_bc7...</authToken>
<nosession/>
</context>
</soap:Header>
<soap:Body>
<ModifyAccountRequest xmlns="urn:zimbraAdmin">
<id>bb4250d5-f214-45f3-b274-49561b90549c</id>
<a n="zimbraPrefFromAddress">f.l@domain.com</a>
</ModifyAccountRequest>
</soap:Body>
</soap:Envelope> The response:
Code:
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Sender</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text>permission denied: cannot access attribute zimbraPrefFromAddress on account target test@domain.com</soap:Text>
</soap:Reason>
<soap:Detail>
<Error xmlns="urn:zimbra">
<Code>service.PERM_DENIED</Code>
Why am I not allowed to do this? The auth code is generated using a domain account.
Any ideas?
Regards
Tobo