commands/vdeluser.html
author "Tomas Zeman <tzeman@volny.cz>"
Wed, 16 Jan 2008 22:39:43 +0100
changeset 0 6f7a81934006
child 2 b3afb9f1e801
permissions -rw-r--r--
Imported vmailmgr-0.96.9

<HTML>
<HEAD>
<TITLE>vdeluser - Delete users from a virtual domain</TITLE>
<LINK REV="made" HREF="mailto:root@porky.devel.redhat.com">
</HEAD>

<BODY>

<!-- INDEX BEGIN -->
<!--

<UL>

	<LI><A HREF="#NAME">NAME</A>
	<LI><A HREF="#SYNOPSIS">SYNOPSIS</A>
	<LI><A HREF="#DESCRIPTION">DESCRIPTION</A>
	<LI><A HREF="#OPTIONS">OPTIONS</A>
	<LI><A HREF="#NOTES">NOTES</A>
	<LI><A HREF="#AUTHORS">AUTHORS</A>
</UL>
-->
<!-- INDEX END -->

<P>
<H1><A NAME="NAME">NAME</A></H1>
<P>
vdeluser - Delete users from a virtual domain

<P>
<HR>
<H1><A NAME="SYNOPSIS">SYNOPSIS</A></H1>
<P>
<STRONG>vdeluser</STRONG>
[<STRONG>-D</STRONG>] [<STRONG>--no-mailbox</STRONG>] [<STRONG>--quiet</STRONG>]
<EM>USER1 [USER2 ...]</EM>



<P>
<HR>
<H1><A NAME="DESCRIPTION">DESCRIPTION</A></H1>
<P>
This program will take the steps necessary to remove a user from a virtual
domain.

<P>
For each user listed on the command line, it does the following:

<P>
1. It removes the named user's entry from the local password file.

<P>
2. It removes any qmail delivery files that point to the named user's mail
directory.

<P>
3. It removes the user's mail directory and all of its contents
(recursively).

<P>
If any of the above steps fail, a warning is issued and processing
continues.

<P>
<HR>
<H1><A NAME="OPTIONS">OPTIONS</A></H1>
<DL>
<DT><STRONG><A NAME="item__D_">-D, --no-mailbox</A></STRONG><DD>
<P>
Do not delete users that have a mailbox.

<DT><STRONG><A NAME="item__quiet">--quiet</A></STRONG><DD>
<P>
Suppress all status messages.

</DL>
<P>
<HR>
<H1><A NAME="NOTES">NOTES</A></H1>
<P>
You must have either created the users subdirectory by hand or run the
<EM>vsetup</EM> program before using this program.

<P>
This program expects the environment variable <CODE>HOME</CODE> to be set, and executes a change directory to the contents of it before
starting. It is also required that you change user to the domain owner
before using these utilities.

<P>
<HR>
<H1><A NAME="AUTHORS">AUTHORS</A></H1>
<P>
Bruce Guenter &lt;<A HREF="mailto:bruceg@em.ca">bruceg@em.ca</A>&gt;

</BODY>

</HTML>