fix smtpd mail restrictions (Feature #3166)