CoolAtt 0 Light Poster

Hi all.

Am using amavis for email scanning but got stuck somewhere in the
configuration file.

I want to add some custom code to populate an array from a postgresql database.

(Amavis and its conf are written in Perl)

Below is part of the configuration file which i want to make dynamic and populate from the database.

blacklist_sender_maps => [ [qw(.example.org .example.net)] ],

Currently, .example.org and .example.net are hardcoded in the conf file

Kindly advise me where should i start.. how should i proceed.
I don't even know if this possible...because am new to Perl

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.