Mercurial > masqmail-0.2
view tests/relay-to-hostname-mta/test.tpl @ 190:fbb3417c1a54 default tip
Minor fixes in man pages, reported by lintian(1)
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 29 Aug 2011 19:22:51 +0200 (2011-08-29) |
parents | 0379789a847b |
children |
line wrap: on
line source
#!/bin/sh # path to the masqmail executable mm_bin=../../src/masqmail hfrom="\"Fritz Meier\" <`logname`@RECV_HOST>" hto="$hfrom" to=`logname`@RECV_HOST hsubject="Masqmail test: relay-to-hostname-mta" # Testing with rcpt on cmd line # (dot does end) # # the command to be run: cmd="$mm_bin -C ./test.conf $to" $cmd <<EOF From: $hfrom To: $hto Subject: $hsubject Hallo Fritz! .. there is a dot above (Yes, one and not two). command was: $cmd Fritz . EOF # Testing with rcpt on cmd line with -oi option # (dot does not end) # # the command to be run: cmd="$mm_bin -C ./test.conf -oi $to" $cmd <<EOF From: $hfrom To: $hto Subject: $hsubject Hallo Fritz! . there is a dot above. command was: $cmd Fritz EOF # Testing with rcpt read from headers (-t option) # (dot does end) # # the command to be run: cmd="$mm_bin -C ./test.conf -t" $cmd <<EOF From: $hfrom To: $hto Subject: $hsubject Hallo Fritz! .. there is a dot above. command was: $cmd Fritz . EOF