<div dir="ltr">I didn't think I was running apparmor, but I thought I should double check.  Normally I delete this after install.<div><br></div><div><div>root@mailscanner:~# dpkg -l |grep apparm</div><div>ii  apparmor                              2.10.95-0ubuntu2.5                                   amd64        user-space parser utility for AppArmor</div><div>ii  libapparmor-perl                      2.10.95-0ubuntu2.5                                   amd64        AppArmor library Perl bindings</div><div>ii  libapparmor1:amd64                    2.10.95-0ubuntu2.5                                   amd64        changehat AppArmor library</div></div><div><br></div><div><br></div><div>but now if I goto remove it it wants to uninstall mysql as well!  I'll disable it and see if that keeps things running!  </div><div><br></div><div>Thanks!</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 21, 2016 at 11:21 AM, Mark Sapiro <span dir="ltr"><<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/21/2016 04:37 AM, Jason Waters wrote:<br>
> I would tend to agree...I just can't find where!  I have everything set<br>
> as postfix.  All the permissions seem to still be postfix.  Do I need to<br>
> run clamd or spamassassin as postfix?<br>
<br>
<br>
</span>You said you have in /etc/group<br>
postfix:x:117:clamav,www-data,<wbr>mail<br>
<br>
I.e. clamav is in the postfix group. If you have<br>
<br>
User clamav<br>
<br>
in /etc/clamav/clamd.conf and<br>
<span class=""><br>
Incoming Work Permissions = 0660<br>
<br>
</span>in MailScanner.conf, that "should" be OK. As Shawn suggests, are you<br>
running any security manager like SELinux or apparmor?<br>
<span class=""><br>
<br>
> Can I turn the logging up so I can<br>
> see what is actually happening?<br>
<br>
<br>
</span>Unfortunately no. You have to go through the code in<br>
/usr/share/MailScanner/perl/<wbr>MailScanner/Message.pm and manually add<br>
logging statements.<br>
<br>
There might possibly be something in some other system log. Given<br>
something like<br>
<span class=""><br>
Dec 19 10:31:05 mailscanner MailScanner[2718]: HTML disarming died,<br>
status = 13<br>
<br>
</span>you could<br>
<br>
sudo zgrep -r 'Dec 19 10:31:0' /var/log<br>
<br>
(I intentionally dropped the 5 from 05) to see if anything interesting<br>
is logged in that time frame.<br>
<br>
Note that the PID that died is not 2718 in this case. The process forks<br>
and 2718 is the parent while the process that died is the child.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Mark Sapiro <<a href="mailto:mark@msapiro.net">mark@msapiro.net</a>>        The highway is for gamblers,<br>
San Francisco Bay Area, California    better use your sense - B. Dylan<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
</div></div></blockquote></div><br></div>