X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export.pm;h=c9ae41fc1db067003d8090f57bd3e01ed3779681;hp=9645feb981800952a6c87c0afda9ec44972bea44;hb=e6f6f496883b8e8be42f4d92f01b61dbc2c590be;hpb=f97fd1dc04ae1bc8a130aecff0038a0e52cef82b
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 9645feb98..c9ae41fc1 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -274,8 +274,6 @@ sub check {
;
return $error if $error;
- warn $self->machine. "!!!\n";
-
$self->machine =~ /^([\w\-\.]*)$/
or return "Illegal machine: ". $self->machine;
$self->machine($1);
@@ -641,10 +639,13 @@ tie my %infostreet_options, 'Tie::IxHash',
;
tie my %vpopmail_options, 'Tie::IxHash',
- 'machine' => { label=>'vpopmail machine', },
+ #'machine' => { label=>'vpopmail machine', },
'dir' => { label=>'directory', }, # ?more info? default?
'uid' => { label=>'vpopmail uid' },
'gid' => { label=>'vpopmail gid' },
+ 'restart' => { label=> 'vpopmail restart command',
+ default=> 'cd /home/vpopmail/domains; for domain in *; do /home/vpopmail/bin/vmkpasswd $domain; done; /var/qmail/bin/qmail-newu; killall -HUP qmail-send',
+ },
;
tie my %bind_options, 'Tie::IxHash',
@@ -778,7 +779,7 @@ tie my %sqlmail_options, 'Tie::IxHash',
'vpopmail' => {
'desc' => 'Real-time export to vpopmail text files',
'options' => \%vpopmail_options,
- 'notes' => 'Real time export to vpopmail text files (...extended description from jeff?...) File::Rsync must be installed.',
+ 'notes' => 'Real time export to vpopmail text files. File::Rsync must be installed, and you will need to setup SSH for unattended operation to vpopmail@export.host.',
},
},
@@ -819,8 +820,6 @@ tie my %sqlmail_options, 'Tie::IxHash',
},
- 'svc_acct_sm' => {},
-
'svc_forward' => {
'sqlmail' => {
'desc' => 'Real-time export to SQL-backed mail server',
@@ -839,6 +838,9 @@ tie my %sqlmail_options, 'Tie::IxHash',
},
+ 'svc_broadband' => {
+ },
+
);
=back