CREATE TABLE IF NOT EXISTS `users` (
  `userid` varchar(128) NOT NULL,
  `domain` varchar(128) NOT NULL,
  `password` varchar(64) NOT NULL,
  `username` varchar(100) NOT NULL,
  `mail_type` varchar(10) NOT NULL,
  `home` varchar(255) NOT NULL,
  `sieve` varchar(255) NOT NULL,
  `index` varchar(100) NOT NULL,
  `control` varchar(100) NOT NULL,
  `nets` varchar(100) NOT NULL,
  `uid` int(11) NOT NULL,
  `gid` int(11) NOT NULL,
  PRIMARY KEY  (`userid`,`domain`)
) ENGINE=MyISAM;
