Fail2ban can't send message

FreePBX 2.11. When fail2ban bans some host and tries to send a message to email@address , Fail2ban.log shows: …sendmail -f email@address . It misses name of the “from” person and fails to send a letter.