On Tue, Jun 22, 2010 at 11:53:37AM +0200, Mariusz Kie?pi?ski wrote:

> allow_mail_to_commands and allow_mail_to_files according to
> http://www.postfix.org/postconf.5.html are global for all users. I have a
> need do disallow processing of .forward for most user (default behavior)
> however some of them should still have a possibility of usage .forward
> file. In the other words is this possible to block processing .forward
> file for some users ?

Yes, by using multiple copies of the local transport in master.cf, and
using transport_maps to route mail for selected users to an alternate
local transport, (with -o foo=bar overrides in master.cf).

    local2    unix  -       n       n       -       -       local
        -o ...

-- 
        Viktor.

Reply via email to