Dear Vincent, I tried to use quotes. i.e mmsfromemail -f "from_address" -t "recipient_address" -p "sender_mmsc_hostname" "conf_file"
But this doesn't work. Meanwhile I found a fix. Basically mmsfromemail expects only one 'TO address' at a time. I will satisfy that requirement in the following way changed /etc/postfix/master.cf to -> mbuni unix - n n - 10 pipe flags=Rq user=mbuni argv=/usr/local/bin/content-filter -f ${sender} -t ${recipient} Then changed the /usr/local/bin/content-filter to-> ################################################## #!/bin/sh INSPECT_DIR=/var/spool/mbuni # Exit codes from <sysexits.h> EX_TEMPFAIL=75 EX_UNAVAILABLE=69 # Clean up when done or when aborting. trap "rm -f in.$$" 0 1 2 3 15 # Start processing. cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; } cat >in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; } totalargs=$# from=$2 for i in `seq 4 $totalargs` do to=$i eval to=\$$to /usr/local/bin/mmsfromemail -f $2 -t $to "/etc/mmsc.conf" <in.$$ || { echo Message content rejected; exit $EX_TEMPFAIL; } done ################################################# If there is any better way ?. I would like to hear form you. Thanks for your valuable suggestions. Thank You, Saju John _______________________________________________ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users