summaryrefslogtreecommitdiff
path: root/FS/FS/part_export.pm
diff options
context:
space:
mode:
authorivan <ivan>2002-10-20 03:28:23 +0000
committerivan <ivan>2002-10-20 03:28:23 +0000
commite6f6f496883b8e8be42f4d92f01b61dbc2c590be (patch)
treea80ee8ba4f8e290b8990ca38243d30b9eb2ef3fb /FS/FS/part_export.pm
parentf3175f9f238b54db37d701a7a7a5ede425b5753b (diff)
vpopmail restart export option
Diffstat (limited to 'FS/FS/part_export.pm')
-rw-r--r--FS/FS/part_export.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 1b402e0..c9ae41f 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -643,6 +643,9 @@ tie my %vpopmail_options, 'Tie::IxHash',
'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',