OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Restriction class?

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Mon Jul 02 2007 - 23:23:37 CDT


On Tuesday 03 July 2007 01:20, Sean Kennedy wrote:

> I'm running Postfix 2.3.8. I recently put in a check_client_access lookup
> table in the smtpd_recipient_restrictions. On a few of the entries in the
> table, I am doing a FILTER, but that isn't working out. Here's what the
> log entries say:
>
> Jul 2 16:40:12 tellurium postfix/smtpd[27171]: warning: access table
> cidr:/etc/postfix/hash/postfix-dnswl-permit has entry with lookup table:
> FILTER: smtp:[127.0.0.1]:10025 Jul 2 16:40:12 tellurium

Remove the ":" behind "FILTER".

$ man 5 access

> postfix/smtpd[27171]: warning: do not specify lookup tables inside SMTPD
> access maps Jul 2 16:40:12 tellurium postfix/smtpd[27171]: warning: define
> a restriction class and specify its name instead.
>
> My question is, what is a restriction class and how do I specify one to
> resolve this?

--
        Andreas