LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-21-2021, 05:44 PM   #1
jeremywebdev
LQ Newbie
 
Registered: Mar 2019
Posts: 12

Rep: Reputation: Disabled
Question Postfix Using hash and mysql for virtual users


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_mysql
Obviously 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.

Last edited by jeremywebdev; 02-21-2021 at 05:49 PM.
 
Old 02-22-2021, 09:43 AM   #2
jeremywebdev
LQ Newbie
 
Registered: Mar 2019
Posts: 12

Original Poster
Rep: Reputation: Disabled
Rather attempted such a thing I dont see how with Virtualmin how its possible to for it (without doing a heck of a lot of modifications to Webmin or which ever system) to differentiate between the sort of real Linux users (though with no login shell of course apart from virtual host admins) and the MySQL virtual users so either going to ditch this idea or change to ISPConfig where this is used I think

Thanks ever so much for anyone whos read this, just dont see myself how it's possible for it to yeah work
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Using the Hash Command to Manipulate the Bash Command Hash Table LXer Syndicated Linux News 0 06-03-2019 03:52 PM
LXer: Hash Tables – using hash command and available implementations LXer Syndicated Linux News 0 07-16-2013 11:20 PM
Dynamically parse BibTeX and create hash of hash wakatana Programming 11 12-13-2012 04:59 PM
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 04:06 PM
Using hash value as key for other hash in Perl scuzzman Programming 6 02-14-2006 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration