My EFAMail is script installed (on my own CentOS fresh install using the kickstart script(s) - http://efa-project.org/documentation/building_efa/). All appeared to go well and almost everything works as expected and we've filtered ~25,000 messages in the past month. For the few that are HAM but marked SPAM, when the users attempt to release the messages, they are greeted with "Error in id syntax at /var/www/cgi-bin/release-msg.cgi line 95"
The regex is : if ($id =~ /^[A-F0-9]{10}\.[A-F0-9]{5}|[A-F0-9]{11}\.[A-F0-9]{5}$/){
My URL string is
{myURL}/cgi-bin/release-msg.cgi?datenumber=20140528&id=66D96314B.AF34C&token=1accf0cd77aa7777a8aa424dbbb3bde2
I may be reading that incorrectly, but I believe the first part of the ID (66D) doesn't match the regex - I'm not as good as I think with regex. The information I found searching about release-msg.cgi did not turn up much and nothing like what I am experiencing.
Release message link results in message id syntax error
Re: Release message link results in message id syntax error
You are probbably running an older version of EFA
We fixed this issue in 3.0.0.1 so you should upgrade to this.
(just run the EFA-Update command from the CLI)
See the code on github https://github.com/E-F-A/v3/blob/master ... se-msg.cgi
The regex will most likely be different than yours, meaning you are on a older version.
We fixed this issue in 3.0.0.1 so you should upgrade to this.
(just run the EFA-Update command from the CLI)
See the code on github https://github.com/E-F-A/v3/blob/master ... se-msg.cgi
The regex will most likely be different than yours, meaning you are on a older version.
Version eFa 5.x now available!
Re: Release message link results in message id syntax error
A diff between the two files shows the only difference being the db_pass line. Both show the same version "EFA release spam message script version 20140105"
Running EFA-Update shows :
# EFA-Update -check
[EFA] Getting latest version number from http://dl.efa-project.org
[EFA] You are already running version EFA-3.0.0.4, no update needed
I used wget to pull the raw file from github, modified the db_pass line and still have the same error.
I don't think my id (66D96314B.AF34C) matches the regex. What generates the message id?
Running EFA-Update shows :
# EFA-Update -check
[EFA] Getting latest version number from http://dl.efa-project.org
[EFA] You are already running version EFA-3.0.0.4, no update needed
I used wget to pull the raw file from github, modified the db_pass line and still have the same error.
I don't think my id (66D96314B.AF34C) matches the regex. What generates the message id?
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Release message link results in message id syntax error
You are right, the regex doesn't match. The first part of your ID is 9 characters long?
Postfix changed the id scheme in a recent version. What version of postfix are you running?
Postfix changed the id scheme in a recent version. What version of postfix are you running?
Re: Release message link results in message id syntax error
We are running : postfix-2.6.6-6.el6_5.x86_64 from CentOS release 6.5 (Final)
I updated the regex to allow for 9 chars and it worked. Time to learn basic perl regex
I updated the regex to allow for 9 chars and it worked. Time to learn basic perl regex

- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Release message link results in message id syntax error
Added 9 character ID support to 3.0.0.5 update.
Version eFa 5.x now available!
Re: Release message link results in message id syntax error
I got this message since an update a few days ago when releasing a quarantined mail...
Update:
weird, reboot seems te have solved the problem...
Code: Select all
Software error:
Error in id syntax at /var/www/cgi-bin/release-msg.cgi line 105.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
weird, reboot seems te have solved the problem...
