Re: [Exim] exim 3.952 -- sender reject issue

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kirill Miazine
Dátum:  
Címzett: Richard Welty
CC: exim-users
Tárgy: Re: [Exim] exim 3.952 -- sender reject issue
* Richard Welty <rwelty@???> [20020116 14:13]:
> ok, now i'm working on trying to get the sender_reject equivalent working
> in exim 3.952. partial-lsearch for rejecting senders in mail from:<> lines
> isn't behaving consistently with traditional exim 3.
>
> my old exim 3 sender reject was as follows:
>
> sender_reject_recipients=partial-lsearch;/etc/exim.d/sender_reject
>
> which works perfectly so far as i know, with contents such as
>
> *.em5000.com
> *.em5000.net
> *.twistedhumor.com
> *.emsiweb.com
> *.sandbox.com
> *.sandbox.net
> *.network60.com
> euphony.net
> accxx-telecom.net
>
> the convert4r4 script converted this to an entry in the new check_recipient
> ACL (this not the complete ACL, just the part from the start to the
> relevant deny):
>
> #!!# ACL that is used after the RCPT command
> check_recipient:
>   # Exim 3 had no checking on -bs messages
>   accept  hosts = :
> #  deny    !encrypted = HIGH:MEDIUM:LOW:EXPORT
>   deny    message = host is listed in $dnslist_domain
>           dnslists = kbl.krusty-motorsports.com:relays.visi.com:spamhaus.relays.osirusoft.com:dialups.relays.osirusoft.com
>   deny    senders = partial-lsearch;/etc/exim.d/sender_reject
> <snip>

>
> here is the output from ./exim -bh 149.19.1.1 -v -d all
> with
>
> helo balltown.cma.com
> mail from:<fred@???>
> rcpt to:<rwelty@???>
>
> this is the ACL check only; everything else in the debug stream is
> as-expected.


[...]

> <snip>
>
> anybody got any ideas?


deny senders = *@partial-lsearch;/etc/exim.d/sender_reject

Untested.

--
Kirill