[CentOS] Postfix / Postini question
Feizhou
feizhou at graffiti.net
Thu Jun 30 07:34:36 UTC 2005
Barry Brimer wrote:
> Quoting Feizhou <feizhou at graffiti.net>:
>
>
>>>>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
>
Looks good.
More information about the CentOS
mailing list