RE: [exim] acl rule - checking a specific destination adress…

Góra strony
Delete this message
Reply to this message
Autor: Tugdual de Lassat
Data:  
Dla: exim-users
Temat: RE: [exim] acl rule - checking a specific destination adress list
how i hate outlook, try reduce spam and it just helps adding your mail
adress in signatures got that finally switched off..
Nevertheless, i managed to solve my problem

Rule works in fact perfectly to my needs....

all i needed to do first, was to put it just in first position in ACL's
rules, so that it starts by checking rules, before meeting bypass rules.

My file is now :
check_recipient:
  accept  hosts = :
  deny  domains       = +local_domains
        local_parts   = ^[.] : ^.*[@%!/|]
  deny  domains       = !+local_domains
        local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
  deny  recipients = lsearch;/etc/virtual/destination_block
        message = The destination adress is not accepted by our services -
Stop spamming us.
  accept domains      = +whitelist_from


And it goes all smooth ;)

Thanks a lot folks for your patience with me and my bothering of the list...
and thanks very much for your hint tony, helped me find my solution...

tdldp


-----Message d'origine-----
De : exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]De
la part de Tugdual de Lassat
Envoye : mardi 11 octobre 2005 13:53
A : exim-users@???; fanf2@???
Objet : RE: [exim] acl rule - checking a specific destination adress
list


Thks a lot Tony, so i checked your link, and from what i read, i've modified
exim.conf it as following (in fact my first script was nearly good : path
was just not entered correctly) :

deny     recipients = /etc/virtual/destination_block
message = The destination adress is not accepted by our services - Stop
spamming.


Works fine for sending messages to external adresses (when i had before
errors)
My problem now is that, when sending an email from hotmail, yahoo etc... to
a destination adress that is in the list, message does still get processed
and sent to destination. (that is the catchall adress for the domain)

Any help will be welcomed

tdldp



-----Message d'origine-----
De : exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]De
la part de Tony Finch
Envoye : mardi 11 octobre 2005 12:54
A : Tugdual de Lassat
Cc : exim-users@???
Objet : Re: [exim] acl rule - checking a specific destination adress
list


On Tue, 11 Oct 2005, Tugdual de Lassat wrote:

> my problem is that i would like that exim checks against a list

destination
> adresses, in a file named : blocked_destinations, and that in the case

these
> destination adresses are in the list, processing is refused, as theses
> destinations are knowned spamming destinations adresses..


See this message from Friday (though the correct verb is "deny" not
"reject")
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20051003/msg00203.h
tml

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

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




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