We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Sync VestaCP Domains with Rainloop
-
- Posts: 11
- Joined: Thu Sep 04, 2014 5:41 am
Sync VestaCP Domains with Rainloop
Hi All,
I wanted to automate configuring Rainloop with my VestaCP domains and couldn't really find anything so I made a simple script to do a simple sync with VestaCP.
The script can be found here - https://github.com/chaosjester/VestaCP-to-Rainloop-Sync, feel free to fork and expand on it. I am sure there are "better" or "easier" ways of doing this, but with my limited scripting skills this is how I chose to do this.
What it does do:
Any comments or suggestions are welcomed.
I wanted to automate configuring Rainloop with my VestaCP domains and couldn't really find anything so I made a simple script to do a simple sync with VestaCP.
The script can be found here - https://github.com/chaosjester/VestaCP-to-Rainloop-Sync, feel free to fork and expand on it. I am sure there are "better" or "easier" ways of doing this, but with my limited scripting skills this is how I chose to do this.
What it does do:
- Pull user list then use list to find all domains
- Look in Rainloop domain configuration directory and create a config file if none exists
- Logs creation or skip to file
- Evaluate if the user has gmail as a mail DNS template and skip
- Evaluate if the user has no mail domains configured and skip
- Allow users to change POP/IMAP passwords within rainloop
Any comments or suggestions are welcomed.