NAME

vpopmail - Perl extension for the vpopmail package

SYNOPSIS

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

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

AUTHOR

Sean P. Scanlon <sscanlon@cpan.org>

SEE ALSO

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