meillo@0: #! /bin/bash meillo@0: meillo@63: # should be run from within tests dir set if you move this: meillo@63: mm_bin=../../src/masqmail meillo@0: meillo@0: hfrom="\"Fritz Meier\" <`logname`@RECV_HOST>" meillo@63: hto="$hfrom" meillo@0: to=`logname`@RECV_HOST meillo@0: hsubject="MasqMail stdin Test" meillo@0: meillo@63: meillo@0: # Testing with rcpt on cmd line meillo@0: # (dot does end) meillo@0: # meillo@0: # the command to be run: meillo@0: cmd="$mm_bin -C ./test.conf $to" meillo@0: meillo@0: $cmd <