Re: [exim] Filter with special characters (!?)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Emanuel Gonzalez
Date:  
À: Jan Ingvoldstad
CC: exim-users@exim.org
Sujet: Re: [exim] Filter with special characters (!?)
I'm filtering the mail before I get to the antispam, to save resources, I do not want to analyze an email that I know is junk mail

________________________________
De: Jan Ingvoldstad <frettled@???>
Enviado: lunes, 27 de agosto de 2018 14:44:18
Para: Emanuel Gonzalez
Cc: exim-users@???
Asunto: Re: [exim] Filter with special characters (!?)

On Mon, Aug 27, 2018 at 7:32 PM, Emanuel Gonzalez via Exim-users <exim-users@???<mailto:exim-users@exim.org>> wrote:
Hello,

...



==> I also need to block an issue with the following string: Re: Tu depósito de $13,710.38


...



any ideas?

I think you need to stop placing these special rules directly in the Exim configuration, and instead use a filtering system.

For instance, you can create spam filters with SpamAssassin (https://github.com/Exim/exim/wiki/SpamAssassin), or you could use Sieve filtering (https://www.exim.org/exim-html-current/doc/html/spec_html/filter_ch-sieve_filter_files.html).

I expect that both of these will be easier to relate to, and you don't have to reload the Exim configuration (and maybe break all of your email config).

SpamAssassin can also test its own config to see if it validates, before you restart spamd (or similarly reload the config).
--
Jan