#!/bin/sh NUM=$(/sbin/e-smith/db configuration getprop dovecot KeepLogFiles) exec \ /usr/local/bin/setuidgid smelog \ /usr/local/bin/multilog t s5000000 \ n${NUM:-10} \ /var/log/dovecot/