Re: [Exim] upgrade - blocking spam...

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: Re: [Exim] upgrade - blocking spam...
On Mon, Sep 22, 2003 at 06:28:47PM +0200, Roxik wrote:
[...]
> In exim3 I was:
>
> block:
> driver= smartuser
> domains = "rz.pl:lsearch;/virtual/relay"
> local_parts = ${local_part}
> require_files = /virtual/${domain}/spam/${local_part}
> senders = "lsearch; /virtual/${domain}/etc/${local_part}"
> new_address = :fail: Spam NOT Allowed!
> verify_only
> verify_recipient
>
> So... In virtual/<some_domain>/spam/<rec> file user can write own spam
> addresses.
> How do to rewrite in new format this fragment ?
> (exim4 ofc). Is this possible to realization on RCPT-TO-ACL ??


yes, looks straightforward to me. What have you tried, where is your
problem?

Draft, untested:
deny message = Spam NOT Allowed!
     domains = "rz.pl:lsearch;/virtual/relay"
     condition = ${if ${exists /virtual/${domain}/spam/${local_part}{yes}{no}}
     senders = "lsearch; /virtual/${domain}/etc/${local_part}"


            cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"