Re: Outgoing mail being scanned? Open relay warning.

mabi <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <Kc9y8Kafr23WtLr_BpomI5ChRMYPFznnC-fPEiKGJODv5ouxD2f25AVbldBDX-sRKlZc_-9mGA8kie3M_IhT3_Py6MxWC2zT1jrH7nVLnNY=@protonmail.ch>
‐‐‐‐‐‐‐ 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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.