Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Discarding spam messages instead of queueing them
- From: Dick Visser <address@concealed>
- To: Steve Shipway <address@concealed>
- Cc: "Dick Visser (via sympa-users Mailing List)" <address@concealed>
- Subject: Re: [sympa-users] Discarding spam messages instead of queueing them
- Date: Mon, 28 Aug 2017 16:06:53 +0200
Thanks Steve, I'll pursue this route.
DIck
On 26 August 2017 at 02:20, Steve Shipway <address@concealed> wrote:
>> I'm using Google's MX for one of our domains, which adds a spam header
>> before forwarding the messages to Sympa. In my robot.conf I have this:
>> spam_status x-gm-spam
>> This causes messages to not be distributed (which is what we want),
>> but instead they are queued for moderation.
>> How can I configure things so that they get dropped (i.e. not clog up
>> the moderation queue)?
>
> I would do this by creating a custom posting scenario header (so it gets
> prepended to all scenari) that checks for the header in question, and does
> a silent drop if it is found.
>
> So a scenario file named something like 'include.send.header' containing a
> line something like this (depends on what is in the x-gm-spam header when
> it is spammy). You may also need to remove the spam_status definition as I
> think it takes precedence over the scenario.
>
> match([msg_header->x-gm-spam],/Y/) smtp,smime reject(reason="spam"),quiet
>
> More documentation on scenari here:
> https://www.sympa.org/manual/authorization-scenarios
>
> Steve
> _____________________________________________________________________________
>
> This email has been filtered by SMX. For more info visit http://smxemail.com
> _____________________________________________________________________________
>
--
Dick Visser
GÉANT
Want to join us? We're hiring: https://www.geant.org/jobs
-
[sympa-users] Discarding spam messages instead of queueing them,
Dick Visser, 08/25/2017
- Re: [sympa-users] Discarding spam messages instead of queueing them, Alex Meaden, 08/25/2017
-
Re: [sympa-users] Discarding spam messages instead of queueing them,
Steve Shipway, 08/26/2017
- Re: [sympa-users] Discarding spam messages instead of queueing them, Dick Visser, 08/28/2017
Archive powered by MHonArc 2.6.19+.