Source

iredmail / iRedMail / samples / amavisd / amavisd-2.7.0.mysql

Diff from to

iRedMail/samples/amavisd/amavisd-2.7.0.mysql

 
 CREATE INDEX msgs_idx_mail_id   ON msgs (mail_id);
 CREATE INDEX msgs_idx_content   ON msgs (content);
+CREATE INDEX msgs_idx_quar_type ON msgs (quar_type);
 CREATE INDEX msgs_idx_content_time_num ON msgs (content, time_num);
 
 -- alternatively when purging based on time_iso (instead of msgs_idx_time_num):