Roland Roberts - 2009-09-18

procmail supports per-user RC files in /etc/procmailrcs/ which I've been using for some time as a way of having mail-only (virtual) user accounts.  However, for consistency in my mail configuration, all users, virtual or real get the same thing.  However, the script has no way to specify any alternate procmailrc file and has hardcoded (the equivalent of) ~/.procmailrc.  I've "fixed" this for our site via

    -- 2009-06-10 19:52:57.000000000 -0400
    +++ 2009-09-18 16:22:46.910671722 -0400
    @@ -8,7 +8,7 @@
     if ($minfo{'usermin'}) {
    - $procmailrc = "$remote_user_info/.procmailrc";
    + $procmailrc = "/etc/procmailrcs/$remote_user_info.procmailrc";
     $includes = $userconfig{'includes'};
     else {

But the best solution would be a way to configure this either from usermin or even better from webmin.