Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Dianne Skoll
On Fri, 24 Nov 2017 15:53:44 +0200 "Info @ brainwash" wrote: > Hence, without the -d parameter, the issue is that the work folders > are removed before clamd has a chance to scan them. No, that is absolutely NOT the case. Something else has changed on your system in the interim. Take out the -

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Info @ brainwash
@Paul: With clamd scanning disabled, mimedefang scans for spam using spamassassin and adds the relevant headers into the e-mail messages. With the -d option, MIMEDefang does create work folders, e.g. : drwxr-x--- 4 defang defang 4096 Nov 24 14:12 mdefang-UBMc800 drwxr-x--- 2 defang defang 4096 N

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Paul Murphy
> I started mimedefang with the -D option, as indicated. However, no working > directories within /var/spool/MIMEDefang/ > were created and, as a result, I get in maillog (again): > >clamd: WARNING: lstat() failed on: /var/spool/MIMEDefang/mdefang-UBKLc00/Work Did you check that MIMEDefang was

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Info @ brainwash
@Paul Thank you for your time taken to compile the list of steps regarding this issue. Results.. (1): /var/spool/MIMEDefang has the following permissions after Dianne's recommendations: drwxr-s--- 4 defang defang 4096 MIMEDefang I started mimedefang with the -D option, as indicated. How

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Paul Murphy
If your policy permits it, the next steps I would take would be: 1. Enable the "-D" option in MIMEDefang to leave the spool directories in place after scanning, so that you have an example to work with. Restart MIMEDefang to make this active. You only need to have this enabled until you

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Info @ brainwash
@Richard: Apparmor is not installed.. SELinux has been disabled.. -Original Message- From: Richard Laager [mailto:rlaa...@wiktel.com] Sent: Friday, November 24, 2017 12:00 PM To: Info @ brainwash Cc: mimedefang@lists.roaringpenguin.com Subject: Re: [Mimedefang] Error with mimedefang + cl

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Richard Laager
Does your system have apparmor or SELinux that could be blocking access separately from filesystem permissions? -- Richard ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visi

Re: [Mimedefang] Error with mimedefang + clamd

2017-11-24 Thread Info @ brainwash
@Paul/Dianne Output of the command you asked for: 8510 clamscan clamscan /usr/bin/freshclam -d -c 4 9697 clamscan clamscan /usr/sbin/clamd -c /etc/clamd.d/scan.conf 15710 root root /bin/bash /usr/share/clamav/freshclam-sleep Regarding clamav config, yes.. AllowSupplementaryGroups in clam