or you can install second qmail. 1st qmail will forward mails to avastrelay and scanned mails will be distribute to recipients by the second qmail.