Jeremie Le Hen: > Hi list ! > > As far as I understand, there is an "implicit" check in the > smtpd_recipient_restrictions parameter when virtual_alias_maps > or relay_recipient_maps is specified. But when does it append?
By default, the check happens at the end. However, you can specify the documented reject_unlisted_recipient and reject_unlisted_sender earlier if you like. > From my own testing, I think it is check at the very end but I would > like to know if there's a rule for this, I couldn't find it in the > documentation (by the way I think it should be worth writing it > explicitely). It is documented as part of smtpd_reject_unlisted_recipient. When this is set to "yes", Postfix will reject mail even when you did not specify reject_unlisted_recipient. This means that reject_unlisted_recipient takes precedence over smtpd_reject_unlisted_recipient. Therefore, smtpd_reject_unlisted_recipient must take effect at the end. If it took effect at the beginning, then reject_unlisted_recipient could not take precedence. Wietse