On 02/11/16 16:42, Chris Siebenmann wrote:
>  We have a mail system facility where we allow users to place files in
> a special 'lists' directory

>  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?

You didn't say what format the files are.

Read the file, feed it to ${listcount }   (recent Exim; mind the choice
of list-sep)
or just look for a separator with ${sg }

-- 
Cheers,
  Jeremy


-- 
## 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/

Reply via email to