-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi,
atatched you will find a litte pice of alpha quality code allowing to execute some vpopcommands WITHOUT the need of vpop UID/GID. the programm "vcommander" listens on a port using tcpserver (what else :-). i use it for my tests like this: /usr/local/bin/tcpserver -l 0 -R -H -v -u110 -g85 0 9999 /var/vpopmail/bin/vcommander so tcpserver will listen on port 9999. it reads commands striktly at the following syntax: domain test.com passwd postmaster_password command anny_vpop_commandline_command command anny_vpop_commandline_command ... after a syntax error or if the connection is closed new auth is required. vcommander will answer with: - - - a status code (e.g. 0=OK) [newline] - - - a status message [newline] - - - the output of the executed command the following commands are enabled by now: vaddaliasdomain vadddomain vadduser valias vdeldomain vdeloldusers vdeluser vdominfo vmkpasswd vmoduser vpasswd vsetuserquota vuserinfo next i will write a PHP class using vcommander to manage virtual domains and users. in order to complete this, atleast shellscripts managing forwarders, autoresponders and mailinglists are required. then i will implement that an arbitary user an log in, but only postmasters will be allowed to issue usermanagementcommands (like qmailadmin). perhaps domainmanagement programs should be limited to sysadmins, but i've no idea how to implement this at the moment :-) cheers Matthias Henze [EMAIL PROTECTED] Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc - - - - - - - - - - - - - - - - - - - - - - - - - - - - MHC SoftWare GmbH voice: +49-(0)9533-92006-0 Fichtera 17 fax: +49-(0)9533-92006-6 96274 Itzgrund/Germany e-Mail: [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6-2 (MingW32) Comment: Weitere Infos: siehe http://www.gnupg.org iEYEARECAAYFAj1+37EACgkQkuyUDXwkmpZFFACgjC8xH/9yzZgTiJ8F6HosBMaS 01kAn1/wx1LzhE0vpL+hpiBaCDCav00q =ocPg -----END PGP SIGNATURE-----
vcommander.c
Description: Binary data
vcommander.c.sig
Description: PGP signature