Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: George on April 09, 2003, 11:07:54 PM
-
Is there a relatively easy way to switch all users over to procmail in one fell swoop rather than each user logging in to user-manager and changing to procmail there?
I want all users using spamassassin and instead of instructing each user to use user-manager to turn on procmail, I just want to switch all users to procmail myself.
Thanks,
George
-
I just did some messing around with this. These are what the panel appears to set in the database for each user. FYI, you can add fragments to /etc/e-smith/templates-user-custom/.procmailrc/ to make them show up for everyone automatically.
/sbin/e-smith/db processmail set username settings
/sbin/e-smith/db processmail setprop username deldups no
/sbin/e-smith/db processmail setprop username loglevel some
/sbin/e-smith/db processmail setprop username mode normal
/sbin/e-smith/db processmail setprop username spamfilter disabled
/sbin/e-smith/db accounts setprop username EmailForward procmail
/sbin/e-smith/signal-event user-modprocmail username