To block headers you need to use a rule that runs 'after' the message
has arrived.
so mfilter.rul is where you do that. You can do this in the web
interface (spam control, manually blocking, spam filter rules,
configure), but manually something like this in the file mfilter.rul
if isin(from,"@xyz.com") then
reject "not wanted here"
end if
It's much safer to use the web interface to add rules like this...
ChrisP.
On 17/08/2018 1:24 AM, Stephan Koenig wrote:
>> Try g_ban_from .. and remember these settings use the *envelope-from*
>> not the from: header
>>
> Thanks Ed, that works. Any idea how I could check the header also?
>
|