Quoting Feizhou <feizhou@xxxxxxxxxxxx>: > > >> name or ip of postini-allowed mail server1 OK > >> name or ip of postini-allowed mail server2 OK > >> name or ip of postini-allowed mail server3 OK > >> name or ip of postini-allowed mail server4 OK > >> /^.*/ REJECT > > whoops.. > > you want two rules for that...the first one the OK match and therefore > not necessarily a regex table and the second one refering to the regex > catchall. Would this have the same effect? smtpd_restriction_classes = example.com-restrictions example.com-restrictions = check_sender_access hash:/etc/postfix/example.com-restrictions, reject Contents of /etc/postfix/example.com-restrictions: name or ip of postini-allowed mail server1 OK name or ip of postini-allowed mail server2 OK name or ip of postini-allowed mail server3 OK name or ip of postini-allowed mail server4 OK Thanks, Barry