Centos 7 + Postfix + clamd at scan

Shawn Iverson iversons at rushville.k12.in.us
Mon Oct 9 19:45:44 UTC 2017


What happens if you create a tmpfiles.d config like the one I shared?

On Oct 9, 2017 3:38 PM, "Tracy Greggs" <mailscanner-list at okla.com> wrote:

When the VM is rebooted, it re-creates /var/run/clamd.scan/



drwx--x---   2 clamscan       clamscan         80 Oct  9 14:34 clamd.scan







*From:* MailScanner [mailto:mailscanner-bounces+mailscanner-list=okla.com@
lists.mailscanner.info] *On Behalf Of *Shawn Iverson
*Sent:* Monday, October 9, 2017 2:13 PM
*To:* MailScanner Discussion

*Subject:* Re: Centos 7 + Postfix + clamd at scan



Wait, that's a directory, my bad.  socket would be inside.



On Mon, Oct 9, 2017 at 3:11 PM, Shawn Iverson <iversons at rushville.k12.in.us>
wrote:

There is no rw on the socket for the mtagroup.



On Mon, Oct 9, 2017 at 3:10 PM, Mark Sapiro <mark at msapiro.net> wrote:

On 10/09/2017 12:01 PM, Tracy Greggs wrote:
> So what can be done about clamd at scan service creating /var/run/clamd.scan
folder as follows:
>
> drwx--x---   2 clamscan       mtagroup         80 Oct  7 16:07 clamd.scan
>
> The group permissions is creates the folder with are clearly a problem.


Why is this a problem?

If MailScanner is running as a member of the mtagroup group, it can
search that directory for the /var/run/clamd.scan/clamd.sock socket and
as long as it has rw permission on the socket, there should be no problem.

--
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner





-- 

Shawn Iverson, CETL

Director of Technology

Rush County Schools

765-932-3901 x271 <(765)%20932-3901>

iversons at rushville.k12.in.us







-- 

Shawn Iverson, CETL

Director of Technology

Rush County Schools

765-932-3901 x271 <(765)%20932-3901>

iversons at rushville.k12.in.us




-- 
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
<#m_6474943366760609821_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-- 
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.



--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171009/529e59b2/attachment.html>


More information about the MailScanner mailing list