[vchkpw] a vpopbull question
Hi all Somebody knows how can I post an email in html format to serveral virtualdomains in my system box with vpopbull? Thanks in advance Mario
Re: [vchkpw] Help! /var/qmail removed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick Macdougall wrote: | Matt Brookings wrote: | |> -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. | | | Hi, | | Except you'll miss domains that are hashed. | | Something like | | vpopbull -n | cut -d "@" -f 2 | sort | uniq | | will work better except you'll have to manually weed out any domain | aliases. | | Regards, | | Rick Of course, but chances someone who wiped their /var/qmail has enough domains to hash? :) - -- /* ~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) iD8DBQFC93G8hzYRRre1QhYRAom0AJwOW077jG0g+lnGwvjbYqSrfWyoTACfQDJU +HDkIoh/GWFLtVO1rb3jNWI= =NMoC -END PGP SIGNATURE-
Re: [vchkpw] Help! /var/qmail removed
Matt Brookings wrote: -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. Hi, Except you'll miss domains that are hashed. Something like vpopbull -n | cut -d "@" -f 2 | sort | uniq will work better except you'll have to manually weed out any domain aliases. Regards, Rick
Re: [vchkpw] Help! /var/qmail removed
-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-
Re: [vchkpw] Help! /var/qmail removed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 - -- /* ~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) iD8DBQFC9257hzYRRre1QhYRAibjAJ46T1+8TKMC1RhDFpghdLZOGor7KwCfZ5zA YM3eS31ZqFR57IVdGfqO3/k= =0mYG -END PGP SIGNATURE-
Re: [vchkpw] Help! /var/qmail removed
On Monday 08 Aug 2005 13:22, 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? eek carefully you should be able to find the info you need in each vpopmail/domains//vpasswd move the existing out of the way, parse the vpasswd files and use vadddomain and vadduser to rebuild the control files, then overwrite the newly created with the original ones as you will be replacing the new vpasswd files with the old ones you can use a dummy password good luck, and make backups when you are finished! > > Cheers > Tim. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Help! /var/qmail removed
Timothy Arnold wrote: Hello! I am in need of some assistance! I have managed to lose /var/qmail and all I have left is /home/vpopmail and the mysql database. What is the easiest way to recreate all of the required qmail files?? You might want to see if anyone else has suggestions, but if you have a relatively standard installation... Move the /home/vpopmail directory somewhere else. (/home/vpopmail.old) Move the mysql database (/var/lib/mysql/vpopmail?) somewhere else. Reinstall qmail and vpopmail following the same toaster you used before. ls /home/vpopmail.old/domains and execute vadddomain for each domain. Replace the original /home/vpopmail and database directory.
Re: [vchkpw] Help! /var/qmail removed
From your backup!? which I don't have :(very very stupid I know
Re: [vchkpw] Help! /var/qmail removed
> >> 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. > > > >From your backup!?
Re: [vchkpw] Help! /var/qmail removed
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.
Re: [vchkpw] Help! /var/qmail removed
On Monday 08 Aug 2005 12:48, Timothy Arnold wrote: > Hello! > > I am in need of some assistance! I have managed to lose /var/qmail and all > I have left is /home/vpopmail and the mysql database. What is the easiest > way to recreate all of the required qmail files?? 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 ;-( > > Cheers > Tim. -- - Bob Hutchinson Midwales dot com -
[vchkpw] Help! /var/qmail removed
Hello! I am in need of some assistance! I have managed to lose /var/qmail and all I have left is /home/vpopmail and the mysql database. What is the easiest way to recreate all of the required qmail files?? Cheers Tim.