Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Aide

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


bisdiouf at orange

Aug 20, 2009, 2:32 AM

Post #1 of 18 (2648 views)
Permalink
Aide

Bonjour,
Je viens de rejoindre le mailing exim-users et je voudrais de l'aide par
rapport à un soucis de ma configuration.
J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
En effet je voudrais limiter le nombre de messages et même filtrer
certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
seconde 1 message; cela veut dire 60 messages / minute. Ce qui est énorme
et c'est même un spammeur.
Comment puis-je palier à cela?
J'ai agit sur les paramètres smtp_accept_max,
smtp_accept_max_per_connection, smtp_accept_max_per_host,
smtp_accept_reserve, et voilà les valeurs.


smtp_accept_max = 100
smtp_accept_max_per_connection = 10
smtp_accept_max_per_host = 10
smtp_accept_reserve = 10

Est-ce une combinaison ou comment doit-on s'y prendre.
J'ai effectué beaucoup de manipulation mais j'ai pas trouvais la bonne
combinaison ou les bons chiffres.

Merci pour votre aide.





--
## List details at http://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-users at spodhuis

Aug 20, 2009, 5:27 AM

Post #2 of 18 (2575 views)
Permalink
Re: Aide [In reply to]

On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
> Bonjour,

Wotcher,

> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide par
> rapport à un soucis de ma configuration.
> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
> En effet je voudrais limiter le nombre de messages et même filtrer
> certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
> seconde 1 message; cela veut dire 60 messages / minute. Ce qui est énorme
> et c'est même un spammeur.
> Comment puis-je palier à cela?
> J'ai agit sur les paramètres smtp_accept_max,
> smtp_accept_max_per_connection, smtp_accept_max_per_host,
> smtp_accept_reserve, et voilà les valeurs.

Your version of Exim is too old to implement the feature which you're
looking for. You want to "ratelimit" hosts. This was introduced in
Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years ago,
you're running a very old version.

With a newer version of Exim, the options which you want are:
smtp_ratelimit_hosts
smtp_ratelimit_mail
smtp_ratelimit_rcpt
and there is an example of the configuration needed in the documentation
for "smtp_ratelimit_hosts".

In addition, you can instead use ratelimit controls in ACLs, for more
sophisticated control.

Regards,
-Phil

--
## List details at http://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/


bisdiouf at orange

Aug 20, 2009, 9:47 AM

Post #3 of 18 (2571 views)
Permalink
Re: Aide [In reply to]

Bonjour,
Merci pour votre aide mais j'utilise la version de exim qui est
préinstallé avec le système Redhat Entreprise 5 et j'ai les paramètres
énumérés et ils sont ainsi configurés.

smtp_ratelimit_mail = 2,0.5s,1.5125,4m
smtp_ratelimit_rcpt = 5,0.5s,1.025,4m

Je voudrais une compréhension plus large de ces valeurs.

Bien à vous.


> On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
>> Bonjour,
>
> Wotcher,
>
>> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide par
>> rapport à un soucis de ma configuration.
>> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
>> En effet je voudrais limiter le nombre de messages et même filtrer
>> certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
>> seconde 1 message; cela veut dire 60 messages / minute. Ce qui est
>> énorme
>> et c'est même un spammeur.
>> Comment puis-je palier à cela?
>> J'ai agit sur les paramètres smtp_accept_max,
>> smtp_accept_max_per_connection, smtp_accept_max_per_host,
>> smtp_accept_reserve, et voilà les valeurs.
>
> Your version of Exim is too old to implement the feature which you're
> looking for. You want to "ratelimit" hosts. This was introduced in
> Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years ago,
> you're running a very old version.
>
> With a newer version of Exim, the options which you want are:
> smtp_ratelimit_hosts
> smtp_ratelimit_mail
> smtp_ratelimit_rcpt
> and there is an example of the configuration needed in the documentation
> for "smtp_ratelimit_hosts".
>
> In addition, you can instead use ratelimit controls in ACLs, for more
> sophisticated control.
>
> Regards,
> -Phil
>





--
## List details at http://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/


mihamina at gulfsat

Aug 20, 2009, 11:19 AM

Post #4 of 18 (2567 views)
Permalink
Re: Aide [In reply to]

On 08/20/2009 07:47 PM, bisdiouf [at] orange wrote:
> Bonjour,

What's the problem with answering in english?

