Page 1 of 1

Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 00:19
by vanree-josh
Hello,

Came in this morning to find that our EFA box automatically updated itself overnight.
Since then, users are unable to release messages from quarantine, it looks like the release link is missing the token.
Any idea how we can fix this?

Regards,
Josh

Re: Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 01:25
by cyberwired
Can see same issue here as well

Email link comes through as http://efa.xxxxxxx.xxx.xx/cgi-bin/relea ... 9DE&token=

Page gives the following error: Error variable is empty at /var/www/cgi-bin/release-msg.cgi line 43.

If I add token=blahblah on the end, it says Error in token syntax at /var/www/cgi-bin/release-msg.cgi line 89.

Re: Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 11:01
by darky83
I see the same issue,

checking what is wrong

Re: Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 12:54
by darky83
:doh: :doh: :doh:
:violence-hammer: :violence-hammer:
Mistake in the update file :(

New updates should go fine now, if you have already updated I will push an new update as soon as possible.

Manually fix is below (login with ssh and su to root)

Code: Select all

  EFASQLPWD=`grep EFASQLPWD /etc/EFA-Config | sed 's/^.*://'`
  sed -i "/^  my(\$db_pass) =/ c\  my(\$db_pass) = '$EFASQLPWD';" /usr/lib/MailScanner/MailScanner/CustomFunctions/CustomAction.pm
  /etc/init.d/MailScanner restart

Re: Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 13:58
by buzzzo
Hi Darky.

Would be better to not hardcode pass in files and put them in an external file and let it call by the perl scripts ?

Re: Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 14:09
by darky83
That is the idea yea (and also the reason why all the passwords are set in EFA-Config)

This is an enhancement and on the todo list :-)

Re: Cannot release messages from Spam Not Delivered Email

Posted: 18 Mar 2014 21:36
by cyberwired
Thanks for the update darky, I've just done the manual mods you've mentioned, will report back if there's any further issues :)

Re: Cannot release messages from Spam Not Delivered Email

Posted: 03 Feb 2016 13:18
by tstell
i use the Version 3.0.0.8 and have a similar problem when user is pointing on the spam link:

Error variable is empty at /var/www/cgi-bin/release-msg.cgi line 53.

any idea for me???

Re: Cannot release messages from Spam Not Delivered Email

Posted: 05 Feb 2016 00:11
by shawniverson
What does your release url look like?

Re: Cannot release messages from Spam Not Delivered Email

Posted: 05 Feb 2016 06:57
by tstell
Here is an actual URL:

Re: Cannot release messages from Spam Not Delivered Email

Posted: 05 Feb 2016 21:13
by shawniverson
There is no token on that URL...is that the whole URL...i.e. the mail server/client didn't add a newline?

Re: Cannot release messages from Spam Not Delivered Email

Posted: 06 Feb 2016 17:37
by shawniverson
Also, what do you show in MailScanner.conf for the following settings...

Sign Clean Messages
Non Spam Actions
Spam Actions
High Spam Actions

Re: Cannot release messages from Spam Not Delivered Email

Posted: 08 Feb 2016 06:38
by tstell
i found the file mailscanner.conf at the location /etc/MailScanner and attached it

Re: Cannot release messages from Spam Not Delivered Email

Posted: 08 Feb 2016 23:40
by shawniverson
Ok that config looks good.

Something is wrong in the custom action function on your machine...

Thinking about how to debug this...

Re: Cannot release messages from Spam Not Delivered Email

Posted: 11 Feb 2016 22:44
by shawniverson
Try replacing this file...

/usr/lib/MailScanner/MailScanner/CustomFunctions/CustomAction.pm

From here:

https://raw.githubusercontent.com/E-F-A ... mAction.pm

Re: Cannot release messages from Spam Not Delivered Email

Posted: 15 Feb 2016 08:09
by tstell
OK, is it neccesarry to restart any Service after replacing the file???

Re: Cannot release messages from Spam Not Delivered Email

Posted: 15 Feb 2016 22:13
by shawniverson
Yeah, restart MailScanner...

Re: Cannot release messages from Spam Not Delivered Email

Posted: 22 Feb 2016 07:42
by tstell
i get the same error on new spam Messages when i klick the link, do you have another idea?

Re: Cannot release messages from Spam Not Delivered Email

Posted: 24 Jul 2017 14:06
by nicutdk
the same problem for me

can you help us


Best Regards,

Re: Cannot release messages from Spam Not Delivered Email

Posted: 27 Jul 2019 16:14
by syed.saif
Can Anyone please help me out.

"http://domain.com/cgi-bin/release-msg.c ... 270&token=

Note that if this mail has been send to multiple recipients you will
release this mail to all users."

Token number is not showing here thats why i not able to release email from these links.

Waiting for the response