On Tue, Nov 29, 2005 at 07:36:38AM -0500, Marc Sherman said:
> Eddie Shipman wrote:
> > I have a domain that is using Exim. We have been getting tons of
> > spam directed to dictionary generated addresses but usually one
> > or more of the addresses are valid domain addresses.
> >
> > Is it possible to discard ANY message that has ANY address that
> > is not a valid address in my domain?
>
> In the DATA acl, add:
>
> deny condition = ${if >{$rcpt_fail_count}{0}}
Or, idiomatically,
deny condition = $rcpt_fail_count
and surely, pre-data is the better place for this?
--
--------------------------------------------------------------------------
| Stephen Gran | Dr. Livingston? Dr. Livingston I. |
| steve@??? | Presume? |
| http://www.lobefin.net/~steve | |
--------------------------------------------------------------------------