Commit 08462d0f authored by Till Brehm's avatar Till Brehm

Added columns for policyd in spamfilter_policy table.

parent 73daa945
......@@ -12,4 +12,9 @@ CREATE TABLE `client_message_template` (
`subject` varchar(255) DEFAULT NULL,
`message` text,
PRIMARY KEY (`client_message_template_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
\ No newline at end of file
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
ALTER TABLE `spamfilter_policy` ADD `policyd_quota_in` int(11) NOT NULL DEFAULT '-1',
ADD `policyd_quota_in_period` int(11) NOT NULL DEFAULT '24',
ADD `policyd_quota_out` int(11) NOT NULL DEFAULT '-1',
ADD `policyd_quota_out_period` int(11) NOT NULL DEFAULT '24',
ADD `policyd_greylist` ENUM( 'Y', 'N' ) NOT NULL DEFAULT 'N';
\ No newline at end of file
......@@ -1377,6 +1377,11 @@ CREATE TABLE `spamfilter_policy` (
`spam_subject_tag2` varchar(64) default NULL,
`message_size_limit` int(11) unsigned default NULL,
`banned_rulenames` varchar(64) default NULL,
`policyd_quota_in` int(11) NOT NULL DEFAULT '-1',
`policyd_quota_in_period` int(11) NOT NULL DEFAULT '24',
`policyd_quota_out` int(11) NOT NULL DEFAULT '-1',
`policyd_quota_out_period` int(11) NOT NULL DEFAULT '24',
`policyd_greylist` ENUM( 'Y', 'N' ) NOT NULL DEFAULT 'N',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment