vishesh kumar | 1 Aug 2012 15:08
Picon

Block one domain for receiving mail from yahoo&gmail

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 ?

Thanks & Regards,
Vishesh Kumar


Wietse Venema | 1 Aug 2012 15:16

Re: Block one domain for receiving mail from yahoo&gmail

vishesh kumar:
> 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).

	Wietse

vishesh kumar | 6 Aug 2012 13:14
Picon

Re: Block one domain for receiving mail from yahoo&gmail

Thanks Wietse

On Wed, Aug 1, 2012 at 6:46 PM, Wietse Venema <wietse <at> porcupine.org> wrote:
vishesh kumar:
> 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).

        Wietse



--
http://linuxmantra.com

Gmane