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

2018-08-27 Thread Heiko Schlittermann via Exim-users
Emanuel Gonzalez via Exim-users  (Mo 27 Aug 2018 19:32:32 
CEST):
> ==> Changing the charset from the configuration file does not work either
> ==> I also need to block an issue with the following string: Re: Tu depósito 
> de $13,710.38

Please attach the raw headers and your configuration snippet
as raw text files, to avoid any conversion done by misbehaving mail
clients.

Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
 SCHLITTERMANN.de  internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01  -


signature.asc
Description: PGP signature
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


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

2018-08-27 Thread Jasen Betts via Exim-users
On 2018-08-27, Emanuel Gonzalez via Exim-users  wrote:
> Hello,
>
>
> I have tried all the recommendations but it does not work.
>
>
> The following regular expression does not work
>
>
> \N^\0277Eres el del video\?$\N

I think you mean \277 which is "¿" in 8859-9 not \0277 which is a
control character followed by digit 7

OTOH perhaps you want the UTF-8 form
\302\277


>
>==> scape the sign ? not work
>
>
>==> Changing the charset from the configuration file does not work either
>
>
>==> I also need to block an issue with the following string: Re: Tu depósito 
>de $13,710.38
>
>
> i scape the sign ? but not work
>
>
> Tu dep\363sito de \$13,710.38
>
>
> any ideas?


-- 
 ت

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


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

2018-08-27 Thread Jeremy Harris via Exim-users
On 08/27/2018 06:32 PM, Emanuel Gonzalez via Exim-users wrote:
> The following regular expression does not work
> 
> 
> \N^\0277Eres el del video\?$\N
> 
> 
> ==> scape the sign ? not work

Are you absolutely certain that the character you think is
a question-mark is in fact an ASCII single-byte character
and not either some multibyte thing that displays a
question-mark?
-- 
Jeremy

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


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

2018-08-27 Thread Jan Ingvoldstad via Exim-users
On Mon, Aug 27, 2018 at 7:51 PM, Emanuel Gonzalez <
emanuel_gonza...@live.com.ar> wrote:

> 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
>
>
>
That's pretty minimal for letting SpamAssassin or Sieve do the filtering on
e.g. subject.

I can see how this might be a concern with a large email setup, but with a
large email setup, I wouldn't be hand-editing regexps in the Exim config.

Anyway, it was just some friendly advice to perhaps make things easier for
you.
-- 
Jan
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] Administrivia: Direct requests for help

2018-08-27 Thread Phil Pennock via Exim-users
Folks,

Everyone here provides help on the mailing-lists on a volunteer basis.
That's part of how open source projects work.  If you get value from the
code and give help back in return, everyone benefits.  If the developers
give help here, that's nice of them; any developer who thinks the
documentation is could have helped better will often improve the
documentation as well as helping.  It's all important, not just the code
and those who write patches.

Please do not send direct requests for help to developers unless you
have some other arrangement with them, or are willing to enter into a
business relationship to pay for support.  If you need more help than
the community provides, then paid support is the way to go.  Various
companies are quite successful at doing this for open source software
(Red Hat comes to mind) and there are usually some companies listed in
the Exim wiki as providing commercial support for Exim.

For anyone reaching out to me for direct 1:1 support, please be advised
of the following: I live in the USA, and while my hourly rates would not
make an American lawyer blush, they would sit up in respect at the rates
being commensurate with their own.  I'm happy to bill, but do strongly
encourage folks to find other solutions first.

-Phil


signature.asc
Description: Digital signature
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


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

2018-08-27 Thread Emanuel Gonzalez via Exim-users
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 
Enviado: lunes, 27 de agosto de 2018 14:44:18
Para: Emanuel Gonzalez
Cc: exim-users@exim.org
Asunto: Re: [exim] Filter with special characters (!?)

On Mon, Aug 27, 2018 at 7:32 PM, Emanuel Gonzalez via 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
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


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

2018-08-27 Thread Jan Ingvoldstad via Exim-users
On Mon, Aug 27, 2018 at 7:32 PM, Emanuel Gonzalez via Exim-users <
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
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


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

2018-08-27 Thread Emanuel Gonzalez via Exim-users
Hello,


I have tried all the recommendations but it does not work.


The following regular expression does not work


\N^\0277Eres el del video\?$\N


==> scape the sign ? not work


==> Changing the charset from the configuration file does not work either


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


i scape the sign ? but not work


Tu dep\363sito de \$13,710.38


any ideas?
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/