Can't you just put *@catchall.com in the getAllEmail.txt file? You'll
likely want to change the "lsearch" to "nwildlsearch", but it should
work the same as far as I can see.
...Todd
On Sun, Nov 30, 2014 at 11:30 AM, John Schmerold <schmerold2@???> wrote:
> We are using Exim as a spam filter, normally we only accept known
> recipients. One of our domains has a catch all account, so that any
> recipient address is accepted and forwarded to an administrator.
>
> getAllEmail.txt contains all valid recipient addresses
>
> I can't get my mind around how to modify this directive to allow any
> recipient address:
> acl_check_rcpt:
> require recipients = lsearch;/etc/exim/getAllEmail.txt
> deny local_parts = ^.*[@%!/|] : ^\\.
>
> Any idea? Conceptually, I would like to change above to read:
> require recipients = (lsearch;/etc/exim/getAllEmail.txt) OR
> (*@catchall.com)
>
> Thanks,
>
> John
>
> --
> John Schmerold
> Katy Computer Systems, Inc
> http://www.katy.com
> St Louis
>
> --
> ## List details at https://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/
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine