Barracuda::Api - Easy way to communicate with Barracuda API version 4.x and above
use Barracuda::Api my $bar = Barracuda::Api->new( { domain => 'mydomain.com', password => 'myp@ssword' } );
This module gives few method to play with Barracuda API version 4.x and above.
A better documentation of Barracuda API can be found at https://techlib.barracuda.com/BSF/APIGuide
The constructor take a reference to hash. See the ATTRIBUTES section to get all parameters.
Method to list all domain.
It return a scalar with XMLRPC answer (formatted or not).
Method to get the destination host for $domain.
Method to create domain $domain with destination $destination.
Method to delete domain $domain.
Method to create user $user.
Method to delete user $user.
Method to whitelist $whitelist for specific domain $domain and optionally add a comment $comment.
Same as whitelist method, but blacklist $blacklist.
Mael Regnery <mael@cpan.org>
Copyright (C) 2016, <Mael Regnery>.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl 5.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
To install Barracuda::Api, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Barracuda::Api
CPAN shell
perl -MCPAN -e shell install Barracuda::Api
For more information on module installation, please visit the detailed CPAN module installation guide.