> Merci pour votre aide mais j'utilise la version de exim qui est
> préinstallé avec le système Redhat Entreprise 5 et j'ai les paramètres
> énumérés et ils sont ainsi configurés.
>
> smtp_ratelimit_mail = 2,0.5s,1.5125,4m
> smtp_ratelimit_rcpt = 5,0.5s,1.025,4m
>
> Je voudrais une compréhension plus large de ces valeurs.


What's the problem with searching a bit?
Found in 2 second searching with:
http://www.google.com/search?q=smtp_ratelimit_mail
"
smtp_ratelimit_mail = 2,0.5s,1.05,4m
smtp_ratelimit_rcpt = 4,0.25s,1.015,4m

The first setting specifies delays that are
applied to MAIL commands after two messages
have been received over a single connection.
The initial delay is 0.5 seconds, increasing
by a factor of 1.05 each time.
The second setting applies delays to
RCPT commands when more than four occur
in a single message.
"

Nothing more clear...

--
## List details at http://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/


iane at sussex

Aug 21, 2009, 1:58 AM

Post #5 of 18 (2563 views)
Permalink
Re: Aide [In reply to]

--On 20 August 2009 21:19:54 +0300 "Mihamina (R12y) Rakotomandimby"
<mihamina [at] gulfsat> wrote:

> On 08/20/2009 07:47 PM, bisdiouf [at] orange wrote:
>> Bonjour,
>
> What's the problem with answering in english?

Usually, one's comprehension of a second language is better than one's
expression in that language. So, it isn't uncommon for people to conduct
conversations like this. This bilingual thread has worked well so far -
I've understood the questions but could not possibly have composed a reply
in French. I've seen other cases on this list where the English used has
been incomprehensible to me.

>> Merci pour votre aide mais j'utilise la version de exim qui est
>> préinstallé avec le système Redhat Entreprise 5 et j'ai les
>> paramètres énumérés et ils sont ainsi configurés.
>>
>> smtp_ratelimit_mail = 2,0.5s,1.5125,4m
>> smtp_ratelimit_rcpt = 5,0.5s,1.025,4m
>>
>> Je voudrais une compréhension plus large de ces valeurs.
>
>
> What's the problem with searching a bit?
> Found in 2 second searching with:
> http://www.google.com/search?q=smtp_ratelimit_mail
> "
> smtp_ratelimit_mail = 2,0.5s,1.05,4m
> smtp_ratelimit_rcpt = 4,0.25s,1.015,4m
>
> The first setting specifies delays that are
> applied to MAIL commands after two messages
> have been received over a single connection.
> The initial delay is 0.5 seconds, increasing
> by a factor of 1.05 each time.
> The second setting applies delays to
> RCPT commands when more than four occur
> in a single message.
> "
>
> Nothing more clear...

But, also note: this is only helpful when messages are sent on the same
connection. So, it is not usually useful for controlling spam. For that,
you would need the rate limit controls of Exim 4.6 or later.

You should be able to install the current version of Exim on Redhat.

--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/

--
## List details at http://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/


renaud at allard

Aug 21, 2009, 5:16 AM

Post #6 of 18 (2556 views)
Permalink
Re: Aide [In reply to]

Ian Eiloart wrote:
>
> But, also note: this is only helpful when messages are sent on the same
> connection. So, it is not usually useful for controlling spam. For that,
> you would need the rate limit controls of Exim 4.6 or later.
>
> You should be able to install the current version of Exim on Redhat.
>

For information, there are unofficial packages for exim 4.69 RHEL5 at
http://atrpms.net/dist/el5/exim/
(There are also some for RHEL4 if needed)


Pour info, il y a des paquetages non officiels exim 4.69 pour RHEL5 sur
http://atrpms.net/dist/el5/exim/
(Il y en a aussi pour RHEL4 si nécessaire)
Attachments: smime.p7s (3.22 KB)


aboubacar.diouf at orange

Aug 24, 2009, 8:29 AM

Post #7 of 18 (2520 views)
Permalink
Re: Aide [In reply to]

Bonjour,
Je suis toujours en attente de réponse.

Cdlt
Bisdiouf


