Sorry for spamming but looks like I'm almost done. At least no unexpected 
behaviour anymore.
To sum it up:

1. MailEnabled checkbox not loading looks like a bug to me. Other fields like 
"mailAlias", "mailHomeDirectory" or even "mailAlias" work as expected. I can 
save a value and it will be loaded into the filed after entering the details 
view.


2. "mailAlias" is an interesting attributeType. It is used in both objectClases 
"postfixBookMailAccount" and "postfixBookMailForward":
- 
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/e0943c52fa5fbabc73cce4ae983e167ef54da81a/plugin/schema.d/75-postfixbook.ldif#L87

- 
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/e0943c52fa5fbabc73cce4ae983e167ef54da81a/plugin/schema.d/75-postfixbook.ldif#L95

Does that mean for me, I have to use "add_missing_object_class(...)" for both 
objectClasses in its mailalias.py file?
- 
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/e0943c52fa5fbabc73cce4ae983e167ef54da81a/plugin/ipaserver/plugins/mailalias.py#L29


3. As "mailAlias" is mandatory according to the schema (see second link above, 
line 95 in "postfixBookMailForward" objectClass), how can I let it be generated 
like the regular "mail" field is generated? 
For example, "mail" is using "uid@domain", I think it would make sense to use 
"firstname.lastname@domain" for "mailAlias". I couldn't find the source code 
for the "mail" generation process.


4. Is there a way to say "mailAlias" values has to be unique across all users?
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to