[SOLVED] How I do the insert of data values to the blacklist-by-sender or to any db or table by script as well as in mysql this can do it?

JuanCAguilar

Member
Feb 14, 2023
19
3
8
México
www.conafor.gob.mx
Hello to every one

Is needed to insert a lot of registers to the blacklist db (some of these by type as regex, domain, sender, email addres, ip addess and so fort), I could see the database is a postgresql db, so I need to know some data as db the name, the user and password to access on it and the database structure.

Greetings.
 
Last edited:
Is needed to insert a lot of registers to the blacklist db (some of these by type as regex, domain, sender, email addres, ip addess and so fort), I could see the database is a postgresql db, so I need to know some data as db the name, the user and password to access on it and the database structure.
I would suggest to use `pmgsh create` for this - check the api documentation:
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/config/ruledb/who/{ogroup}
 
Great - you can mark threads you created as SOLVED - by clicking 'Edit Thread' above the first posting and selecting SOLVED as prefix.

(For the next time - this time I already changed it accordingly)