Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: john56 on November 17, 2018, 02:18:24 PM
-
I've a domain "kerplouz.com". I use it with office365 for my school.
Is there a way to configure sme with it to have adresses email like "prenom.nom@kerplouz.com", not to use it with sme but to have thoses adresses emails into the sme's LDAP in order to use it with a lot of applications.
Then i wiil use those adresses created by sme with lazy admin tools in order to export them to create office365's adresses (actually it's impossible to use ldap with office365 :-()
I do not know if I'm clear ...
-
I've a domain "kerplouz.com". I use it with office365 for my school.
Is there a way to configure sme with it to have adresses email like "prenom.nom@kerplouz.com", not to use it with sme but to have thoses adresses emails into the sme's LDAP in order to use it with a lot of applications.
Then i wiil use those adresses created by sme with lazy admin tools in order to export them to create office365's adresses (actually it's impossible to use ldap with office365 :-()
I do not know if I'm clear ...
If you create a user in SME with Firstname Lastname, than it will automatically create e-mail address Firstname.Lastname@kerplouz.com. These user accounts will be also presented in LDAP for your needs.
Stefan
-
In the ldap, the first email entry is login@kerplouz.com, not firstname.lastname@kerplouz.com, so my applications using ldap received only this one.
Question, is there a way to regenerate pseudonyms ? i have only 10 of my 800 users ...
-
no more idea ?
-
john56
Question, is there a way to regenerate pseudonyms ? i have only 10 of my 800 users ...
Have you tried doing
signal-event post-upgrade
signal-event reboot
If there are entries for the pseudonyms still in the accounts database, then the above may not recreate the pseudonyms, you may have to delete the accounts database entries first.
-
I've deleted them in the panel.
After a signal-event post-upgrade
signal-event reboot
my panel is still empty.
-
john56
Did you check the accounts database ?
db accounts show |more
to see if the pseudonyms names are still listed
eg
first_last
first.last
-
no more pseudonym i believe. Only for admin, abuse ...
-
john56
What does "I believe" mean ?
Are they there or not ?
Did you scroll through the database listing ie using Enter key or space bar right until the end & review the actual entries for existing users ?
-
yes i have seen it in /home/e-smith/db/accounts.
-
john56
i have seen it in /home/e-smith/db/accounts.
If you still see pseudonyms in the accounts database that appear like the following
(for users like first last):
first_last
first.last
Then you need to delete all those entries.
Yes 790 of them, so maybe you need to write a script to do so.
Once deleted you can run the post upgrade & reboot events, which should recreate all the pseudonym variants.
If
first_last
first.last
are definitely not in the accounts database, then something else is wrong & I do not know what.
-
Hi, there is no more pseudonym like
first_last
first.last
run the post upgrade & reboot events doesn't regenerate pseudonyms.
-
john56
Sorry the method suggested does not work (as you discovered).
The user (account) needs to be deleted & recreated, which will then create all the pseudonyms.
Deleting the user account will delete the users home & Maildir folders (& all email), which is probably not desired.
Instead you could use the Lazy Admin Tools contrib
https://wiki.contribs.org/Lazy_Admin_Tools
in particular
https://wiki.contribs.org/Lat-pseudonyms
You could create pseudonyms in a batch process from an input file.
-
Thanks for your help Janet.
I have use lat-user to add a user today, no pseudonym have been added ...
-
john56
You have to use Lat-pseudonyms, see link at end of my prevoous post !
-
Yes of course but it's a bit boring to do like that. I thought it was easier to do it.