> An access formatted table does not care which type as long as it returns
> values that are expected.
> Any supported table type is valid for access tables.
> man 5 cidr_table for details as what is expected on the left hand side.
> access(5) values are expected on the right hand side.
>
I have confirmed that my postfix version: postfix-2.3.3-2.1.el5_2 supports the
CIDR tables using postconf -m
I checked man 5 cidr_table and it only seems to take "OK" or "REJECT" but
perhaps this is not a comprehesive list? The error I was getting was:
postfix/smtpd[1230]: fatal: unexpected command-line argument:
cidr:/etc/postfix/smarthost.cidr
my /etc/postfix/smarthost.cidr looks like this:
208.65.144.0/21 FILTER smtp:mail.shawcable.com
and the relevent portion of my master.cf looks like this:
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=check_recipient_mx_access
cidr:/etc/postfix/smarthost.cidr
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
-o local_header_rewrite_clients=
Thanks for the help.
~Rod
_________________________________________________________________