On emails that arrive into a users inbox and they want to report them as spam, but they get this message. Is there a fix?
----
UNTRUSTED NETWORK: Message not reported as Spam
Our system indicates that you are on an external or untrusted network. If your mail administration stores all mail in quarantine, you can access your spam quarantine to submit the message as spam. You can also wait and submit the message as spam from your internal or trusted network later.
----
UNTRUSTED NETWORK: Message not reported as Spam
-
- Posts: 26
- Joined: 28 May 2015 01:55
Re: UNTRUSTED NETWORK: Message not reported as Spam
Login with SSH to the box
In EFA-Configure go to the option 'Spam Settings' -> 'Trusted Networks'
In EFA-Configure go to the option 'Spam Settings' -> 'Trusted Networks'
Version eFa 4.x now available!
-
- Posts: 26
- Joined: 28 May 2015 01:55
Re: UNTRUSTED NETWORK: Message not reported as Spam
As per attached jpg, I have 192.168.0.0 with 255.255.0.0 and 10.0.0.0 with 255.0.0.0 which covers our entire network (satellite offices IPsec in and wanted to cover them all).
- Attachments
-
- Trusted Networks.jpg (73.86 KiB) Viewed 7988 times
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: UNTRUSTED NETWORK: Message not reported as Spam
Are your users trying to submit from a cell phone (external network)?
-
- Posts: 26
- Joined: 28 May 2015 01:55
Re: UNTRUSTED NETWORK: Message not reported as Spam
No, this does it to me sitting on a local machine, I have multiple subnets attached to my box but all within the 192.168.0.0/16 and 10.0.0.0/8 subnet.
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: UNTRUSTED NETWORK: Message not reported as Spam
For some reason, release-msg.cgi is not matching your host address range....
Let's do a test....
Copy and paste this code into a file, such as test.cgi. Place the file in /var/www/cgi-bin .
Now, visit this script using your browser and report the results....
http://myefa.mydomain/cgi-bin/test.cgi
or
https://myefa.ydomain/cgi-bin/test.cgi
Let's do a test....
Code: Select all
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
use CGI qw(:standard);
use Net::Netmask;
print "Content-type: text/html \n\n";
open(FILE, '/etc/sysconfig/EFA_trusted_networks') or die ("Trusted Networks File Missing");
@trustednetworks = <FILE>;
close (FILE);
if(@trustednetworks) {
foreach (@trustednetworks) {
@items = split(/ /);
$ip = @items[0];
print "$ip ";
$mask = @items[1];
print "$mask <br/>";
$block = new Net::Netmask($ip,$mask);
print "$ENV{REMOTE_ADDR} <br/>";
if ($block->match($ENV{REMOTE_ADDR})) {
print "IP MATCHES SUBNET <br/>";
} else {
print "IP DOES NOT MATCH SUBNET <br/>";
}
}
} else {
print "No Trusted Networks found";
}
Code: Select all
sudo chmod 755 /var/www/cgi-bin/test.cgi
http://myefa.mydomain/cgi-bin/test.cgi
or
https://myefa.ydomain/cgi-bin/test.cgi
-
- Posts: 26
- Joined: 28 May 2015 01:55
Re: UNTRUSTED NETWORK: Message not reported as Spam
Here you go.
10.0.0.0 255.0.0.0
192.168.1.80
IP DOES NOT MATCH SUBNET
192.168.0.0 255.255.0.0
192.168.1.80
IP MATCHES SUBNET
I also had a bug report in on a name change to the server not properly working, see viewtopic.php?f=13&t=1091
When this was resolved it resolved the report spam from the email as well.
Thank you for the help, that test.cgi will come in handy if the problem happens again.
10.0.0.0 255.0.0.0
192.168.1.80
IP DOES NOT MATCH SUBNET
192.168.0.0 255.255.0.0
192.168.1.80
IP MATCHES SUBNET
I also had a bug report in on a name change to the server not properly working, see viewtopic.php?f=13&t=1091
When this was resolved it resolved the report spam from the email as well.
Thank you for the help, that test.cgi will come in handy if the problem happens again.
Re: UNTRUSTED NETWORK: Message not reported as Spam
I have the same problem and run the script:
172.16.0.0 255.255.0.0
172.16.0.38
IP DOES NOT MATCH SUBNET
This looks like a bug: it should be trusted but it isn't!
172.16.0.0 255.255.0.0
172.16.0.38
IP DOES NOT MATCH SUBNET
This looks like a bug: it should be trusted but it isn't!
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: UNTRUSTED NETWORK: Message not reported as Spam
Interesting...I wonder if the 0 is throwing it...
Can't seem to reproduce on a class A...going to have to set up a test environment...
Can't seem to reproduce on a class A...going to have to set up a test environment...
Re: UNTRUSTED NETWORK: Message not reported as Spam
I deleted the whole list and was playing with it. After some time I noticed that this is working:
172.16.0.6255.255.255.255
172.16.0.38
IP DOES NOT MATCH SUBNET
192.168.2.254 255.255.255.255
172.16.0.38
IP DOES NOT MATCH SUBNET
172.16.0.0 255.255.255.0
172.16.0.38
IP MATCHES SUBNET
192.168.2.0 255.255.255.0
172.16.0.38
IP DOES NOT MATCH SUBNET
Strange, I cannot understand.
172.16.0.6255.255.255.255
172.16.0.38
IP DOES NOT MATCH SUBNET
192.168.2.254 255.255.255.255
172.16.0.38
IP DOES NOT MATCH SUBNET
172.16.0.0 255.255.255.0
172.16.0.38
IP MATCHES SUBNET
192.168.2.0 255.255.255.0
172.16.0.38
IP DOES NOT MATCH SUBNET
Strange, I cannot understand.