> Bonjour,
> Merci pour votre aide mais j'utilise la version de exim qui est
> préinstallé avec le système Redhat Entreprise 5 et j'ai les paramètres
> énumérés et ils sont ainsi configurés.
>
> smtp_ratelimit_mail = 2,0.5s,1.5125,4m
> smtp_ratelimit_rcpt = 5,0.5s,1.025,4m
>
> Je voudrais une compréhension plus large de ces valeurs.
>
> Bien à vous.
>
>
>> On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
>>> Bonjour,
>>
>> Wotcher,
>>
>>> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide
>>> par
>>> rapport à un soucis de ma configuration.
>>> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
>>> En effet je voudrais limiter le nombre de messages et même filtrer
>>> certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
>>> seconde 1 message; cela veut dire 60 messages / minute. Ce qui est
>>> énorme
>>> et c'est même un spammeur.
>>> Comment puis-je palier à cela?
>>> J'ai agit sur les paramètres smtp_accept_max,
>>> smtp_accept_max_per_connection, smtp_accept_max_per_host,
>>> smtp_accept_reserve, et voilà les valeurs.
>>
>> Your version of Exim is too old to implement the feature which you're
>> looking for. You want to "ratelimit" hosts. This was introduced in
>> Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years ago,
>> you're running a very old version.
>>
>> With a newer version of Exim, the options which you want are:
>> smtp_ratelimit_hosts
>> smtp_ratelimit_mail
>> smtp_ratelimit_rcpt
>> and there is an example of the configuration needed in the documentation
>> for "smtp_ratelimit_hosts".
>>
>> In addition, you can instead use ratelimit controls in ACLs, for more
>> sophisticated control.
>>
>> Regards,
>> -Phil
>>
>
>
>
>
>





--
## List details at http://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/


aboubacar.diouf at orange

Aug 24, 2009, 8:33 AM

Post #8 of 18 (2515 views)
Permalink
Re: Aide [In reply to]

Bonjour,
Je suis toujours en attente de réponse.

Cdlt
Bisdiouf


> Bonjour,
> Merci pour votre aide mais j'utilise la version de exim qui est
> préinstallé avec le système Redhat Entreprise 5 et j'ai les paramètres
énumérés et ils sont ainsi configurés.
> smtp_ratelimit_mail = 2,0.5s,1.5125,4m
> smtp_ratelimit_rcpt = 5,0.5s,1.025,4m
> Je voudrais une compréhension plus large de ces valeurs.
> Bien à vous.
>> On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
>>> Bonjour,
>> Wotcher,
>>> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide par
>>> rapport à un soucis de ma configuration.
>>> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
>>> En effet je voudrais limiter le nombre de messages et même filtrer
certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
seconde 1 message; cela veut dire 60 messages / minute. Ce qui est
énorme
>>> et c'est même un spammeur.
>>> Comment puis-je palier à cela?
>>> J'ai agit sur les paramètres smtp_accept_max,
>>> smtp_accept_max_per_connection, smtp_accept_max_per_host,
>>> smtp_accept_reserve, et voilà les valeurs.
>> Your version of Exim is too old to implement the feature which you're
looking for. You want to "ratelimit" hosts. This was introduced in
Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years
ago,
>> you're running a very old version.
>> With a newer version of Exim, the options which you want are:
>> smtp_ratelimit_hosts
>> smtp_ratelimit_mail
>> smtp_ratelimit_rcpt
>> and there is an example of the configuration needed in the
documentation
>> for "smtp_ratelimit_hosts".
>> In addition, you can instead use ratelimit controls in ACLs, for more
sophisticated control.
>> Regards,
>> -Phil









--
## List details at http://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/


b.cherrier at micrologic

Aug 24, 2009, 1:47 PM

Post #9 of 18 (2508 views)
Permalink
Re: Aide [In reply to]

Bonjour Aboubacar,

Cette mailing liste est en langue anglaise ...
La réponse est dans le message, les fonctionnalités voulues sont apparues à la
version 4.60, il faut mettre à jour ...


