Hi all,
Me again, the annoying newbie.
A spam came through eFa today so I clicked on the link in the footer and was presented with the following page:
Error variable is empty at /var/www/cgi-bin/learn-msg.cgi line 51
I have checked learn-msg.cgi line 51 is the if below:
open(FILE, '/etc/sysconfig/EFA_trusted_networks') or die ("Trusted Networks Fil$
@trustednetworks = <FILE>;
close (FILE);
if ($id eq "" ){
die "Error variable is empty";
}
That's about as far as I can get as my CGI is slightly worse than my ADA (in other words really poor).
Can anyone suggest anything?
Thanks
PJ
Unable to mark mails as Spam from Footer
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to mark mails as Spam from Footer
What does the link look like? Do you have a sample message?
Re: Unable to mark mails as Spam from Footer
The footer looks like this:
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.
Click here to report this message as spam.
http://spam.pipjo.co.uk/cgi-bin/learn-m ... 08cab565e4
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.
Click here to report this message as spam.
http://spam.pipjo.co.uk/cgi-bin/learn-m ... 08cab565e4
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to mark mails as Spam from Footer
That id looks fine in that url. I'm a bit confused.
Re: Unable to mark mails as Spam from Footer
It's doing the same for every message I try and block from the footer.
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to mark mails as Spam from Footer
To rule out that something is happening to the url in your mail client...
Try copying the url and pasting it into a browser tab. Any difference?
Try copying the url and pasting it into a browser tab. Any difference?
Re: Unable to mark mails as Spam from Footer
Same both ways. If you want to have a go with it feel free to use this link as I'm trying to block the sender anyway.
http://spam.pipjo.co.uk/cgi-bin/learn-m ... e1281a8e50
Thanks for your help
PJ
http://spam.pipjo.co.uk/cgi-bin/learn-m ... e1281a8e50
Thanks for your help
PJ
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to mark mails as Spam from Footer
I see your problem, the url is getting redirected to port 5272, and the parameters are getting dropped.
If I prefix the port to the address before hitting, it works.
You need to modify the inline sig template to include the non-standard port after the hostname.
If I prefix the port to the address before hitting, it works.
You need to modify the inline sig template to include the non-standard port after the hostname.
Re: Unable to mark mails as Spam from Footer
Ah, that makes sense. Will update that in a bit. Thanks again for all your help.
It takes a special type of person to give up their free time to help complete strangers, we're lucky you're one of them.
It takes a special type of person to give up their free time to help complete strangers, we're lucky you're one of them.
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to mark mails as Spam from Footer
I think I'll frame that reply