Category header
Giovanni Bechis
giovanni at paclan.it
Tue Mar 26 14:18:22 CET 2019
Marco <falon at ruparpiemonte.it> wrote:
> [-- text/plain, encoding 7bit, charset: iso-8859-15, 24 lines --]
>
> Hello,
>
> could you add an header in amavisd to identify the Amavis Category?
>
> This info could be of help to classify emails through external filters
> (sieve, or IMAP client filters...).
>
> I leave the attached patch: it adds the "X-Amavis-Category" header based
> on ccat_display_names if the "$header_category = 1" is found on
> amavisd.conf.
>
> It works for me, but I don't know Amavis deeply, so you could improve
> the mechanism if you like.
>
> In amavisd.conf remember to add the following line:
>
> $header_category = 1; # Add an header with Amavis category
>
>
> Thank you very much to consider this.
>
Thanks,
atm development is managed at https://gitlab.com/amavis/amavis,
please open an issue and submit your code there.
Regards
Giovanni
More information about the amavis-users
mailing list