mail: fix handling from @localhost