> Verify: determines if the username you've spcified exists
> Expand: determines which usernames will recivie the mial sent to the
> address specified - for example, the account "root" might expand to
> usernames "bob" and "alice" if they are the sysadmins, and don't want to
> log in as "root" to check for root mail.
Also, the expn command can be used to expand the addresses contained
in a mailing list, including a majordomo list if you know how
those are typically set up, even if you have defined the list
as a "private" list (meaning only list members get to see who else
is on the list).
EXPN also will show you where mail filters and forwarders are in
place, exposing possible holes.
Leaving VRFY on allows legitimate users to verify that an address
is a valid one, but EXPN gives you much, much more information.
I generally turn off EXPN on all machines and leave VRFY on.
| Dan |
Dan Simoes dans @
100 Clearbrook Road (914) 789-5378 (voice)
Elmsford, NY 10523 (914) 789-5310 (fax)
From: Rabid Wombat <wombat @