On 5/24/2017 8:11 AM, GP wrote: > Hi all, > > is it possible to have restrictions that apply to certain users only > with postfix ?
Yes, using either smtpd_restriction_classes or an external policy service. http://www.postfix.org/RESTRICTION_CLASS_README.html http://www.postfix.org/SMTPD_POLICY_README.html > For example I want some users not to be able to send or receive > messages > more than 2MB in size . Can it be done ? Size is a little tricky if you have to deal with multi-recipient mail, but your best choice here is an external policy service such as postfwd. http://postfwd.org/ -- Noel Jones