You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1003 B
32 lines
1003 B
CREATE TABLE `messages` (
|
|
`mail_id` varchar(255) NOT NULL default '',
|
|
`time` int(11) default '0',
|
|
`remote_ip` varchar(255) default NULL,
|
|
`remote_host` varchar(255) default NULL,
|
|
`remote_info` varchar(255) default NULL,
|
|
`sender` varchar(255) default NULL,
|
|
`subject` text,
|
|
`header_size` int(11) default NULL,
|
|
`body_size` int(11) default NULL,
|
|
`spam_status` float default NULL,
|
|
`header` text,
|
|
`deny` set('YES','NO') default NULL,
|
|
`deny_plugin` varchar(100) default '',
|
|
`deny_code` int(11) default '0',
|
|
`deny_msg` text,
|
|
PRIMARY KEY (`mail_id`)
|
|
) TYPE=MyISAM;
|
|
|
|
CREATE TABLE `rcpts` (
|
|
`rcpt_id` int(11) NOT NULL auto_increment,
|
|
`mail_id` varchar(255) NOT NULL default '',
|
|
`recipient` varchar(255),
|
|
PRIMARY KEY (`rcpt_id`)
|
|
) TYPE=MyISAM;
|
|
|
|
CREATE TABLE `message_body` (
|
|
`bdy_id` int(11) NOT NULL auto_increment,
|
|
`mail_id` varchar(255) NOT NULL default '',
|
|
`body` text,
|
|
PRIMARY KEY (`bdy_id`)
|
|
) TYPE=MyISAM;
|
|
|