Re: Block one domain for receiving mail from yahoo&gmail
Wietse Venema <wietse <at> porcupine.org>
2012-08-01 13:16:55 GMT
> Hi Members,
> I have multiple virtual domain hosted on postfix mail server . My
> requirement is to block mail coming from gmail/yahoo account to <at>
> linuxmantra.com accounts. What you suggest for me ?
> Should I need to use transport maps ?
I suggest that you use the policy protocol to implement limits based
on multiple features such as sender AND recipient. For a good
example, see http://www.postfwd.org/.
Postfix implements limits based on single features such as sender
or recipient. Implementing combined limits quickly becomes complicated
(for examples see http://www.postfix.org/RESTRICTION_CLASS_README.html).