vpopmail - Perl extension for the vpopmail package


vpopmail documentation  | view source Contained in the vpopmail distribution.

Index


NAME

Top

vpopmail - Perl extension for the vpopmail package

SYNOPSIS

Top

	use vpopmail;

	print "running vpopmail V", vpopmail::vgetversion(), "\n";

	adddomain('vpopmail.com');

	vadduser('postmaster', 'vpopmail.com', 'p0stmAst3r', 'Postmaster Account', 0 );

	vadduser('username', 'vpopmail.com', 'p@ssw0rd', 'Test User', 0 );

	vdeluser('username', 'vpopmail.com');

	vaddalias('username', 'vpopmail.com', 'alias_address');

	vaddforward('local_addr', 'vpopmail.com', 'some@otherdomain.com');

	if ( vauth_user('username', 'vpopmail.com', 'p@ssw0rd', undef) ) {
		print 'auth ok';
	}

	vsetuserquota('username', 'vpopmail.com', '5M');

	vdeluser('username', 'vpopmail.com') );

	vdeldomain('vpopmail.com');

	foreach my $domain (vlistdomains()) {

		print "$domain:\n";

		foreach my $user (vlistusers($domain)) {

			print "\t$user->{pw_name} ($user->{pw_gecos})\n";
		}
	print "\n\n";
	}




DESCRIPTION

Top

Perl extension for the vpopmail package [ http://www.inter7.com/vpopmail ]

AUTHOR

Top

Sean P. Scanlon <sscanlon@cpan.org>

SEE ALSO

Top

perl(1), [ http://www.inter7.com/vpopmail ].


vpopmail documentation  | view source Contained in the vpopmail distribution.