Hello....
I'm running dovecot 1.0.10 with users in an LDAP database (Apples Open Directory).
In Open Directory, a users mail-info is saved as XML-formated data in the field apple-user-mailattribute as seen below. I want to extract the value key "kUserDiskQuota".
Nay ideas on how to accomplish this?
<?xml version="1.0" encoding="UTF-8"?>
<dict> <key>kAPOPRequired</key> <string>APOPNotRequired</string> <key>kAltMailStoreLoc</key> <string></string> <key>kAttributeVersion</key> <string>Apple Mail 1.0</string> <key>kAutoForwardValue</key> <string></string> <key>kIMAPLoginState</key> <string>IMAPAllowed</string> <key>kMailAccountLocation</key> <string>blah.example.com</string> <key>kMailAccountState</key> <string>Enabled</string> <key>kPOP3LoginState</key> <string>POP3Deny</string> <key>kUserDiskQuota</key> <string>500</string> </dict>
Thanks, Tobias