Page 1 of 1

variables missing in efa v4

Posted: 08 Jan 2021 16:55
by nicola.piazzi
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 ?

Re: variables missing in efa v4

Posted: 10 Jan 2021 11:41
by shawniverson
I plan to add this back as a web call instead of cgi.

Sorry for the delay.

Re: variables missing in efa v4

Posted: 04 Feb 2021 09:24
by andreas
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.