Re: Running sievec as user vmail

2017-04-07 Thread Robert Moskowitz

thanks

On 04/07/2017 08:24 AM, Florian Beer | 42dev wrote:

You could give

# su -c MYSIEVESCRIPT vmail

a try.

Also: # man su


Cheers, Florian
_
42dev e. U. - web solutions & hosting services
http://42dev.eu

On 2017-04-07 14:19, Robert Moskowitz wrote:

My sieve problem ended up a permissions problem.  I ran sievec as root
and .svbin needs vmail:mail ownership.

I could always just add the chown command to my process, but I wonder
if there is some 'clean' way to run sievec as user vmail while logged
in as root?

thanks




Re: Running sievec as user vmail

2017-04-07 Thread Florian Beer | 42dev

You could give

# su -c MYSIEVESCRIPT vmail

a try.

Also: # man su


Cheers, Florian
_
42dev e. U. - web solutions & hosting services
http://42dev.eu

On 2017-04-07 14:19, Robert Moskowitz wrote:

My sieve problem ended up a permissions problem.  I ran sievec as root
and .svbin needs vmail:mail ownership.

I could always just add the chown command to my process, but I wonder
if there is some 'clean' way to run sievec as user vmail while logged
in as root?

thanks