[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Q] meaning of (local pipe.foo ...) calls in aliases.cf
- To: zmailer@nic.funet.fi
- Subject: [Q] meaning of (local pipe.foo ...) calls in aliases.cf
- From: Ambrose Li <a.c.li@ieee.org>
- Date: Sun, 29 Dec 2002 02:34:42 -0500
- Mail-Followup-To: Ambrose Li <a.c.li@ieee.org>, zmailer@nic.funet.fi
- Original-Recipient: rfc822;zmailer-log@nic.funet.fi
- Reply-To: Ambrose Li <a.c.li@ieee.org>
- Sender: zmailer-owner@nic.funet.fi
- User-Agent: Mutt/1.2.5i
Hello,
I am trying to hack aliases.cf to recognize queue names for
my freshly-installed ticketing system (RT), and I find that
I don't understand what I am copying.
I managed to copy-and-paste and arrive at something like this:
# Recognize foo-{correspond,comment}@$mydomain
# as an RT correspondance/comment for queue foo
([-A-Za-z0-9_.]+)-(correspond|comment)
queue="\1"
action="\2"
return (((local pipe.nobody "|/software/rt2/bin/rt-mailgate --queue $queue --action $action" $(newattribute $attr privilege "0" ))))
break
;;
I wrote "pipe.nobody" in the "return" line. However, when I
read other "return" commands for pipes in the rest of the
file, I find that what I think is a userid is usually the
list name or something like that. What exactly is that part
(that I wrote "nobody")?
Also, is there a way to force the pipe to run as a certain
user (other than specifying the command as "su ....")?
Thanks in advance,
--
Ambrose Li <a.c.li@ieee.org>
http://ada.dhs.org/~acli/cmcc/ http://www.cccgt.org/
DRM is theft - We are the stakeholders
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi