Re: [exim] Counting how many addresses a redirect router gen…

Góra strony
Delete this message
Reply to this message
Autor: Evgeniy Berdnikov
Data:  
Dla: exim-users
Temat: Re: [exim] Counting how many addresses a redirect router generates?
On Wed, Nov 02, 2016 at 12:42:18PM -0400, Chris Siebenmann wrote:
> We have recently wound up wanting to be able to tell the difference
> between the two sorts of 'mailing lists', so we can treat email passing
> through them somewhat differently. So, is there any good way to do
> something like count the number of addresses generated from a redirect
> expansion? Alternately, can people think of clever other ways to do this?


I propose an alternative way: write a web-based form to upload
a user-supplied file with list of addresses to preprocessor, which
functions are to check address syntax, count the number of addresses
(if you want), remove comments (optional), sort and/or point out
duplicates, and then generate include file for redirect router.
It's a good thing to keep this file in a protected place, but
return it back to user on request, via the same web-based form.
--
Eugene Berdnikov