So I tired to follow this tutorial but encountered an error.
Dovecot will always attempt to check the user_query before starting properly. The tutorial I followed does not mention anything about user_query. So Dovecot is checking, seeing it's not set, using the default method, and failing.
Anyone know how I might craft a user_query parameter that will work with this table?
CREATE TABLE `virtual_users` (
`id` INT NOT NULL AUTO_INCREMENT,
`domain_id` INT NOT NULL,
`password` VARCHAR(106) NOT NULL,
`email` VARCHAR(120) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`),
FOREIGN KEY (domain_id) REFERENCES virtual_domains(id) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;