diff options
author | ivan <ivan> | 2004-03-24 14:28:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-03-24 14:28:48 +0000 |
commit | dabdf357484badff95afcae50b08ec1c3bb58343 (patch) | |
tree | be9286511b919228eda79aa69efacddf449851fb /FS/FS/part_export/cyrus.pm | |
parent | 7de51deb0e3e3fe1b0a9e06be6498256d5511bd0 (diff) |
move export info to the modules themselves
Diffstat (limited to 'FS/FS/part_export/cyrus.pm')
-rw-r--r-- | FS/FS/part_export/cyrus.pm | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/FS/FS/part_export/cyrus.pm b/FS/FS/part_export/cyrus.pm index 110ff198f..84c9e5a30 100644 --- a/FS/FS/part_export/cyrus.pm +++ b/FS/FS/part_export/cyrus.pm @@ -1,10 +1,31 @@ package FS::part_export::cyrus; -use vars qw(@ISA); +use vars qw(@ISA %info); +use Tie::IxHash; use FS::part_export; @ISA = qw(FS::part_export); +tie my %options, 'Tie::IxHash', + 'server' => { label=>'IMAP server' }, + 'username' => { label=>'Admin username' }, + 'password' => { label=>'Admin password' }, +; + +%info = ( + 'svc' => 'svc_acct', + 'desc' => 'Real-time export to Cyrus IMAP server', + 'options' => \%options, + 'nodomain' => 'Y', + 'notes' => <<'END' +Integration with +<a href="http://asg.web.cmu.edu/cyrus/imapd/">Cyrus IMAP Server</a>. +Cyrus::IMAP::Admin should be installed locally and the connection to the +server secured. <B>svc_acct.quota</B>, if available, is used to set the +Cyrus quota. +END +); + sub rebless { shift; } sub _export_insert { @@ -95,4 +116,5 @@ sub cyrus_connect { #sub cyrus_replace { #subroutine, not method #} +1; |