<div dir="ltr">Does that mean they cleared?<div><br></div><div style>I also use a third group called mtagroup for this. I add both postfix and clamav to that group and in MailScanner.conf use the third group under Run As Group. (WIth permission 0660) This allows both postfix and clamav to access the files with no problem.</div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 9:20 PM, Robert Lopez <span dir="ltr">&lt;<a href="mailto:rlopezcnm@gmail.com" target="_blank">rlopezcnm@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt; On Fri, May 17, 2013 at 10:52 AM, Jerry Benton<br>
</div><div class="im">&gt;&gt; sed -i &#39;s:#!/usr/bin/perl -I:#!/usr/bin/perl -U -I:g&#39; /usr/sbin/MailScanner<br>
<br>
</div>[root@mg08 ~]# service clamd start<br>
Starting Clam AntiVirus Daemon:                            [  OK  ]<br>
[root@mg08 ~]# service MailScanner start<br>
Starting MailScanner and postfix:<br>
         postfix:                                          [  OK  ]<br>
         MailScanner:                                      [  OK  ]<br>
[root@mg08 ~]# find /var/spool -group clamav<br>
/var/spool/MailScanner/incoming<br>
/var/spool/MailScanner/incoming/18338<br>
/var/spool/MailScanner/incoming/18315<br>
[root@mg08 ~]# find /var/spool -group clamav -exec chgrp postfix {} \;<br>
[root@mg08 ~]# find /var/spool -group clamav<br>
[root@mg08 ~]# sed -i &#39;s:#!/usr/bin/perl -I:#!/usr/bin/perl -U -I:g&#39;<br>
/usr/sbin/MailScanner<br>
[root@mg08 ~]# head -1 /usr/sbin/MailScanner<br>
#!/usr/bin/perl -U -I/usr/lib/MailScanner<br>
[root@mg08 ~]# service clamd start<br>
Starting Clam AntiVirus Daemon:                            [  OK  ]<br>
[root@mg08 ~]# service MailScanner start<br>
Starting MailScanner and postfix:<br>
         postfix:                                          [  OK  ]<br>
         MailScanner:                                      [  OK  ]<br>
[root@mg08 ~]# find /var/spool -group clamav<br>
/var/spool/MailScanner/incoming<br>
/var/spool/MailScanner/incoming/18589<br>
<br>
--<br>
Robert Lopez<br>
<div class="HOEnZb"><div class="h5">--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div><br>--<br></div>Jerry Benton<br></div>Mailborder Systems<br><a href="http://www.mailborder.com" target="_blank">www.mailborder.com</a><br>
</div>
</div>