summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark <mark>2009-08-10 18:05:50 +0000
committermark <mark>2009-08-10 18:05:50 +0000
commit7aed8d03d957ee46c71a679ab6fe906d27b33550 (patch)
tree4e993bacd4b6d3df389aeebd45dbe2acc4b39940
parent903fe2fe14cebb5d311d43edfc60d3c36333e146 (diff)
Add preset for magicmail
-rw-r--r--FS/FS/part_export/shellcommands_withdomain.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/FS/FS/part_export/shellcommands_withdomain.pm b/FS/FS/part_export/shellcommands_withdomain.pm
index e1f47e410..448f0b77b 100644
--- a/FS/FS/part_export/shellcommands_withdomain.pm
+++ b/FS/FS/part_export/shellcommands_withdomain.pm
@@ -87,6 +87,17 @@ the same username with different domains. You will need to
this.form.usermod_stdin.value = "";
this.form.usermod_pwonly.checked = true;
'>
+ <LI><INPUT TYPE="button" VALUE="MagicMail" onClick='
+ this.form.useradd.value = "/usr/bin/mm_create_email_service -e $svcnum -d $domain -u $username -p $quoted_password -f $first -l $last -m $svcnum -g EMAIL";
+ this.form.useradd_stdin.value = "";
+ this.form.userdel.value = "/usr/bin/mm_delete_user -e ${username}\\\@${domain}";
+ this.form.userdel_stdin.value = "";
+ this.form.suspend.value = "/usr/bin/mm_suspend_user -e ${username}\\\@${domain}";
+ this.form.suspend_stdin.value = "";
+ this.form.unsuspend.value = "/usr/bin/mm_activate_user -e ${username}\\\@${domain}";
+ this.form.unsuspend_stdin.value = "";
+ this.form.no_queue.checked = 1;
+ '>
</UL>
The following variables are available for interpolation (prefixed with