Le mardi 25 août 2009 02:29:12, Aboubacar Diouf a écrit:
> Bonjour,
> Je suis toujours en attente de réponse.
>
> Cdlt
> Bisdiouf
>
> > Bonjour,
> > Merci pour votre aide mais j'utilise la version de exim qui est
> > préinstallé avec le système Redhat Entreprise 5 et j'ai les paramètres
> > énumérés et ils sont ainsi configurés.
> >
> > smtp_ratelimit_mail = 2,0.5s,1.5125,4m
> > smtp_ratelimit_rcpt = 5,0.5s,1.025,4m
> >
> > Je voudrais une compréhension plus large de ces valeurs.
> >
> > Bien à vous.
> >
> >> On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
> >>> Bonjour,
> >>
> >> Wotcher,
> >>
> >>> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide
> >>> par
> >>> rapport à un soucis de ma configuration.
> >>> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
> >>> En effet je voudrais limiter le nombre de messages et même filtrer
> >>> certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
> >>> seconde 1 message; cela veut dire 60 messages / minute. Ce qui est
> >>> énorme
> >>> et c'est même un spammeur.
> >>> Comment puis-je palier à cela?
> >>> J'ai agit sur les paramètres smtp_accept_max,
> >>> smtp_accept_max_per_connection, smtp_accept_max_per_host,
> >>> smtp_accept_reserve, et voilà les valeurs.
> >>
> >> Your version of Exim is too old to implement the feature which you're
> >> looking for. You want to "ratelimit" hosts. This was introduced in
> >> Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years ago,
> >> you're running a very old version.
> >>
> >> With a newer version of Exim, the options which you want are:
> >> smtp_ratelimit_hosts
> >> smtp_ratelimit_mail
> >> smtp_ratelimit_rcpt
> >> and there is an example of the configuration needed in the documentation
> >> for "smtp_ratelimit_hosts".
> >>
> >> In addition, you can instead use ratelimit controls in ACLs, for more
> >> sophisticated control.
> >>
> >> Regards,
> >> -Phil

Cordialement,
--
Bertrand CHERRIER
b.cherrier [at] micrologic

MICRO LOGIC SYSTEMS
http://www.mls.nc
Vente & maintenance réseaux Informatique
Fournisseur de Sensations Internet
Service clientèle au 36.67.76 (58Frs/mn)
Attachments: signature.asc (0.19 KB)


bisdiouf at orange

Feb 23, 2010, 7:54 AM

Post #10 of 18 (1958 views)
Permalink
Re: Aide [In reply to]

Bonjour Messieurs,
je reviens vers vous pour chercher encore de l'aide.
Cette fois ci cela concerne la syntaxe du system.filter de exim.

je voudrais rediriger les mails d'une adresse vers une autre avec le
system.filter de exim.

Par exemple dans mon fichier system.filter je mets:

if $header_to: contains "toto [at] example" then deliver "nama [at] example"
endif

Le problème est tel que l'application délivre aussi les mails destinés à
"matoto [at] example" ou toutes les autres adresses de type
"xxxtoto [at] example); ce qui est normal selon la syntaxe.

Je souhaite qu'il s'en tient à "toto [at] example" et non tout ce qui
contient "toto". Y'a t-il moyen de contourner?

Je rappelle que j'ai testé la condition "is" ou "matches" et ca donne rien
pour le moment.

Bien à vous.



> On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
>> Bonjour,
>
> Wotcher,
>
>> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide par
>> rapport à un soucis de ma configuration.
>> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
>> En effet je voudrais limiter le nombre de messages et même filtrer
>> certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
>> seconde 1 message; cela veut dire 60 messages / minute. Ce qui est
>> énorme
>> et c'est même un spammeur.
>> Comment puis-je palier à cela?
>> J'ai agit sur les paramètres smtp_accept_max,
>> smtp_accept_max_per_connection, smtp_accept_max_per_host,
>> smtp_accept_reserve, et voilà les valeurs.
>
> Your version of Exim is too old to implement the feature which you're
> looking for. You want to "ratelimit" hosts. This was introduced in
> Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years ago,
> you're running a very old version.
>
> With a newer version of Exim, the options which you want are:
> smtp_ratelimit_hosts
> smtp_ratelimit_mail
> smtp_ratelimit_rcpt
> and there is an example of the configuration needed in the documentation
> for "smtp_ratelimit_hosts".
>
> In addition, you can instead use ratelimit controls in ACLs, for more
> sophisticated control.
>
> Regards,
> -Phil
>





--
## List details at http://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/


eduardo at kalinowski

Feb 23, 2010, 8:53 AM

Post #11 of 18 (1966 views)
Permalink
Re: Aide [In reply to]

