-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt Brookings wrote:
| Timothy Arnold wrote:
| |
| |> If you have your qmail source tree cd into it and type
| |> make setup check
| |>
| |> You will probably have to re-install vpopmail and qmailadmin as well
| |>
| |> If not you will have to rebuild from scratch ;-(
| |>
| |
| | Hmm, how do I generate all of the virtualdomains, rcpthosts, append,
| | assign etc for the vpopmail hosted domains?
| |
| | Cheers
| | Tim.
| |
| |
| |
|
| #!/bin/sh
| #
| # 06/21/05
| # <[EMAIL PROTECTED]>
| #
| # Using vpopmail/domains directory, and locals file,
| # generate rcpthosts, virtualdomains, and users/assign
| #
|
| rm -f assign rcpthosts virtualdomains
|
| cat /var/qmail/control/locals > rcpthosts
|
| for i in *; do
| ~        if [ ! -d $i ]; then
| ~                continue;
| ~        fi
|
| ~        echo "+$i-:$i:89:89:/home/vpopmail/domains/$i:-::" >> assign
| ~        echo "$i" >> rcpthosts
| ~        echo "$i:$i" >> virtualdomains
| done
|
| echo "." >> assign
|
|
|

Change into the vpopmail domains directory, and create
this script.  Edit the 89:89 part to proper uid/gid of
vpopmail:vchkpw.  Then run the script and move the created
control files into your qmail directories.  Run
/var/qmail/bin/qmail-newu, and you're all set.
- --
/*
~    Matt Brookings <[EMAIL PROTECTED]>       GnuPG Key B7B54216
~    Software developer                     Systems technician
~    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC926/hzYRRre1QhYRAh51AJ9aN7sJCYHyQGl/vW32IKqlOGaVPgCfTxW4
vagzr9lafE7Arc9JPLXclZI=
=GJdx
-----END PGP SIGNATURE-----

Reply via email to