'.local' is not valid (like .com, .org), and iRedMail has default HELO restriction to reject HELO identity which ends with '.local'. But you can comment out below line in /etc/postfix/helo_access.pcre to bypass it:
/\.local$/ REJECT Go away, bad guy (.local).