LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Hal Keen <[log in to unmask]>
Mon, 16 Jan 2017 11:53:48 -0600
text/plain (28 lines)
> Is there an easy way to get a list of subscribers that have selected a
> particular subscription option, such as NOMAIL or DIGEST?

I use an email command like
q <listname> with NOMAIL for *@*
where
<listname> is the list name, or * as a wildcard for "all the lists I own,"
and
*@* is a wildcard matching all subscriber addresses.

The result is a set of QUERY command responses (that being what q
abbreviates), and so there's a paragraph's worth of information for each
subscriber. To get a short list, I save the body of the email response to a
file, then run it through a program that extracts the information I want.

I use a Perl script for the extraction. There's at least one Python
enthusiast around here who reports good results with that language, too.

Hal Keen


############################

To unsubscribe from the LSTOWN-L list:
write to: mailto:[log in to unmask]
or click the following link:
http://peach.ease.lsoft.com/scripts/wa-PEACH.exe?SUBED1=LSTOWN-L&A=1

ATOM RSS1 RSS2