On Monday 24 October 2011 05:48:32 Julio Talaverano wrote: > I've got this rather complicated problem:
You're in luck! There are similar examples in the documentation. > 1) a) I'd like to block mails to specific internal recipients > (e.g. *.r...@mycomp.com) but allow only one or more domains to > send to them. > b) blocking emails sent by these recipients (This is already in > place using regexp header_checks). > > 2) At the same time I'd like to allow mails sent to one internal > recipient (e.g. a...@mycomp.com) only from specific domains but > reject mails from any other domain. > > I'm using postfix 2.7.1 on RedHat 5.7 > > > Any ideas? http://www.postfix.org/RESTRICTION_CLASS_README.html -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header