Cannot release messages from Spam Not Delivered Email

Report bugs and workarounds
Post Reply
vanree-josh
Posts: 3
Joined: 18 Mar 2014 00:16
Location: South Australia
Contact:

Cannot release messages from Spam Not Delivered Email

Post by vanree-josh » 18 Mar 2014 00:19

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

cyberwired
Posts: 33
Joined: 03 Jan 2014 21:57

Re: Cannot release messages from Spam Not Delivered Email

Post by cyberwired » 18 Mar 2014 01:25

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.

User avatar
darky83
Site Admin
Posts: 529
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by darky83 » 18 Mar 2014 11:01

I see the same issue,

checking what is wrong
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

User avatar
darky83
Site Admin
Posts: 529
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by darky83 » 18 Mar 2014 12:54

: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
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Re: Cannot release messages from Spam Not Delivered Email

Post by buzzzo » 18 Mar 2014 13:58

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 ?

User avatar
darky83
Site Admin
Posts: 529
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by darky83 » 18 Mar 2014 14:09

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 :-)
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

cyberwired
Posts: 33
Joined: 03 Jan 2014 21:57

Re: Cannot release messages from Spam Not Delivered Email

Post by cyberwired » 18 Mar 2014 21:36

Thanks for the update darky, I've just done the manual mods you've mentioned, will report back if there's any further issues :)

tstell
Posts: 5
Joined: 03 Feb 2016 13:12

Re: Cannot release messages from Spam Not Delivered Email

Post by tstell » 03 Feb 2016 13:18

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???

User avatar
shawniverson
Posts: 2818
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by shawniverson » 05 Feb 2016 00:11

What does your release url look like?
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

tstell
Posts: 5
Joined: 03 Feb 2016 13:12

Re: Cannot release messages from Spam Not Delivered Email

Post by tstell » 05 Feb 2016 06:57

Here is an actual URL:
Last edited by tstell on 15 Feb 2016 08:08, edited 1 time in total.

User avatar
shawniverson
Posts: 2818
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by shawniverson » 05 Feb 2016 21:13

There is no token on that URL...is that the whole URL...i.e. the mail server/client didn't add a newline?
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

User avatar
shawniverson
Posts: 2818
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by shawniverson » 06 Feb 2016 17:37

Also, what do you show in MailScanner.conf for the following settings...

Sign Clean Messages
Non Spam Actions
Spam Actions
High Spam Actions
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

tstell
Posts: 5
Joined: 03 Feb 2016 13:12

Re: Cannot release messages from Spam Not Delivered Email

Post by tstell » 08 Feb 2016 06:38

i found the file mailscanner.conf at the location /etc/MailScanner and attached it
Attachments
MailScanner.zip
(38.98 KiB) Downloaded 76 times

User avatar
shawniverson
Posts: 2818
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by shawniverson » 08 Feb 2016 23:40

Ok that config looks good.

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

Thinking about how to debug this...
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

User avatar
shawniverson
Posts: 2818
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by shawniverson » 11 Feb 2016 22:44

Try replacing this file...

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

From here:

https://raw.githubusercontent.com/E-F-A ... mAction.pm
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

tstell
Posts: 5
Joined: 03 Feb 2016 13:12

Re: Cannot release messages from Spam Not Delivered Email

Post by tstell » 15 Feb 2016 08:09

OK, is it neccesarry to restart any Service after replacing the file???

User avatar
shawniverson
Posts: 2818
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Cannot release messages from Spam Not Delivered Email

Post by shawniverson » 15 Feb 2016 22:13

Yeah, restart MailScanner...
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

tstell
Posts: 5
Joined: 03 Feb 2016 13:12

Re: Cannot release messages from Spam Not Delivered Email

Post by tstell » 22 Feb 2016 07:42

i get the same error on new spam Messages when i klick the link, do you have another idea?

nicutdk
Posts: 9
Joined: 24 Jul 2017 12:57

Re: Cannot release messages from Spam Not Delivered Email

Post by nicutdk » 24 Jul 2017 14:06

the same problem for me

can you help us


Best Regards,

syed.saif
Posts: 2
Joined: 15 Jun 2019 03:09

Re: Cannot release messages from Spam Not Delivered Email

Post by syed.saif » 27 Jul 2019 16:14

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

Post Reply