On Ter, 23 Fev 2010, wrote:
> Bonjour Messieurs,
> je reviens vers vous pour chercher encore de l'aide.
> Cette fois ci cela concerne la syntaxe du system.filter de exim.
>
> je voudrais rediriger les mails d'une adresse vers une autre avec le
> system.filter de exim.
>
> Par exemple dans mon fichier system.filter je mets:
>
> if $header_to: contains "toto [at] example" then deliver "nama [at] example"
> endif
>
> Le problème est tel que l'application délivre aussi les mails destinés à
> "matoto [at] example" ou toutes les autres adresses de type
> "xxxtoto [at] example); ce qui est normal selon la syntaxe.
>
> Je souhaite qu'il s'en tient à "toto [at] example" et non tout ce qui
> contient "toto". Y'a t-il moyen de contourner?
>
> Je rappelle que j'ai testé la condition "is" ou "matches" et ca donne rien
> pour le moment.

First, do not reply to an old e-mail to start a new thread, use the
"compose" button so that the new message is separate from old ones.

Second, you might get more answers if you ask in English.

As for the question, try

if $header_to: is "toto [at] example"

this will match only that exact address.


--
cursor address, n:
"Hello, cursor!"
-- Stan Kelly-Bootle, "The Devil's DP Dictionary"

Eduardo M KALINOWSKI
eduardo [at] kalinowski

--
## List details at http://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/


bisdiouf at orange

Feb 24, 2010, 1:57 AM

Post #12 of 18 (1937 views)
Permalink
Re: Aide [In reply to]

Bonjour David,
Merci pour le coup de main. C'est réglé. J'ai juste ajouté les crochets <>
pour que ca marche.
Maintenant je voudrais gérer le flux des messages. Y'a des emails qui
envoient trop de messages et je voudrais diminuer le nombre de mails
envoyés par seconde.
Comment procéder?
J'ai positionner les paramètres suivants et les valeurs:

smtp_accept_max = 100

smtp_accept_max_per_connection = 10

smtp_accept_max_per_host = 10

smtp_accept_reserve = 10

De même:

smtp_ratelimit_mail = 2,0.5s,1.05,4m
smtp_ratelimit_rcpt = 5,0.5s,1.015,4m




> if $header_to: is "toto [at] example" then deliver "nama [at] example"
> endif
>
>
>
> bisdiouf [at] orange wrote:
>> Bonjour Messieurs,
>> je reviens vers vous pour chercher encore de l'aide.
>> Cette fois ci cela concerne la syntaxe du system.filter de exim.
>>
>> je voudrais rediriger les mails d'une adresse vers une autre avec le
>> system.filter de exim.
>>
>> Par exemple dans mon fichier system.filter je mets:
>>
>> if $header_to: contains "toto [at] example" then deliver "nama [at] example"
>> endif
>>
>> Le problème est tel que l'application délivre aussi les mails destinés à
>> "matoto [at] example" ou toutes les autres adresses de type
>> "xxxtoto [at] example); ce qui est normal selon la syntaxe.
>>
>> Je souhaite qu'il s'en tient à "toto [at] example" et non tout ce qui
>> contient "toto". Y'a t-il moyen de contourner?
>>
>> Je rappelle que j'ai testé la condition "is" ou "matches" et ca donne
>> rien
>> pour le moment.
>>
>> Bien à vous.
>>
>>
>>
>>
>>> On 2009-08-20 at 09:32 -0000, bisdiouf [at] orange wrote:
>>>
>>>> Bonjour,
>>>>
>>> Wotcher,
>>>
>>>
>>>> Je viens de rejoindre le mailing exim-users et je voudrais de l'aide
>>>> par
>>>> rapport à un soucis de ma configuration.
>>>> J'utilise exim-4.43-1.RHEL4.5 avec la distribution RHEL5.
>>>> En effet je voudrais limiter le nombre de messages et même filtrer
>>>> certaines adresses spammeurs. Il se trouve qu'une machine envoi chaque
>>>> seconde 1 message; cela veut dire 60 messages / minute. Ce qui est
>>>> énorme
>>>> et c'est même un spammeur.
>>>> Comment puis-je palier à cela?
>>>> J'ai agit sur les paramètres smtp_accept_max,
>>>> smtp_accept_max_per_connection, smtp_accept_max_per_host,
>>>> smtp_accept_reserve, et voilà les valeurs.
>>>>
>>> Your version of Exim is too old to implement the feature which you're
>>> looking for. You want to "ratelimit" hosts. This was introduced in
>>> Exim 4.60. We're currently at Exim 4.69. Exim 4.60 came out years
>>> ago,
>>> you're running a very old version.
>>>
>>> With a newer version of Exim, the options which you want are:
>>> smtp_ratelimit_hosts
>>> smtp_ratelimit_mail
>>> smtp_ratelimit_rcpt
>>> and there is an example of the configuration needed in the
>>> documentation
>>> for "smtp_ratelimit_hosts".
>>>
>>> In addition, you can instead use ratelimit controls in ACLs, for more
>>> sophisticated control.
>>>
>>> Regards,
>>> -Phil
>>>
>>>
>>
>>
>>
>>
>>
>>
>





