⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vpopmail5.abw

📁 相当优秀的 UNIX 进程管理工具
💻 ABW
📖 第 1 页 / 共 3 页
字号:
<p>next directory or sub directory and store the new users directory</p><p>there. </p><p>&lt;/P&gt;</p><p>&lt;P&gt;Look in the source code release directory contrib/ for a</p><p>contributed directory reorganization program.</p><p>&lt;/P&gt;</p><p>&lt;H3&gt;Internationalization&lt;/H3&gt;</p><p>&lt;P&gt;There is two messages that get inserted into emails. These are</p><p>both for bounced messages. The first is for no such user and the</p><p>second is for user over quota. Site administrators can customize</p><p>these messages by creating a .over-quota.msg and .no-user.msg file in</p><p>a virtual domain directory or in the main virtual domain directory.</p><p>If a .over-quota.msg file or .no-user.msg file are not found in the</p><p>virtual domain directory, then they are checked for in the main</p><p>virtual domain directory. If they are not found there, then the</p><p>default compiled message is included in the bounce message.&lt;/P&gt;</p><p>&lt;H3&gt;dot-qmail processing&lt;/H3&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;Every virtualdomain get's it's own</p><p>directory under ~vpopmail/domains. Qmail's user/assign file gets an</p><p>entry for each domain that&lt;/P&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;points qmail-local deliveries into this</p><p>directory. Therefore, all normal .qmail file processing works in each</p><p>virtual domain. .qmail files just need the user name extension to</p><p>work, i.e. .qmail-joe for user joe. Ezmlm uses .qmail files for</p><p>processing, so it will work under vpopmail.&lt;/P&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;&lt;BR&gt;</p><p>&lt;/P&gt;</p><p>&lt;P&gt;If no user matches a .qmail file then the .qmail-default file is</p><p>processed. This file contains the vdelivermail program. This program</p><p>reads the authentication database (mysql or vpasswd.cdb) and</p><p>deliveres the mail into the users directory. The last parameter of</p><p>vdelivermail can be a maildir owned by vpopmail/vchkpw so that all</p><p>default mail reception ends up there. Or it can have an email</p><p>address, and all default mail is forwarded to this address. Last but</p><p>not least, the last parameter to vdelivermail can be the text</p><p>&lt;FONT FACE="courier, monospace"&gt;bounce-no-mailbox.&lt;/FONT&gt;&lt;FONT FACE="times, serif"&gt;</p><p>This will bounce all non matching emails back to the sender.&lt;/FONT&gt;&lt;/P&gt;</p><p>&lt;H3&gt;qmailadmin&lt;/H3&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;Qmailadmin provides a web based</p><p>interface for managing vpopmail domains. As of version 0.26, it uses</p><p>the vpopmail api. Which means it can manage mysql or vpasswd.cdb</p><p>authentication. It allows for adding pop users, managing</p><p>forwards/aliases, ezmlm mailing lists and autoresponders.&lt;/P&gt;</p><p>&lt;H3&gt;sqwebmail&lt;/H3&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;Sqwebmail is a web based email client.</p><p>It reads and writes directly to the users Maildirs. It can talk to</p><p>vpopmail vpasswd files. We have a modified version of 0.24 on</p><p>&lt;A HREF="http://www.inter7.com/vpopmail"&gt;http://www.inter7.com/vpopmail&lt;/A&gt;</p><p>which uses vpopmail api. It also supports setting the users password</p><p>and lets the user forward their mail. Hopefully these changes will be</p><p>intergrated into the standard distribution :)&lt;/P&gt;</p><p>&lt;H3&gt;courier-imap&lt;/H3&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;Courier-imap is a IMAP server that</p><p>supports Maildirs. It's current release supports vpopmail vpasswd</p><p>files. We will be integrating the vpopmail api into the main</p><p>distribution soon.&lt;/P&gt;</p><p>&lt;H3&gt;mysql authentication&lt;/H3&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;&lt;BR&gt;</p><p>&lt;/P&gt;</p><p>&lt;H3&gt;cdb authentication&lt;/H3&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;&lt;BR&gt;</p><p>&lt;/P&gt;</p><p>&lt;H3&gt;&lt;A name="vpopmail-api"&gt;vpopmail API&lt;/a&gt;&lt;/H3&gt;</p><p>&lt;P&gt;As of version 3.4.10 vpopmail builds a library located in</p><p>~vpopmail/lib/libvpopmail.a . Linking this library into your</p><p>application will provide access to the following C functions. The</p><p>associated header files are located in ~vpopmail/include.&lt;/P&gt;</p><p>&lt;H4&gt;int vadddomain( char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;domain = the new virtual domain&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	&lt;BR&gt;&lt;BR&gt;</p><p>	&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vdeldomain( char *domain )&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD STYLE="margin-bottom: 0.2in"&gt;domain = virtual domain to delete&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vadduser( char *user, char *domain, char *password, int apop)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = new user name&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = virtual domain&lt;/DD&gt;&lt;DD&gt;</p><p>	password = clear text password&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	apop = 0 for pop and 1 for apop&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vdeluser( char *user, char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user to delete&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	domain = virtual domain&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vpasswd( char *user, char *domain, char *password)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user to change password for&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = virtual domain&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	password = clear text password </p><p>	&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vsetuserquota( char *user, char *domain, char *quota)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user name to change quota for&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = virtual domain&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	char = quota in bytes. M/m and K/k abbrieviations apply. 5M 5m and</p><p>	5000000 all equal 5 million bytes hard quota&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H3&gt;</p><p>vpopmail authentication API&lt;/H3&gt;</p><p>&lt;H4&gt;int vauth_addomain( char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD STYLE="margin-bottom: 0.2in"&gt;domain = domain name to add to</p><p>	authentication system&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vauth_deldomain( char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD STYLE="margin-bottom: 0.2in"&gt;domain = domain name to delete from</p><p>	authentication system&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vauth_adduser( char *user, char *domain, char *crypted_password,</p><p>char *dir, int apop)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user to add from authentication system&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = domain name&lt;/DD&gt;&lt;DD&gt;</p><p>	crypted_password = encrypted password&lt;/DD&gt;&lt;DD&gt;</p><p>	dir = full path to directory where users Maildir is stored.&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	apop = 0 for POP and 1 for APOP&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vauth_deluser( char *user, char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user to delete from authentication system&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	domain = domain name&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vauth_password( char *user, char *domain, char *crypted_password)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user to change password in authentication system&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = domain name&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	crypted_password = the encrypted password&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vauth_setquota( char *user, char *domain, char *quota)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user to set quota for in authentication system&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = domain name&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	quota = quota in bytes or using M/m or K/k abbrieviations. 5M = 5m =</p><p>	5000000 </p><p>	&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>struct *passwd vauth_getpw( char *user, char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user name to retrieve password entry from authentication</p><p>	system&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	domain = domain name&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>int vauth_setpw( struct *passwd, char *domain)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;passwd = pointer to a passwd structure to store in</p><p>	authentication system. </p><p>	&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	domain = domain name for this passwd structure&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>struct *vauth_user( char *user, char *domain, char *password, char</p><p>*apop)&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;user = user name to authenticate&lt;/DD&gt;&lt;DD&gt;</p><p>	domain = domain name&lt;/DD&gt;&lt;DD&gt;</p><p>	password = clear text password&lt;/DD&gt;&lt;DD STYLE="margin-bottom: 0.2in"&gt;</p><p>	apop = not used in version 3.4.10&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;H4&gt;</p><p>struct *vauth_getall( char *domain, int first, int sort_it )&lt;/H4&gt;</p><p>&lt;DL&gt;</p><p>	&lt;DD&gt;domain = domain name to retrieve password structure from</p><p>	authentication system&lt;/DD&gt;&lt;DD&gt;</p><p>	first = 1 to get first record, 0 = get next record </p><p>	&lt;/DD&gt;&lt;DD&gt;</p><p>	sort_it = 1 to have the user list sorted alphabetically. This has no</p><p>	effect on vpasswd/cdb method, since all users are added</p><p>	alphabetically. With mysql it adds an order by pw_name to the query.&lt;/DD&gt;&lt;/DL&gt;</p><p>&lt;P STYLE="margin-bottom: 0in"&gt;</p><p>&lt;BR&gt;</p><p>&lt;/P&gt;</p><p>&lt;/BODY&gt;</p><p>&lt;/HTML&gt;</p><p></p></section></abiword>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -