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 #334 from nickanderson/pick_redmine/6567

Change: Fix default mailfrom