--On Montag, 1. September 2003 20:15 -0700 Ricardo Kleemann <[EMAIL PROTECTED]> wrote:
>> but I'd just use |/bin/true for 'mail' in authmysql or >> authuserdb. >> >> Roland >> > > Roland, what exactly do you mean...? what field in the > authmysql table should be set to '|/bin/true' ? there are really not that many fields to choose from ;) Whenever the name of a mailbox starts with a pipe courier will run the remainder throug a full blown shell, this even allows complex commands like: |(echo "0=$0 1=$1 2=$2 PID=$$";/bin/pwd;echo "1=$EXT 2=$EXT2 3=$EXT3 4=$EXT4";/usr/local/bin/pstree -u)>/tmp/test.ext thats one of the reason why nothing in the delivery process should have any elevated permissions. another example (monitor-signal, cc'ed in scripts) emmits some beebs, the wrapper 'signal' pipes the arg into /dev/speaker and (hopefully) wakes me up if something goes wrong: |signal "T150C_D_E" another example used for closed-loop uptime verification between two mailservers with some kind of ping-pong: |/bin/echo "$EXT2" >/tmp/check-smtp-pong 'smtp-ping' runs from cron every few minutes, checks wether the last probe has been returned within this timeframe, and emmits another probe with a new random hash (as verp in $EXT2). Unfortunately piping wont work with authuserdn because someone choose the pipe as field-delimiter for whatever reason. Roland ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
