Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.276.784 Times

IMAP::Admin 1.6.4

  Date Added: August 21, 2010  |  Visits: 1.203

IMAP::Admin

Report Broken Link
Printer Friendly Version


Product Homepage
Download (93 downloads)



IMAP::Admin is a Perl module for basic IMAP server administration. SYNOPSIS use IMAP::Admin; $imap = IMAP::Admin->new(Server => name.of.server.com, Login => login_of_imap_administrator, Password => password_of_imap_adminstrator, Port => port# (143 is default), Separator => ".", # default is a period CRAM => 1, # off by default, can be 0,1,2 SSL => 1, # off by default # and any of the SSL_ options from IO::Socket::SSL ); $err = $imap->create("user.bob"); if ($err != 0) { print "$imap->{Error}n"; } if ($err != 0) { print $imap->error; } $err = $imap->create("user.bob", "green"); $err = $imap->delete("user.bob"); $err = $imap->h_delete("user.bob"); $err = $imap->subscribe("user.bob"); $err = $imap->unsubscribe("user.bob"); $err = $imap->rename("bboard", "newbboard"); @quota = $imap->get_quotaroot("user.bob"); @quota = $imap->get_quota("user.bob"); $err = $imap->set_quota("user.bob", 10000); @acl = $imap->get_acl("user.bob"); %acl = $imap->get_acl("user.bob"); $err = $imap->set_acl("user.bob", "admin", "lrswipdca", "joe", "lrs"); $err = $imap->delete_acl("user.bob", "joe", "admin"); @list = $imap->list("user.bob"); @list = $imap->list("user.b*"); $imap->{Capability} # this contains the Capabilities reply from the IMAP server $imap->close; # close open imap connection IMAP::Admin provides basic IMAP server adminstration. It provides functions for creating and deleting mailboxes and setting various information such as quotas and access rights. Its interface should, in theory, work with any RFC compliant IMAP server, but I currently have only tested it against Carnegie Mellon Universitys Cyrus IMAP and Mirapoints IMAP servers. It does a CAPABILITY check for specific extensions to see if they are supported. Operationally it opens a socket connection to the IMAP server and logs in with the supplied login and password. You then can call any of the functions to perform their associated operation. Separator on the new call is the hiearchical separator used by the imap server. It is defaulted to a period ("/" might be another popular one). CRAM on the new call will attempt to use CRAM-MD5 as the login type of choice. A value of 0 means off, 1 means on, 2 means on with fallback to login. *Note* this options requires these perl modules: Digest::MD5, Digest::HMAC, MIME::Base64 SSL on the new call will attempt to make an SSL connection to the imap server. It does not fallback to a regular connection if it fails. It is off by default. IO::Socket::SSL requires a ca certificate, a client certificate, and a client private key. By default these are in current_directory/certs, respectively named ca-cert.pem, client-cert.pem, and client-key.pem. The location of this can be overridden by setting SSL_ca_file, SSL_cert_file, and SSL_key_file (youll probably want to also set SSL_ca_path). I generated my ca cert and ca key with openssl: openssl req -x509 -newkey rsa:1024 -keyout ca-key.pem -out ca-cert.pem I generated my client key and cert with openssl: openssl req -new -newkey rsa:1024 -keyout client-key.pem -out req.pem -nodes openssl x509 -CA ca-cert.pem -CAkey ca-key.pem -req -in req.pem -out client-cert.pem -addtrust clientAuth -days 600 Setting up SSL Cyrus IMAP v 2.x (completely unofficial, but it worked for me) add these to your /etc/imapd.conf (remember to change /usr/local/cyrus/tls to wherever yours is) tls_ca_path: /usr/local/cyrus/tls tls_ca_file: /usr/local/cyrus/tls/ca-cert.pem tls_key_file: /usr/local/cyrus/tls/serv-key.pem tls_cert_file: /usr/local/cyrus/tls/serv-cert.pem For my server key I used a self signed certificate: openssl req -x509 -newkey rsa:1024 -keyout serv-key.pem -out serv-cert.pem -nodes -extensions usr_cert (in openssl.cnf I have nsCertType set to server) I also added this to my /etc/cyrus.conf, it shouldnt strictly be necessary as clients that are RFC2595 compliant can issue a STARTTLS to initiate the secure layer, but currently IMAP::Admin doesnt issue this command (in SERVICES section): imap2 cmd="imapd -s" listen="simap" prefork=0 where simap in /etc/services is: simap 993/tcp # IMAP over SSL.

Requirements: No special requirements
Platforms: Linux
Keyword: Acl By Default Ca Cram Default Err Imap Server Imapadmin Key Libraries Perl Module Programming Server Ssl
Users rating: 0/10

License: Freeware Size: 14.34 KB
USER REVIEWS
More Reviews or Write Review


IMAP::ADMIN RELATED
Networking Tools  -  Cyrus IMAP Server 2.1.18
The Cyrus IMAP server is generally intended to be run on sealed systems, where normal users are not permitted to log in. Electronic mail is a major infrastructure service of almost all organizations. At Carnegie Mellon the use of electronic mail...
1.6 MB  
Business  -  POP3/IMAP server for GMAIL in JAVA 0.2.1
gavamail is a POP3/IMAP server implemented in JAVA for reading your gmail e-mail with your favorite mail client. Currently only POP3 is implemented but I hope to implement IMAP too. Libraries provided by the g4j and libgmail projects are used.
30.22 KB  
Networking Tools  -  Nmonitor 2.0.0
Nmonitor is a monitoring tool, by default capable of monitoring via ping, UDP and TCP checks. It has builtin plugin system so customized scripts can be used to monitor whatever you like eg. oracle tablespaces, diskspace whatever. This tool was...
112.64 KB  
Utilities  -  lm-monitor 1.0
lm-monitor is a daemon that run sensors at a defined interval (15 seconds by default) and checks the output If a sensor value has gone outside the defined limit since the last reading, an email message is sent to one or more administrators,...
21.5 KB  
Programming  -  LLVM for Linux 2.9
The broad goal of our project is to provide deterministic-by-default semantics for an object-oriented, imperative parallel language, using primarily compile-time checking. "Deterministic" means that the program produces the same visible output for...
9.13 MB  
Libraries  -  CSS::SAC::ConditionFactory 0.06
CSS::SAC::ConditionFactory Perl module contains the default ConditionFactory. SYNOPSIS my $cf = CSS::SAC::ConditionFactory->new; my $cond1 = $cf->create_foo_condition; my $cond2 = $cf->create_bar_condition; This is the default...
37.89 KB  
DNS Tools  -  DNRD 2.20.3
Domain Name Relay Daemon is a caching, forwarding DNS proxy server. Most useful on vpn or dialup firewalls but it is also a nice DNS cache for minor networks and workstations. dnrd is a proxying nameserver. DNRD forwards DNS queries to the...
153.6 KB  
E-Mail Tools  -  Courier-IMAP 4.1.2
Courier-IMAP is a fast, scalable, enterprise IMAP server that uses Maildirs. Many E-mail service providers use Courier-IMAP to easy handle hundreds of thousands of mail accounts. With the built-in IMAP and POP3 aggregation proxy in Courier-IMAP...
3.1 MB  
Libraries  -  Chilkat IMAP C++ Library 9.2.1
IMAP client is a component designed for reading and managing email and folders on an IMAP server.
 
Libraries  -  ASNMTAP::Asnmtap::Plugins::Mail 3.000.010
ASNMTAP::Asnmtap::Plugins::Mail is a Perl module that provides Mail functions used by ASNMTAP-based plugins. SYNOPSIS use ASNMTAP::Asnmtap::Plugins::Mail; my $objectNagios = ASNMTAP::Asnmtap::Plugins::Mail->new (); Sending and receiving...
1.6 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB