On Tue, Feb 20, 2018, at 5:21 AM, a.matveev@lan-project.ru wrote:
Hello, Ouerheni Nouha and all list
Did you found answer about postfix integration?
For now, there are only two type of postfix configuration that Core produces, regular expressions and simple maps. Storing that in MySQL can be tricky.
One _hack_ that I can think of is that when using maps for postfix, Core calls the "postmap" command to generate the maps from the files that it generates. You can potentially provide a script that updates the MySQL database with the same configuration instead of generating maps and specify that script in configuration to be called by Core instead of "postmap".
I should mention that this is not the intended use, but it can get the work done.
thanks,
In my case, i want to store mailman data from the following postfix maps in mysql (e.g. for reading them from multiple postfix servers): transport_maps = regexp:/opt/mailman/core/var/data/postfix_lmtp local_recipient_maps = regexp:/opt/mailman/core/var/data/postfix_lmtp relay_domains = regexp:/opt/mailman/core/var/data/postfix_domains
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- Abhilash Raj maxking@asynchronous.in