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: # meillo@63: hfrom="\"Fritz Meier\" <`logname`@localhost>" meillo@0: hto=$hfrom meillo@63: to=`logname`@localhost meillo@0: hsubject="MasqMail stdin Test" meillo@0: meillo@0: # 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 <