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 ?
variables missing in efa v4
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: variables missing in efa v4
I plan to add this back as a web call instead of cgi.
Sorry for the delay.
Sorry for the delay.
Re: variables missing in efa v4
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.
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.