Spam Filter responding slowly

Recently “DSBL”, one of the DNSBLs used in SpamAssassin, changed their DNS to point to an unrouteable IP.

The lookup is still in the SA 3.24 rules MDaemon uses. If you have DNS service available set to Yes or Test, that might be slowing down SA processing. Try adding the following line to your \MDaemon\SpamAssassin\rules\local.cf file.

score RCVD_IN_DSBL 0

Once this is done, open a command prompt and type the following command to reload your SpamAssassin rules, and/or restart MDaemon;

echo. > C:\MDaemon\App\mdspamd.sem

Don’t autorespond to forwarded messages

It is sometimes desireable to avoid autoresponding to messages that have been forwarded from one local user to another.

This is especially useful if you regularly forward mailboxes to multiple destinations and want to avoid each of those destinations from generating their own autoresponses.

This whitelist allows you to enter both email addresses (which aren’t useful here) as well as headers that will cause an autoresponder to be skipped, in this case we’re adding the X-MDRedirect header, a header MDaemon adds when a message is forwarded.

  • Go to the Accounts menu
  • Select “Account Settings”
  • Find “Auto Responders”
  • Open the “White List” submenu
  • Add “X-MDRedirect: 1” to the autoresponder whitelist/exception list

Detecting the use of BCC from the content filter

This is a simple content filter rule that will help you in filtering messages where the current destination was BCC’d rather then being listed in the TO or CC field.

Note that this will trip on most mailing lists — This is correct behaviour, unless the mailing list fills in the recipient’s name in the TO field (and most do not), lists are essentially using BCC.

It only works reliably in the LocalQ, it won’t work in the RemoteQ unless you turn off smartspooling, and it only works for mail received via SMTP, not MultiPOP or DomainPOP.

[Rule001]
RuleName=Detect BCC’d messages
Enable=No
ThisRuleCondition=All
ProcessQueue=LOCAL
Condition01=TO|does not contain|AND|$HEADER:X-Rcpt-To$|
Condition02=CC|does not contain|AND|$HEADER:X-Rcpt-To$|
Action01=add header|”X-BCC”,”True”

To use this rule, copy the above text and paste it into the very top or very bottom of your MDaemonAppcfrules.dat file using Notepad, then open the content filter dialog in MDaemon and enable the rule.

No semaphore files needed, no need to restart MDaemon.