X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=115-188-36-87-adsl.sparkbb.co.nz;
X-Received: from [192.168.1.73] (115-188-36-87-adsl.sparkbb.co.nz [115.188.36.87])
by netwin.co.nz (SurgeMail 7.3j) with ESMTP (TLS) id 2076512-1391920
for <surgemail-list@netwin.co.nz>; Thu, 16 Aug 2018 23:45:56 +0000
X-Return-Path: surgemail-support
Subject: Re: [SurgeMail List] Block sender by email
To: surgemail-list@netwin.co.nz
References: <840d3133-fdc8-d1a0-9db4-a82cc44367e7@easent.net>
<3ca5615e-af0f-c41c-4a8c-e013f61c3732@LaserPlus.de>
From: Surgemail Support
Message-ID: <30e48308-c15c-8b85-9b56-044bb5742cc3@netwinsite.com>
Date: Fri, 17 Aug 2018 11:45:52 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <3ca5615e-af0f-c41c-4a8c-e013f61c3732@LaserPlus.de>
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Authenticated-User: surgemail-support
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: : 0.000000
X-Info: aspam skipped due to (g_smite_skip_relay)
X-Encryption: SSL encrypted
X-IP-stats: Incoming Last 0, First 0, in=18, out=0, spam=0 ip=115.188.36.87
List-Unsubscribe: <mailto:surgemail-list-leave@netwin.co.nz?subject=unsubscribe>
X-Mailing-List: surgemail-list@netwin.co.nz
List-ID: <surgemail-list@netwin.co.nz>
Precedence: bulk
Reply-To: surgemail-list@netwin.co.nz
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?
>
|