--- /dev/null
+# strip_trailing_dot
+exim -d -bs
+mail from:<>
+rcpt to:<abc@domain.>
+quit
+****
+1
+exim -f abc@somewhere. xxx
+****
+exim -DSTD=strip_trailing_dot -d -bs
+mail from:<>
+rcpt to:<abc@domain.>
+data
+To: abc@domain.
+.
+quit
+****
+exim -DSTD=strip_trailing_dot -f abc@somewhere. xxx@yyy.
+****
+exim -d -bs
+mail from:<>
+rcpt to:<abc@xyz>
+data
+To: abc@xyz.
+.
+quit
+****
+exim -bp
+****
+no_msglog_check