Provided by: dbmail-pgsql_1.2.11-1ubuntu1_i386 bug

NAME

       dbmail-adduser - Adds mailusers to the Dbmail mailsystem

SYNOPSIS

       dbmail-adduser [quiet] a username password clientid maxmail [aliases]
       dbmail-adduser [quiet] e username
       dbmail-adduser [quiet] d username
       dbmail-adduser [quiet] f alias deliver-to
       dbmail-adduser [quiet] x alias deliver-to
       dbmail-adduser [quiet] c username [-u username] [[-p|+p|xp|-5|+5|d5|D5 password] | [-P[:filename]]] [-c clientid] [-q maxmail] [+a alias] [-a alias]
       dbmail-adduser [quiet] s [username]

DESCRIPTION

       The  dbmail-adduser program enables you to manage the Dbmail users.  It
       lets you add, delete and change users as well as show information about
       a  specific  user or display a list of existing users.  It also has the
       capability of adding/removing separate aliases.

       Options:

       quiet  Holds for all options. Suppresses all output to stdout.

       a      Add a user. Arguments:

              username The username of the user to be added. This username  is
              used for access and authentication (through pop3 or imap4).

              password  Cleartext  password  for  user.   If  the  password is
              preceeded  by  ’{crypt:}’  the  (cleartext)  password  will   be
              encrypted.  If  the  password  is  preceeded  by  ’{crypt}’  the
              password on the command line is assumed to be already encrypted.
              If  the  password  is  preceeded  by  ’{md5:}’  the  (cleartext)
              password will be saved as  an  md5  hash.  If  the  password  is
              preceeded by ’{md5}’ the password on the command line is assumed
              to be an md5 hash.  If the password is preceeded by  ’{md5sum:}’
              the  (cleartext) password will be saved as an md5 digest. If the
              password is preceeded by ’{md5sum}’ the password on the  command
              line is assumed to be the md5 digest.

              clientid  This  option  enables  users  to  be grouped. clientid
              specifies the owner of the user.

              maxmail The maximum number of bytes that this user is allowed to
              have in her/his mailbox(es). Size is in bytes, kilobytes (if the
              specified size is followed  by  a  ’k’)  or  megabytes  (if  the
              specified  size is followed by a ’M’) If set to 0, there will be
              no limit.

              [aliases] Aliases for this user (user@domain.com). An  alias  is
              an  e-mail  address  that  is  being  delivered  to  the  Dbmail
              mailsystem and needs to be delivered to this user.

       e      Empties all mailboxes associated  with  the  user  specified  by
              username.

       d      Delete a user specified by username.

       f      Adds a separate forward of alias to deliver-to.

       x      Deletes a separate forward of alias to deliver-to.

       c      Change one or more user data items. Options:

              username The name of user whose data needs to be changed.

              [-u username] The new username for this user.

              [-p password] The new (cleartext) password for this user.

              [+p password]  The  new (cleartext) password for this user which
              will be stored encrypted.

              [xp password] The new crypt encryped password for this user.

              [-5 password] The md5 hash of the new password for this user.

              [+5 password] The new (cleartext) password for this  user  which
              will be stored as an md5 hash.

              [d5 password]  The md5 digest of the new password for this user.

              [D5 password] The new (cleartext) password for this  user  which
              will be stored as an md5 digest.

              [-P[:filename]]  The  new  password for this user will be copied
              from ’/etc/shadow’ (default) or from  filename  (if  specified).
              These  files  are  supposed  to contain encrypted passwords, the
              passwords will be copied encrypted from the file.

              [-c clientid] The new client-ID for this user.

              [-q maxmail] The new mailquotum for this user. Size is in bytes,
              kilobytes  (if  the  specified  size  is  followed  by a ’k’) or
              megabytes (if the specified size is followed by a ’M’).  If  set
              to 0, there will be no limit.

              [+a alias] Add alias for this user.

              [-a alias] Remove alias for this user.

       s      Display  a  list  of  existing  users or information on the user
              specified by username (if specified).

EXAMPLES

       dbmail-adduser a foo secret 0 0 foo@bar.net foo@bar.org
              This will add a user foo with password secret.  This  user  will
              not  have  any  limit on the mail she/he will receive. E-mail to
              foo@bar.net and foo@bar.org are delivered  to  this  user  (user
              foo).

DIAGNOSTICS

       Errors  and  notifications  are  send to the trace output as set in the
       Dbmail configfile.

BUGS

       No known bugs.

LICENSE

       Dbmail and it’s components are (c) IC&S and distributed under the  GPL.

AUTHOR(S)

       Eelco van Beek
       Roel Rozendaal
       IC&S
       Koningsweg 4
       3582 GE Utrecht
       http://www.ic-s.nl

                                                             DBMAIL-ADDUSER(8)