Hi Dianne, Thank you for the swift reply.
Tried the commands you mention.. to no effect however.. :( Still @ maillog: mimedefang.pl[25993]: B8D39D49: Clamd returned error: lstat() failed: Permission denied. mimedefang.pl[25993]: B8D39D49: Problem running virus scanner: code=999, category=swerr, action=tempfail mimedefang.pl[25993]: B8D39D49: filter: tempfail=1 mimedefang[26008]: B8D39D49: Tempfailing because filter instructed us to ... and @ clamav log: -> WARNING: lstat() failed on: /var/spool/MIMEDefang/mdefang-UBuyV00/Work As a reminder, clamav user is a member of the defang group and vice versa.. -----Original Message----- From: MIMEDefang [mailto:[email protected]] On Behalf Of Dianne Skoll Sent: Thursday, November 23, 2017 5:23 PM To: [email protected] Subject: Re: [Mimedefang] Error with mimedefang + clamd On Thu, 23 Nov 2017 14:25:28 +0200 "Info @ brainwash" <[email protected]> wrote: > mimedefang with the -G option and have the clamav user as member of > the defang group. In particular, the startup parameters of both [...] > .. and I get the issues with the Work files creation as initially > mentioned, even though clamav user is a member of the defang group. > Unfortunately, I cannot run clamav under defang due to admin > restricions/policies. Try stopping MIMEDefang and running: chgrp -R defang /var/spool/MIMEDefang chmod 750 /var/spool/MIMEDefang chmod g+s /var/spool/MIMEDefang That will make /var/spool/MIMEDefang have group "defang" and set the SGID bit on the directory, meaning any directories or files created under /var/spool/MIMEDefang will also have group "defang" (and recursively down the whole tree.) Rgeards, Dianne. _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

