Cannot release messages from Spam Not Delivered Email
-
- Posts: 3
- Joined: 18 Mar 2014 00:16
- Location: South Australia
- Contact:
Cannot release messages from Spam Not Delivered Email
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
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
-
- Posts: 33
- Joined: 03 Jan 2014 21:57
Re: Cannot release messages from Spam Not Delivered Email
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.
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
I see the same issue,
checking what is wrong
checking what is wrong
Version eFa 4.x now available!
Re: Cannot release messages from Spam Not Delivered Email
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.x now available!
Re: Cannot release messages from Spam Not Delivered Email
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 ?
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
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
This is an enhancement and on the todo list
Version eFa 4.x now available!
-
- Posts: 33
- Joined: 03 Jan 2014 21:57
Re: Cannot release messages from Spam Not Delivered Email
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
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???
Error variable is empty at /var/www/cgi-bin/release-msg.cgi line 53.
any idea for me???
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cannot release messages from Spam Not Delivered Email
What does your release url look like?
Re: Cannot release messages from Spam Not Delivered Email
Here is an actual URL:
Last edited by tstell on 15 Feb 2016 08:08, edited 1 time in total.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cannot release messages from Spam Not Delivered Email
There is no token on that URL...is that the whole URL...i.e. the mail server/client didn't add a newline?
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cannot release messages from Spam Not Delivered Email
Also, what do you show in MailScanner.conf for the following settings...
Sign Clean Messages
Non Spam Actions
Spam Actions
High Spam Actions
Sign Clean Messages
Non Spam Actions
Spam Actions
High Spam Actions
Re: Cannot release messages from Spam Not Delivered Email
i found the file mailscanner.conf at the location /etc/MailScanner and attached it
- Attachments
-
- MailScanner.zip
- (38.98 KiB) Downloaded 1291 times
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cannot release messages from Spam Not Delivered Email
Ok that config looks good.
Something is wrong in the custom action function on your machine...
Thinking about how to debug this...
Something is wrong in the custom action function on your machine...
Thinking about how to debug this...
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cannot release messages from Spam Not Delivered Email
Try replacing this file...
/usr/lib/MailScanner/MailScanner/CustomFunctions/CustomAction.pm
From here:
https://raw.githubusercontent.com/E-F-A ... mAction.pm
/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
OK, is it neccesarry to restart any Service after replacing the file???
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cannot release messages from Spam Not Delivered Email
Yeah, restart MailScanner...
Re: Cannot release messages from Spam Not Delivered Email
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
the same problem for me
can you help us
Best Regards,
can you help us
Best Regards,
Re: Cannot release messages from Spam Not Delivered Email
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
"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