Outgoing mail being scanned? Open relay warning.

mabi mabi at protonmail.ch
Thu Aug 6 07:32:19 CEST 2020


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, August 5, 2020 12:18 AM, Patrick Ben Koetter <p at sys4.de> 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?



More information about the amavis-users mailing list