On Jun/13 08:51PM, Craig Skinner wrote:
> On 2015-06-12 Fri 15:24 PM |, Joshua Lokken wrote:
> >
> > I also see, in /var/log/spamd, whenever obspamd is started:
> >
> > Jun 12 13:35:14 fusor spamd[21599]: greyreader failed (No such file or
directory)
>
> > % ll /var/db/override.txt
> > -rw-r--r--  1 _spamd  _spamd  382 Jun 12 12:39 /var/db/override.txt
>
> Maybe try these:
>
> $ ls -ld /var/db
> $ sudo su -l -s /bin/sh _spamd -c 'ls -l /var/db/override.txt;
> $ sudo su -l -s /bin/sh _spamd -c 'head /var/db/override.txt'

Ok, but let's look at those commands...

$ ls -ld /var/db
drwxr-xr-x  17 root  wheel  1024 Jun  9 23:32 /var/db

$ ls -ld /usr/local/etc
drwxr-xr-x  51 root  wheel  2560 Jun 14 20:47 /usr/local/etc

$ sudo su -l -s /bin/sh _spamd -c 'ls -l /var/db/override.txt;
Error, looks like there may be a ' missing

$ sudo su -l -s /bin/sh _spamd -c 'ls -l /var/db/override.txt'
su: unknown login: /bin/sh

$ sudo su -l -s /bin/sh _spamd -c 'head /var/db/override.txt'
su: unknown login: /bin/sh

$ man su
     -l      Simulate a full login...

However, the _spamd user does not have a login shell, so I would
expect this to fail.

I appreciate the list of commands.  Can someone advise what the
responder is trying to get at?  If someone provides a hint at what
the root cause of the issue is, I can likely find a solution.

Thanks again.


--
Joshua

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to