My site host uses Cpanel and I regularly use it's email blocking feature to stop spam (the SPAM ASSASSIN is too agressive). However, I now need a more complex filter rule than I can make with the UI. What it need to do is block all emails whos content-type header contains &text/html& and content-transfer-encoding is &base64&. Some messages have two of each of these headers; I only want the filter to apply to the first set. I've seen the .filter file in my home directory with my filter lines like &$message_body matches &.*free stuff.*&& and I understand most of the Exim variables and basic usage. What would work for me is if I knew what var gives me the message source so the filter line would be:
$message_source matches &.*Content-Type: text/html; charset=&.*&.Content-Transfer-Encoding: base64.*&
But what should $message_source really be? Or it there any better way I should do this?
$message_source matches &.*Content-Type: text/html; charset=&.*&.Content-Transfer-Encoding: base64.*&
But what should $message_source really be? Or it there any better way I should do this?