mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #212] Add mailbox from cli #168
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @endelwar on GitHub (Nov 9, 2016).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/212
I can't find any hint about adding a new mailbox from command line or in an automated way.
I've a long csv file with email and password and I would like to automate this task.
@gibzer commented on GitHub (Nov 10, 2016):
(Attachment deleted, see https://github.com/opensolutions/ViMbAdmin/issues/212#issuecomment-263279768)
I wrote Perl scripts to automate some actions:
They need no any Perl dependencies, but doveadm for creating passwords with selected password scheme (because ViMbAdmin in standard tutorial uses Dovecot, it's assumed as installed). They do what is expected, except adding a record to log table. Adjust database settings in scripts (plus mail paths in "create mailbox" script). Read input format in the beginning of script (field delimiter is tabulation).
Usage: ./script file_with_data
or
echo "data" | ./script
Hope it will help.
@endelwar commented on GitHub (Nov 26, 2016):
@gibzer great scripts, I've found them very useful!
You should create a PR with them
@gibzer commented on GitHub (Nov 28, 2016):
Created repository for scripts: https://github.com/gibzer/vimbadmin-cli
@extremeshok commented on GitHub (Nov 28, 2016):
Hi
The repo should be called vimbadmin-perl.
Since they do not use actual shell nor the native vimbadmin code.
One would assume the cli would be using php and not perl
Thanks
_________________ eXtremeSHOK.com _________________
@gibzer commented on GitHub (Nov 28, 2016):
Done.
https://github.com/gibzer/vimbadmin-perl
@endelwar commented on GitHub (Nov 28, 2016):
I don't agree with @extremeshok, they are Command Line Interface to ViMbAdmin, php has nothing to do with this.
If @gibzer wants to rename the project ti should be vimbadmin-tools or something like that...
@barryo commented on GitHub (Nov 28, 2016):
Added to: https://github.com/opensolutions/ViMbAdmin/wiki/Third-Party-Applications