Problem with mail service

hello. i just installed cyberpanel and looks like theres no mail service installed. i headed into mail debugger and found out all mail ports are close while i had disabled firewall. so i reset email configuration serverwide but got this error : setup_postfix_dovecot_config failed. [404].
could anyone help me fix this ?
thanks in advance