Hey all,
I'm having an issue with the safe and bad sites conf files (phishing.safe.sites.conf custom etc.). Maybe there's a better way of doing this or I'm doing it wrong. I've added dropbox to the safe list, but because it's in the bad list it doesn't work. If I remove it from the bad list, then the phishing flags stop. Removing dropbox (and others) from the bad list isn't permanent, so this isn't a solution.
I would've thought adding to the custom safe list would take precedence over the bad list. Is that correct?... Otherwise, is there another way to do this?
Thanks in advance for any help
Does MailScnner safe sites conf take prededence over bad sites?
- shawniverson
- Posts: 3754
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Does MailScnner safe sites conf take prededence over bad sites?
After you add to the custom safe sites list, did you run ?
Code: Select all
ms-update-phishing
Re: Does MailScnner safe sites conf take prededence over bad sites?
Hello,.
I tried running ms-update-phishing but I got permission denied and update failed errors.
I also tried running as root with same errors. I've pasted the output below.
Thanks for your help
[admin@efauser ~]$ ms-update-phishing
Updating using curl failed, trying wget.
Trying wget....
phishing.bad.sites.conf.master.gz: Permission denied
rm: cannot remove ‘/etc/MailScanner/phishing.bad.sites.conf.master’: Permission denied
The curl/wget download of the bad phishing site master file failed. Removing whatever was downloaded.
/usr/sbin/ms-update-phishing: line 204: phishing.bad.sites.conf.new: Permission denied
rm: cannot remove ‘phishing.bad.sites.conf’: Permission denied
mv: cannot stat ‘phishing.bad.sites.conf.new’: No such file or directory
chmod: changing permissions of ‘phishing.bad.sites.conf’: Operation not permitted
Trying wget....
phishing.safe.sites.conf.master.gz: Permission denied
The curl/wget download of the safe phishing site master file failed. Removing whatever was downloaded.
The phishing safe sites master file does not exist or is not readable. Update failed!
I tried running ms-update-phishing but I got permission denied and update failed errors.
I also tried running as root with same errors. I've pasted the output below.
Thanks for your help
[admin@efauser ~]$ ms-update-phishing
Updating using curl failed, trying wget.
Trying wget....
phishing.bad.sites.conf.master.gz: Permission denied
rm: cannot remove ‘/etc/MailScanner/phishing.bad.sites.conf.master’: Permission denied
The curl/wget download of the bad phishing site master file failed. Removing whatever was downloaded.
/usr/sbin/ms-update-phishing: line 204: phishing.bad.sites.conf.new: Permission denied
rm: cannot remove ‘phishing.bad.sites.conf’: Permission denied
mv: cannot stat ‘phishing.bad.sites.conf.new’: No such file or directory
chmod: changing permissions of ‘phishing.bad.sites.conf’: Operation not permitted
Trying wget....
phishing.safe.sites.conf.master.gz: Permission denied
The curl/wget download of the safe phishing site master file failed. Removing whatever was downloaded.
The phishing safe sites master file does not exist or is not readable. Update failed!
Re: Does MailScnner safe sites conf take prededence over bad sites?
Hi..
ms-update-phishing works for me to update phishing sites
Could you please check file permission on that /etc/MailScanner directory
You may delete that phishing.bad.sites.conf.master.gz file and run ms-update-phishing again
Rgds
ms-update-phishing works for me to update phishing sites
Could you please check file permission on that /etc/MailScanner directory
Code: Select all
-rw-r--r--. 1 root root 1523182 Aug 18 19:55 phishing.bad.sites.conf
-rw-r--r--. 1 root root 1522982 Aug 18 19:55 phishing.bad.sites.conf.master
-rw-r--r--. 1 root root 1522982 Aug 18 19:55 phishing.bad.sites.conf.master.backup
-rw-r--r--. 1 root root 200 Jun 12 17:47 phishing.bad.sites.custom
-rw-r--r--. 1 root root 21570 Aug 18 19:55 phishing.safe.sites.conf
-rw-r--r--. 1 root root 21367 Aug 18 19:55 phishing.safe.sites.conf.master
-rw-r--r--. 1 root root 21367 Aug 18 19:55 phishing.safe.sites.conf.master.backup
-rw-r--r--. 1 root root 203 Jun 12 17:47 phishing.safe.sites.custom
Rgds
Re: Does MailScnner safe sites conf take prededence over bad sites?
The file permissions were all fine. And after deleting the phishing.bad.sites.conf.master.gz file and running the update again, it worked.
Thanks for your help
Thanks for your help