1 CREATE TABLE postfix_alias (
2 id int(11) unsigned NOT NULL auto_increment,
3 alias varchar(128) NOT NULL default '',
4 destination varchar(128) NOT NULL default '',
8 CREATE TABLE postfix_relocated (
9 id int(11) unsigned NOT NULL auto_increment,
10 email varchar(128) NOT NULL default '',
11 destination varchar(128) NOT NULL default '',
15 CREATE TABLE postfix_transport (
16 id int(11) unsigned NOT NULL auto_increment,
17 domain varchar(128) NOT NULL default '',
18 destination varchar(128) NOT NULL default '',
20 UNIQUE KEY domain (domain)
23 CREATE TABLE postfix_virtual_domains (
24 id int(11) unsigned NOT NULL auto_increment,
25 domain varchar(128) NOT NULL default '',
26 destination varchar(128) NOT NULL default '',
28 UNIQUE KEY domain (domain)
31 CREATE TABLE postfix_users (
32 id int(11) unsigned NOT NULL auto_increment,
33 email varchar(128) NOT NULL default '',
34 clear varchar(128) NOT NULL default '',
35 crypt varchar(128) NOT NULL default '',
36 name tinytext NOT NULL,
37 uid int(11) unsigned NOT NULL default '2001',
38 gid int(11) unsigned NOT NULL default '2001',
39 homedir tinytext NOT NULL,
40 maildir tinytext NOT NULL,
41 quota tinytext NOT NULL,
42 access enum('Y','N') NOT NULL default 'Y',
43 postfix enum('Y','N') NOT NULL default 'Y',
44 disablepop3 char(1) NOT NULL default '0',
45 disableimap char(1) NOT NULL default '0',
46 disablewebmail char(1) NOT NULL default '0',
47 sharedgroup varchar(128) NOT NULL default '0',
48 smtpaccess enum('Y','N') NOT NULL default 'Y',
51 UNIQUE KEY email (email)
54 CREATE TABLE postfix_virtual (
55 id int(11) unsigned NOT NULL auto_increment,
56 email varchar(128) NOT NULL default '',
57 destination varchar(128) NOT NULL default '',
61 CREATE TABLE postfix_access (
62 id int(10) unsigned NOT NULL auto_increment,
63 source varchar(128) NOT NULL default '',
64 access varchar(128) NOT NULL default '',
65 type enum('recipient','sender','client') NOT NULL default 'recipient',