If mail is not sending, you need to look at the postfix logs and see if there's an explanation for a test mail. dovecot will not be relevant unless you are using send-over-IMAP which is unlikely. Can you share some relevant log lines?