Hello I am setting up a postfix+dovecot setup and using quota-status service to reject mails for full mailboxes on smtp session, according to this: https://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/ This is working fine and without any apparent issues. however, Postfix doesn't seem to consult the policy when you're using virtual alias addresses. I have defined virtual alias email addresses using virtual_alias_maps . what happens is that Postfix only verifies there is a corresponding value for the given email address and blindly accepts it. It seems smtpd_recipient_restrictions , only applies to the supplied email address and Postfix does not consult that after applying virtual alias. Furthermore, since i am using dovecot as MDA, using reject_unverified_recipient fails for virtual aliases if i don't have corresponding entry for the alias address in the MDA. that's because the supplied email address will be subjected to smtpd_recipient_restrictions before consulting virtual daemon
Does any one have any idea how to solve these? is there a setting that I'm missing? or is there a better way to setup email aliases that solve these issues? My postfix version is 2.11.3 . Best Regards,