There is a more robust version of this extension, and other goodies for working with vpopmail from PHP available at: http://pmailadmin.sourceforge.net/
The extension will get added back to PECL once it is finished and tested.
CLXIV. vpopmail 関数
導入
| 警告 |
この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは自己責任で使用してください。 |
この拡張モジュールは、PHP 4.3.0 以降 PHP 本体から別れ、 現在は PECL にあります。
インストール手順
PHP 4 では、これらの関数は、PHP が --with-vpopmail[=DIR] を指定して 設定されている場合にのみ使用可能です。
- 目次
- vpopmail_add_alias_domain_ex -- 既存の仮想ドメインにエイリアスを追加する
- vpopmail_add_alias_domain -- 仮想ドメインへのエイリアスを追加する
- vpopmail_add_domain_ex -- 新規に仮想ドメインを追加する
- vpopmail_add_domain -- 仮想ドメインを新たに追加する
- vpopmail_add_user -- 指定した仮想ドメインに新規ユーザを追加する
- vpopmail_alias_add -- 仮想エイリアスを追加する
- vpopmail_alias_del_domain -- あるドメインに関する仮想エイリアスを全て削除する
- vpopmail_alias_del -- あるユーザの仮想エイリアスを全て削除する
- vpopmail_alias_get_all -- あるドメインに関するエイリアスを全て取得する
- vpopmail_alias_get -- あるドメインに関するエイリアスを取得する
- vpopmail_auth_user -- ユーザ名/ドメイン/パスワードの認証を試みる
- vpopmail_del_domain_ex -- 仮想ドメインを削除する
- vpopmail_del_domain -- 仮想ドメインを削除する
- vpopmail_del_user -- 仮想ドメインからユーザを削除する
- vpopmail_error -- 直近の vpopmail エラーに関するエラーメッセージを取得する
- vpopmail_passwd -- 仮想ユーザのパスワードを変更する
- vpopmail_set_user_quota -- 仮想ユーザの容量制限(クオータ)を設定する
rwidmer at sourceforge dot net
02-Jun-2004 06:01
Chester
11-Apr-2004 04:39
If you set vpopmail up with mysql support its quite easy to get a full listing of domains/users. You'l only have to use the vpopmail php functions to add/delete users/domains in a own written front end.
justin at linuxgroup dot net
29-Apr-2003 04:11
In reply to "You can easily save the directory listing of ~vpopmail/domains"
This would only work if you had 100 domains or less. After that, domains are broken up into directories. Vpopmail will not put more then 100 domains in a directory because it's not efficient.
dredman at najt dot nu
01-Dec-2002 06:42
just compile MySQL support into vpopmail and you've got it. then you can get all the needed info from the db.
till'at'klimpong'dot'com'dot'NOSPAM
16-Oct-2002 07:31
In regard to an earlier post:
You can easily save the directory listing of ~vpopmail/domains and get the list of all domains on your system.
That's fairly easy and if you don't add/remove each day, you can keep the list static or update it via cron on certain intervals.
thomas at abitur003 dot de
15-Oct-2002 11:50
Well, you can safe your qmail-data like the domains, etc. in a database, which is quite usefull in my eyes. You just have to keep the data synchronized.
mike at hbhosting dot com
14-Oct-2002 05:07
This library is kind of useless without key functions like get_domain_info() and list_all_domains(). You can add and delete virtual domains, but you cannot list or view them. Without such functionality you can't go and write your own PHP front end to qmail.
