[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: piping to programs



> Intersting. I switched my home machine switched to zmailer for about half
> a day before I switched it back to Smail because of problems piping to
> programs (also mailing list related). But it says piping to programs is
> not allowed instead of no such user.

  I've had that too. I've changed the line in the source that prevents
userid nobody from piping to programs. Dumb, but effective.

--- transports/mailbox/mailbox.c~       Thu Aug 22 10:12:08 1996
+++ transports/mailbox/mailbox.c        Fri Sep  6 13:34:13 1996
@@ -811,7 +811,8 @@
        switch (*(rp->addr->user)) {
        case TO_PIPE:           /* pipe to program */
          /* one should disallow this if uid == nobody? */
-         if (uid == nobody) {
+         /*      if (uid == nobody) {*/
+         if(0) { /* jwr */
            notaryreport("?program?", "failed",
                         "5.2.1 (Mail to program disallowed w/o proper privileges)",
                         "550 (Mail to program disallowed w/o proper privileges)");


J.