--
## List details at http://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/


bisdiouf at orange

Feb 24, 2010, 8:44 AM

Post #13 of 18 (1931 views)
Permalink
Re: Aide [In reply to]

Hello,
Thanks, this problem is OK,
I've an other one. If I put two addresses in the A field the filter will
not matches.
How can I solve it?

Best Regards.

> On Ter, 23 Fev 2010, wrote:
>> Bonjour Messieurs,
>> je reviens vers vous pour chercher encore de l'aide.
>> Cette fois ci cela concerne la syntaxe du system.filter de exim.
>>
>> je voudrais rediriger les mails d'une adresse vers une autre avec le
>> system.filter de exim.
>>
>> Par exemple dans mon fichier system.filter je mets:
>>
>> if $header_to: contains "toto [at] example" then deliver "nama [at] example"
>> endif
>>
>> Le problème est tel que l'application délivre aussi les mails destinés à
>> "matoto [at] example" ou toutes les autres adresses de type
>> "xxxtoto [at] example); ce qui est normal selon la syntaxe.
>>
>> Je souhaite qu'il s'en tient à "toto [at] example" et non tout ce qui
>> contient "toto". Y'a t-il moyen de contourner?
>>
>> Je rappelle que j'ai testé la condition "is" ou "matches" et ca donne
>> rien
>> pour le moment.
>
> First, do not reply to an old e-mail to start a new thread, use the
> "compose" button so that the new message is separate from old ones.
>
> Second, you might get more answers if you ask in English.
>
> As for the question, try
>
> if $header_to: is "toto [at] example"
>
> this will match only that exact address.
>
>
> --
> cursor address, n:
> "Hello, cursor!"
> -- Stan Kelly-Bootle, "The Devil's DP Dictionary"
>
> Eduardo M KALINOWSKI
> eduardo [at] kalinowski
>
>
>





--
## List details at http://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/


bisdiouf at orange

Feb 24, 2010, 11:54 PM

Post #14 of 18 (1912 views)
Permalink
Re: Aide [In reply to]

Bonjour,
Pas exactement. Ca je connais.

On prend cet example.

