Is there a way to set email aliases and the default From sending domain for ALL Users in bulk?
I know I can do this on a user by user basis:
- Configuration / Email / Create New Domain;
- Management / Email Addresses / Mail Aliases;
and then in Webtop:
- User / Settings / Personal Information / Email.
but I'd like to be able to do this in Bulk via database or import script etc.
I have a server running AD/file share/nextcloud nicely in a local environment using the (non external qualified) 'company.lan' with some 30+ users configured. We are now looking at utilising email via webtop. I have added a fully qualified domain 'company.com.au' and email delivery internal and external is working fine once the above changes are made to individual users.
The prospect of changing them all individually is a little daunting so direction for a script of sorts would be appreciated.
NethServer Version: 7.4.1708