Format of mailattribute in user records, Format of mailattribute in user records 629, Format of mailattribute in user records (p. 629) – Apple Mac OS X Server (version 10.2.3 or later) User Manual
Page 629
Data Requirements of Mac OS X Directory Services
629
Format of MailAttribute in User Records
Ensure that the MailAttribute of each user record that your server will retrieve from an LDAP 
or Active Directory server is in the format described in the following table. If any field 
contains an incorrect value, the MailAttribute is ignored (in other words, treated as if 
MailAccountState were “Off ”). 
User record 
MailAttribute field
Format
Sample values
AttributeVersion
A required case-
insensitive value that 
must be set to
“AppleMail 1.0.”
<key>kAttributeVersion</key>
<string>AppleMail 1.0</string>
MailAccountState
A required case-
insensitive keyword 
describing the state of 
the user’s mail. It must 
be set to one of these 
values: “Off,” “Enabled,” 
or “Forward.”
<key>kMailAccountState</key>
<string>Enabled</string>
POP3LoginState
A required case-
insensitive keyword 
indicating whether the 
user is allowed to access 
mail via POP. It must be 
set to one of these 
values: “POP3Allowed” 
or “POP3Deny.”
<key>kPOP3LoginState</key>
<string>POP3Deny</string>
IMAPLoginState
A required case-
insensitive keyword 
indicating whether the 
user is allowed to access 
mail using IMAP. It must 
be set to one of these 
values: “IMAPAllowed” 
or “IMAPDeny.”
<key>kIMAPLoginState</key>
<string>IMAPAllowed</string>
MailAccountLocation
A required value 
indicating the domain 
name or IP address of 
the Mac OS X Server 
responsible for storing 
the user’s mail.
<key>kMailAccountLocation</key>
<string>domain.example.com
</string>
LL0395.Book Page 629 Wednesday, November 20, 2002 11:44 AM