OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: REDIRECT action from policy server

From: Ben Beuchler (insytegmail.com)
Date: Fri Oct 26 2007 - 10:08:06 CDT


> > smtpd_restriction_classes = PERMIT_OK
> > PERMIT_OK =
> > check_recipient_access regexp:/etc/postfix/redirect_all
> > permit_auth_destination
> >
> > # /etc/postfix/redirect_all
> > /^/ REDIRECT fooexample.com
>
> This still won't suppress recipient validation, one also needs
> (if that is really a requirement)
>
> reject_unlisted_recipient = no

So if I'm following correctly, something like this:

smtpd_restriction_classes = rbl_redirect
rbl_redirect =
     check_recipient_access regexp:/etc/postfix/redirect_all
     reject_unlisted_recipient = no
     permit_auth_destination

The redirect_all table would contain the table you described above and
my policy server would return "action=rbl_redirect" for any client
hosts that are found in the RBL.

Sound right?

Thanks!

-Ben