Hide VirtualMTA Setting in IEM Mailing Lists
Overview
The patch that’s described on this page hides the Mail Route
(VirtualMTA) field that is normally visible when creating or editing mailing lists, or sending campaigns on IEM installations that use the IEM GreenArrow Patch. This patch be useful on IEM installations where non-administrative IEM users should be prevented from easily changing which VirtualMTA they are using. If you use this patch, you may also want to use the Per-User VirtualMTAs Patch for IEM.
Installation Instructions
- Install the IEM GreenArrow Patch if you haven’t already.
-
Download the patch to IEM’s root directory:
wget https://www.greenarrowemail.com/docs/downloads/iem-greenarrow-hide-per-mailing-list-vmta-1.00.patch
-
Verify that the patch will apply cleanly:
patch -p0 --dry-run < iem-greenarrow-hide-per-mailing-list-vmta-1.00.patch
-
Apply the patch:
patch -p0 < iem-greenarrow-hide-per-mailing-list-vmta-1.00.patch
Reversing the Patch
You can reverse the patch using the following command:
patch -R -p0 < iem-greenarrow-hide-per-mailing-list-vmta-1.00.patch
If you need to reverse the patch, and using the patch
command, as shown above isn’t an option, the files that are modified by it are listed below:
admin/com/templates/lists_form.tpl
admin/com/templates/send_step3.tpl