|if ($header_to: is "<user1 [at] domain>)" then |deliver "nama [at] example"

Maintenant je veux envoyer un nouveau message et sur le champ des
destinataires (A ou CC) je mets user1 [at] domain et user2 [at] domain, le
message de user1 [at] domain ne sera pas délivré à nama [at] example car la
condition est "is". J'ai testé avec la condition "contains" qui marche
mais cette condition comme je l'avais dit au début ne permet pas de
départager les adresses. Cette condition "contains" va délivrer aussi les
messages de toutes adresses de type <xxxuser1 [at] domain> à
nama [at] example

Est-ce qu'il y'a pas moyen de lever cet équivoque avec la condition
"contains" c'est-à-dire utiliser de symboles ou autres choses.
Je rappelle que j'en ai testé quelques uns comme $, ^, <> et [].

J'espère que c'est clair.

Bien à vous.


> Est-ce là ce que vous cherchez?
>
> |if ($header_to: is "<user1 [at] domain>" or $header_to: is
> "<user2 [at] example>") then |deliver "nama [at] example"
>
> endif
>
> bisdiouf [at] orange wrote:
>> Hello,
>> Thanks, this problem is OK,
>> I've an other one. If I put two addresses in the A field the filter will
>> not matches.
>> How can I solve it?
>>
>> Best Regards.
>>
>>
>>> On Ter, 23 Fev 2010, wrote:
>>>
>>>> Bonjour Messieurs,
>>>> je reviens vers vous pour chercher encore de l'aide.
>>>> Cette fois ci cela concerne la syntaxe du system.filter de exim.
>>>>
>>>> je voudrais rediriger les mails d'une adresse vers une autre avec le
>>>> system.filter de exim.
>>>>
>>>> Par exemple dans mon fichier system.filter je mets:
>>>>
>>>> if $header_to: contains "toto [at] example" then deliver
>>>> "nama [at] example"
>>>> endif
>>>>
>>>> Le problème est tel que l'application délivre aussi les mails destinés
>>>> à
>>>> "matoto [at] example" ou toutes les autres adresses de type
>>>> "xxxtoto [at] example); ce qui est normal selon la syntaxe.
>>>>
>>>> Je souhaite qu'il s'en tient à "toto [at] example" et non tout ce qui
>>>> contient "toto". Y'a t-il moyen de contourner?
>>>>
>>>> Je rappelle que j'ai testé la condition "is" ou "matches" et ca donne
>>>> rien
>>>> pour le moment.
>>>>
>>> First, do not reply to an old e-mail to start a new thread, use the
>>> "compose" button so that the new message is separate from old ones.
>>>
>>> Second, you might get more answers if you ask in English.
>>>
>>> As for the question, try
>>>
>>> if $header_to: is "toto [at] example"
>>>
>>> this will match only that exact address.
>>>
>>>
>>> --
>>> cursor address, n:
>>> "Hello, cursor!"
>>> -- Stan Kelly-Bootle, "The Devil's DP Dictionary"
>>>
>>> Eduardo M KALINOWSKI
>>> eduardo [at] kalinowski
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>





--
## List details at http://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/


eximX0902w at linuxwan

Feb 25, 2010, 3:52 AM

Post #15 of 18 (1904 views)
Permalink
Re: Aide [In reply to]

On Thu, 2010-02-25 at 07:54 +0000, bisdiouf [at] orange wrote:
> Bonjour,
> Pas exactement. Ca je connais.
>
> On prend cet example.
>
> |if ($header_to: is "<user1 [at] domain>)" then |deliver "nama [at] example"
>
> Maintenant je veux envoyer un nouveau message et sur le champ des
> destinataires (A ou CC) je mets user1 [at] domain et user2 [at] domain, le
> message de user1 [at] domain ne sera pas délivré à nama [at] example car la
> condition est "is". J'ai testé avec la condition "contains" qui marche
> mais cette condition comme je l'avais dit au début ne permet pas de
> départager les adresses. Cette condition "contains" va délivrer aussi les
> messages de toutes adresses de type <xxxuser1 [at] domain> à
> nama [at] example
>
> Est-ce qu'il y'a pas moyen de lever cet équivoque avec la condition
> "contains" c'est-à-dire utiliser de symboles ou autres choses.
> Je rappelle que j'en ai testé quelques uns comme $, ^, <> et [].
>
> J'espère que c'est clair.
>
> Bien à vous.

Mon francais n'est pas tres bein.

So bad that I probably shouldn't destroy the language.

The "contains" testing condition doesn't work all that well when you
only want to match the exact thing you're looking for.

The following should match any emails that have user1 [at] example OR
user2 [at] example in the To or CC fields (A ou CC, je pense?), making a
significant delivery to name [at] example

if "$h_to:, $h_cc" matches "^(user1|user2)@example.com" then deliver
"nama [at] example"
endif

Not tested, sorry.

--
The Exim manual - http://docs.exim.org


--
## List details at http://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/


bisdiouf at orange

Feb 25, 2010, 4:37 AM

Post #16 of 18 (1912 views)
Permalink
Re: Aide [In reply to]

Hello,
Not that exactelly,

I take my example:

if $header_to: is "user1 [at] domain" then deliver "nama [at] domain endif


Now if I take a new email and I put in the destinary field (A) 2 addresses
like user1 [at] domain and user2 [at] domain, the filter will not match.

I know in this case the most likely condition to take is "contains" but
like I said in my first email, this condition will filter all others
adresses like "xxxuser1 [at] domain" and I don't want this.

Is it clear now?


> On Thu, 2010-02-25 at 07:54 +0000, bisdiouf [at] orange wrote:
>> Bonjour,
>> Pas exactement. Ca je connais.
>>
>> On prend cet example.
>>
>> |if ($header_to: is "<user1 [at] domain>)" then |deliver
>> "nama [at] example"
>>
>> Maintenant je veux envoyer un nouveau message et sur le champ des
>> destinataires (A ou CC) je mets user1 [at] domain et user2 [at] domain, le
>> message de user1 [at] domain ne sera pas délivré à nama [at] example car
>> la
>> condition est "is". J'ai testé avec la condition "contains" qui marche
>> mais cette condition comme je l'avais dit au début ne permet pas de
>> départager les adresses. Cette condition "contains" va délivrer aussi
>> les
>> messages de toutes adresses de type <xxxuser1 [at] domain> à
>> nama [at] example
>>
>> Est-ce qu'il y'a pas moyen de lever cet équivoque avec la condition
>> "contains" c'est-à-dire utiliser de symboles ou autres choses.
>> Je rappelle que j'en ai testé quelques uns comme $, ^, <> et [].
>>
>> J'espère que c'est clair.
>>
>> Bien à vous.
>
> Mon francais n'est pas tres bein.
>
> So bad that I probably shouldn't destroy the language.
>
> The "contains" testing condition doesn't work all that well when you
> only want to match the exact thing you're looking for.
>
> The following should match any emails that have user1 [at] example OR
> user2 [at] example in the To or CC fields (A ou CC, je pense?), making a
> significant delivery to name [at] example
>
> if "$h_to:, $h_cc" matches "^(user1|user2)@example.com" then deliver
> "nama [at] example"
> endif
>
> Not tested, sorry.
>
> --
> The Exim manual - http://docs.exim.org
>
>
>
>





--
## List details at http://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/


eximX0902w at linuxwan

Feb 25, 2010, 1:35 PM

Post #17 of 18 (1879 views)
Permalink
Re: Aide [In reply to]

On Thu, 2010-02-25 at 12:37 +0000, bisdiouf [at] orange wrote:
> Hello,
> Not that exactelly,
>
> I take my example:
>
> if $header_to: is "user1 [at] domain" then deliver "nama [at] domain endif
>
>
> Now if I take a new email and I put in the destinary field (A) 2 addresses
> like user1 [at] domain and user2 [at] domain, the filter will not match.
>
> I know in this case the most likely condition to take is "contains" but
> like I said in my first email, this condition will filter all others
> adresses like "xxxuser1 [at] domain" and I don't want this.
>
> Is it clear now?

So the message received has more than one address in To headers, like
this:

From: "John Smith" <john.smith [at] example>
To: "Peter Pan" <peter.pan [at] example>, "Capt. Hook" <hook [at] example>

In which case, "is" doesn't match the header because the header is no
longer just that address, and "contains" isn't specific enough. Maybe a
foranyaddress would work here.

if foranyaddress $h_to:,$h_cc: ($thisaddress matches ^toto [at] example)
then
deliver "nama [at] example"
endif

Again, not tested, but that's almost straight out of the manual

--
The Exim manual - http://docs.exim.org


--
## List details at http://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/


bisdiouf at orange

Mar 1, 2010, 8:03 AM

Post #18 of 18 (1676 views)
Permalink
Re: Aide [In reply to]

Hello,
Thank I've seen the syntaxe in the exim doc. It's work but the if we let
it like this the others destinations won't get the message. I've add the
condition "unseen" and now it meen that a copy is set to the filter
address.

if foranyaddress $h_to:,$h_cc: ($thisaddress matches ^toto [at] example)
then
unseen deliver "nama [at] example"
endif


Is it possible to block the message of toto [at] example after the "unseen"
condition. It's meen that not a copy will be delivred to toto [at] example

Best Regards


> On Thu, 2010-02-25 at 12:37 +0000, bisdiouf [at] orange wrote:
>> Hello,
>> Not that exactelly,
>>
>> I take my example:
>>
>> if $header_to: is "user1 [at] domain" then deliver "nama [at] domain endif
>>
>>
>> Now if I take a new email and I put in the destinary field (A) 2
>> addresses
>> like user1 [at] domain and user2 [at] domain, the filter will not match.
>>
>> I know in this case the most likely condition to take is "contains" but
>> like I said in my first email, this condition will filter all others
>> adresses like "xxxuser1 [at] domain" and I don't want this.
>>
>> Is it clear now?
>
> So the message received has more than one address in To headers, like
> this:
>
> From: "John Smith" <john.smith [at] example>
> To: "Peter Pan" <peter.pan [at] example>, "Capt. Hook" <hook [at] example>
>
> In which case, "is" doesn't match the header because the header is no
> longer just that address, and "contains" isn't specific enough. Maybe a
> foranyaddress would work here.
>
> if foranyaddress $h_to:,$h_cc: ($thisaddress matches ^toto [at] example)
> then
> deliver "nama [at] example"
> endif
>
> Again, not tested, but that's almost straight out of the manual
>
> --
> The Exim manual - http://docs.exim.org
>
>
>
>





--
## List details at http://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 users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.