will return the current options for the e-mail address: user@address
QUERY listname WITH option FOR *@*
will return all users with the specified option. For example, to retrieve all subscribers with CONCEAL send
QUERY listname WITH CONCEAL FOR *@*
To retrieve all subscribers with NOMAIL send
QUERY listname WITH NOMAIL FOR *@*
You can also use multiple options:
QUERY listname WITH DIGEST CONCEAL FOR *@*
will return all digest subscribers who have concealed their e-mail address.
The * is a wildcard and indicates that any characters may come before and after the @ sign. You could also use a partial wildcard. For example, all subscribers whose userids started with J and at .com domains would be