[FIXED] 3.0.1.2 Breaks ClamAV Status Page
[FIXED] 3.0.1.2 Breaks ClamAV Status Page
mailscanner/clamav_status.php show nothing after upgrade.
Tested right before and was working.
Thanks,
Mark
Tested right before and was working.
Thanks,
Mark
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.1.2 Breaks ClamAV Status Page
Working on a fix...looks like a permissions issue with the way MailScanner handles the incoming directory now.
https://github.com/E-F-A/v3/issues/308
https://github.com/E-F-A/v3/issues/308
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.1.2 Breaks ClamAV Status Page
To fix this and other permission issues:
/etc/MailScanner/MailScanner.conf
Reboot the system
This is big enough of an issue I am going to get a fix ready and release another update to resolve.
/etc/MailScanner/MailScanner.conf
Code: Select all
Incoming Work Group = mtagroup
Incoming Work Permissions = 0660
Code: Select all
sudo chown -R postfix:mtagroup /var/spool/MailScanner/incoming
sudo chmod -R ug+rwx /var/spool/MailScanner/incoming
sudo usermod apache -G mtagroup
This is big enough of an issue I am going to get a fix ready and release another update to resolve.
-
- Posts: 28
- Joined: 31 May 2015 20:37
Re: 3.0.1.2 Breaks ClamAV Status Page
There are more problems comming up...Quaratine is also not accessable
could you please provide patch script?
thx
could you please provide patch script?
thx
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.1.2 Breaks ClamAV Status Page
I am not seeing issues with the quarantine. What are your permissions and owners on /var/spool/MailScanner/quarantine?mac.linux.free wrote:There are more problems comming up...Quaratine is also not accessable
could you please provide patch script?
thx
I have 0755 with postfix:apache as the owner/group.
-
- Posts: 28
- Joined: 31 May 2015 20:37
Re: 3.0.1.2 Breaks ClamAV Status Page
for now I fixed it by applying your chown and chmod also on the quaratine dir...now mails are flowing again
Re: 3.0.1.2 Breaks ClamAV Status Page
I have quarantine not working also. Did what mac.linux.free said and now it works.
Re: 3.0.1.2 Breaks ClamAV Status Page
Same here, updated to 3.0.1.2 followed by reboot. Mailflow was working flawless afterwards, but over midnight messages started building up in Inbound Queue. Changed settings in MailScanner.conf and issued the commands as stated by Shawn (rebooted afterwards) but this did not resolve the issue. Issuing Shawn's commands for the quarantine folder followed by another reboot seemed to have solved the mailflow issue. All queued email has been deliverd without problems and the queues do not build up anymore.
It would be nice to have an update about this because at this moment I don't know if the current settings/permissions are in a "supported" state. Thanks in advance.
It would be nice to have an update about this because at this moment I don't know if the current settings/permissions are in a "supported" state. Thanks in advance.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.1.2 Breaks ClamAV Status Page
For those having this issue, please respond with the following information so that I can determine the cause.
In /etc/MailScanner/MailScanner.conf, does your quarantine settings look like this?
Does your /var/spool/MailScanner/quarantine look like this?
And inside the quarantine area...
https://github.com/E-F-A/v3/issues/311
In /etc/MailScanner/MailScanner.conf, does your quarantine settings look like this?
Code: Select all
Quarantine User = postfix
Quarantine Group = apache
Quarantine Permissions = 0660
Code: Select all
drwxr-xr-x. 4 postfix apache 4096 Sep 4 03:47 quarantine
Code: Select all
drwxrwx--- 3 postfix apache 4096 Sep 4 03:47 20160904
Re: 3.0.1.2 Breaks ClamAV Status Page
Hi Shawn,
Thanks for the quick reply. I will list the requested information below, please be aware that I changed the permissions on the quarantine folder with your commands above (but for the quarantine folder), so my permissions could be marked 'dirty'.
Thanks for the quick reply. I will list the requested information below, please be aware that I changed the permissions on the quarantine folder with your commands above (but for the quarantine folder), so my permissions could be marked 'dirty'.
Code: Select all
Quarantine User = postfix
Quarantine Group = apache
Quarantine Permissions = 0660
Code: Select all
drwxrwxr-x. 33 postfix apache 4096 Sep 5 10:22 quarantine
Code: Select all
drwxrwx--- 7 postfix mtagroup 4096 Sep 5 10:27 20160905
Re: 3.0.1.2 Breaks ClamAV Status Page
Code: Select all
Quarantine User = postfix
Quarantine Group = apache
Quarantine Permissions = 0660
Code: Select all
drwxrwxr-x. 32 postfix mtagroup 4096 Sep 5 11:24 quarantine
Code: Select all
drwxrwx--- 5 postfix mtagroup 4096 Aug 7 08:29 20160807
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: 3.0.1.2 Breaks ClamAV Status Page
Thanks!!
shawniverson wrote:Working on a fix...looks like a permissions issue with the way MailScanner handles the incoming directory now.
https://github.com/E-F-A/v3/issues/308
Re: [FIXED] 3.0.1.2 Breaks ClamAV Status Page
Thanks for this quick solution! Carried out the update without any problems.
-
- Posts: 3
- Joined: 04 Jan 2017 14:38
Re: [FIXED] 3.0.1.2 Breaks ClamAV Status Page
Hello this week we updated our server from version 3.0.0.9 to 3.0.1.5 after a kernel update.
We experience the same problem, i thought this problem was gone in latrer versions than 3.0.1.3?
We also didn't get our spamreports, today we rebooted the server and than they came back again, but still we can not login tot spamfilter portal.
This is the link we always used, perhaps something had changed?
https://server.XXXXX.XX/mailscanner/status.php
We experience the same problem, i thought this problem was gone in latrer versions than 3.0.1.3?
We also didn't get our spamreports, today we rebooted the server and than they came back again, but still we can not login tot spamfilter portal.
This is the link we always used, perhaps something had changed?
https://server.XXXXX.XX/mailscanner/status.php
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: [FIXED] 3.0.1.2 Breaks ClamAV Status Page
That sounds like a different problem, i.e. a broken mailwatch. You may want to start a new thread.
Re: [FIXED] 3.0.1.2 Breaks ClamAV Status Page
This week I updated E.F.A. 3.0.1.5 to 3.0.1.8 and still had the problem with not showing the ClamAV Status Page
'https://server.XXXXX.XX/mailscanner/clamav_status.php'
I found an error in the 'error.log' in '/var/log/httpd/' about not able to create clamav-tmp directory
In the '/var/spool/MailScanner/incoming/' directory there was a file with the same name present which caused the problem.
I removed the file clamav-tmp, restarted E.F.A. and the problem was solved.
'https://server.XXXXX.XX/mailscanner/clamav_status.php'
I found an error in the 'error.log' in '/var/log/httpd/' about not able to create clamav-tmp directory
In the '/var/spool/MailScanner/incoming/' directory there was a file with the same name present which caused the problem.
I removed the file clamav-tmp, restarted E.F.A. and the problem was solved.