Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


procmailrc location/name

  • Roland Roberts
    Roland Roberts

    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 procmail-lib.pl 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

        -- procmail-lib.pl.~1~ 2009-06-10 19:52:57.000000000 -0400
        +++ procmail-lib.pl 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.