‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, August 5, 2020 12:18 AM, Patrick Ben Koetter <[email protected]> wrote:

> for any domain/recipient that amavis should feel responsible for add its name
> to @local_domains_maps or let amavis read it from a file, e.g.
> /etc/postfix/relay_domains:
>
> @local_domains_maps = (
> ".$mydomain",
> read_hash('/etc/postfix/relay_domains')
> );

This "read_hash" function is quite useful but in my specific case I have this 
information stored in a PostgreSQL database table. So I was wondering if there 
is some kind of function like "read_sql" which can get the my domains from a 
specific column/table/database in SQL?

Reply via email to