meillo@64: #!/bin/sh meillo@0: meillo@64: # path to the masqmail executable meillo@63: mm_bin=../../src/masqmail meillo@0: meillo@64: meillo@63: hfrom="\"Fritz Meier\" <`logname`@localhost>" meillo@0: hto=$hfrom meillo@63: to=`logname`@localhost meillo@64: hsubject="Masqmail test: localhost-stdin" meillo@0: meillo@64: 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 <