I guess I have caused a mess with the amount of emails sent. 

So I will bring back in here the summed up points and also reply to your last 
mail.

> Please update your github repository.

What do you mean? My repo has the latest source code changes, just no uploaded 
rpm packages. I haven't created a release yet, as I would like to solve the 
points 2, 3 and maybe 4 (see below). Bu if you need the packages, I can of 
course create and upload them, just let me know.

> It is a mess. Please open a bug about boolean handling and I'll see to fix 
> all these places too.

Bug was opened under: https://pagure.io/freeipa/issue/9171

So the first point is clear then and related to the submitted issue.

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