I should note that I found that changes made directly to this file were not retained. To make changes to a specific domain
's rules, you must open MSFE and go to Modify User Settings: [domain name] > Other Settings > Additional email address to list for forwarding spam
. This field is where you can put the additional command sets that will be compiled into the actions file.
To remove the individualized domain name settings, removing them in the UI is not sufficient. You must also remove the .mailscanner* files in the users home directory. If the user's home directory were /home/user_5/, you would need to remove any hidden ".mailscanner"* files contained in that directory. Once this is done, then MailScanner will apply the global settings at the next rebuild. You can manually rebuild it faster by clicking
If you want to create action commands that are applied to ALL domains
, then go to
MSFE > Front End Configuration > "Default action for high scoring spam..."
, enter the command you want applied to ALL domain names by default. This will apply by default, but individualized per-domain settings will take precedence.
Enter your commands such as:
Code: Select all
deliver attachment forward email@example.com firstname.lastname@example.org email@example.com
The above would deliver the spam to the original recipient, then convert it to an attachment, and forward the attachment to the 3 email addresses seen above.