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