Page 1 of 1
Release message link results in message id syntax error
Posted: 28 May 2014 15:14
by Egor
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.
Re: Release message link results in message id syntax error
Posted: 28 May 2014 19:44
by darky83
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.
Re: Release message link results in message id syntax error
Posted: 29 May 2014 15:16
by Egor
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?
Re: Release message link results in message id syntax error
Posted: 30 May 2014 00:41
by shawniverson
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?
Re: Release message link results in message id syntax error
Posted: 02 Jun 2014 21:12
by Egor
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

Re: Release message link results in message id syntax error
Posted: 03 Jun 2014 22:05
by shawniverson
Re: Release message link results in message id syntax error
Posted: 27 Jul 2014 13:25
by darky83
Added 9 character ID support to 3.0.0.5 update.
Re: Release message link results in message id syntax error
Posted: 07 Apr 2016 20:05
by Mr. Happy
I got this message since an update a few days ago when releasing a quarantined mail...
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.
Update:
weird, reboot seems te have solved the problem...
