Postfix Using hash and mysql for virtual users
by jeremywebdev from LinuxQuestions.org on (#5EFMB)
Hi there,
Just a quick question really is it possible to get Postfix to use both a hash database if it cant say find the users email address in the hash database for it to then go to a mysql one?
Like so if it were to be imagined:
Code:virtual_alias_maps = hash:/etc/postfix/virtual_users, mysql:/path_to_configs_for_mysqlObviously would be a little more than that for it to work but would it be possible?
I am using Postfix version postfix-2.10 and CentOS 7.9.2009
I think its possible in Dovecot given this guide https://doc.dovecot.org/configuratio...ion_databases/
Literally been scouring the web trying to find what I am looking for so I could modify it to fit my needs (or wants rather since its not really needed but would make a project I want to do far easier from an application standpoint.
Thanks ever so much in advance,
Jeremy.


Just a quick question really is it possible to get Postfix to use both a hash database if it cant say find the users email address in the hash database for it to then go to a mysql one?
Like so if it were to be imagined:
Code:virtual_alias_maps = hash:/etc/postfix/virtual_users, mysql:/path_to_configs_for_mysqlObviously would be a little more than that for it to work but would it be possible?
I am using Postfix version postfix-2.10 and CentOS 7.9.2009
I think its possible in Dovecot given this guide https://doc.dovecot.org/configuratio...ion_databases/
Literally been scouring the web trying to find what I am looking for so I could modify it to fit my needs (or wants rather since its not really needed but would make a project I want to do far easier from an application standpoint.
Thanks ever so much in advance,
Jeremy.