rdquiterio: > Hi; > > I've been using postfix for several years as a relay but never used it to > restrict inbound mail, since it is done by an anti-spam appliance. > > But now, we need to implement an inbound rule like this: > > 1. Everybody on our domain should be allowed to receive email form a > specific sender (a...@xyz.com) - i.e. notifications > 2. A few users should be allowed to receive email from any sender or > domain. > > It seems to me that it is possible to achieve with smtpd restrictions, but I > cannot figure out how to assemble senders and recipients parameters in > main.cf.
Short answer: see the examples in http://www.postfix.org/RESTRICTION_CLASS_README.html Long answer: sorry, that would take more time than I have. Wietse