I did the following and it worked:

su -s /bin/bash clamav
cd /var/spool/MIMEDefang
cat mimedefang-multiplexor.pid

So clamav user is able to look at defang's directory but clamd still can't if mimedefang calls it to do a virus check.

On 10/13/2014 4:54 PM, Les Mikesell wrote:
On Mon, Oct 13, 2014 at 4:46 PM, Cliff Hayes <[email protected]> wrote:
Two problems:

a) the shell for clamav is set to /sbin/nologin so I can't su to it ...
should I change the shell?

You can do: "su -s /bin/bash clamav'.

b) the email files clamd is trying to look at never stay on the server for
more than a second or two.

At least see if you can access anything that needs the defang group.
If it doesn't work manually, then there group is set up wrong.  If it
does, something must be wrong with the clamd startup that it isn't
picking up the group membership.

_______________________________________________
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

Reply via email to