variables missing in efa v4

Request and discuss new features you would like to have.
Post Reply
nicola.piazzi
Posts: 373
Joined: 23 Apr 2015 09:45

variables missing in efa v4

Post by nicola.piazzi » 08 Jan 2021 16:55

In efa v3 there was a custom aaction (/usr/share/MailScanner/perl/custom/CustomAction.pm) that transfers some variables to messages and that canbe used in signatures
Now seems that this is no more implemented so if i search this file there is mailscanner original example

Why you abandoned this ?
To have this working i need to implement this manually and you dont touch by default in future ?

User avatar
shawniverson
Posts: 3438
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: variables missing in efa v4

Post by shawniverson » 10 Jan 2021 11:41

I plan to add this back as a web call instead of cgi.

Sorry for the delay.

andreas
Posts: 2
Joined: 03 Jan 2014 16:49

Re: variables missing in efa v4

Post by andreas » 04 Feb 2021 09:24

I Installed a fresh EFA, It updated today 4-2-2021.
In the maillog I see following error message:
Feb 4 10:08:35 mailgateway MailScanner[165201]: MailScanner Email Processor version 5.4.1 starting...
Feb 4 10:08:35 mailgateway MailScanner[165201]: Could not use Custom Function code /usr/share/MailScanner/perl/custom/CustomAction.pm, it could not be "require"d. Make sure the last line is "1;" and the module is correct with perl -wc (Error: Global symbol "$year" requires explicit package name (did you forget to declare "my $year"?) at /usr/share/MailScanner/perl/custom/CustomAction.pm line 154.

Post Reply