Change: Fix default mailfrom

Ref: https://dev.cfengine.com/issues/6567

$(sys.host) is ambiguous and the old usage may produce a mailfrom of
root@foo.example.org.example.org for host "foo" in domain "example.org".
Merge pull request #330 from nickanderson/redmine/6567

Change: Fix default mailfrom