|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Accept email only from local for specific addresses
From: Sandy Drobic (postfix-users
japantest.homelinux.com)
Date: Sat Jul 29 2006 - 03:35:49 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Claude Needham wrote:
> On 7/28/06, Sandy Drobic <postfix-users
japantest.homelinux.com> wrote:
>>
>> main.cf:
>> mynetworks = 192.168.1.0/24, 127.0.0.1
>> smtpd_recipient_restrictions =
>> permit_mynetworks,
>> reject_unauth_destination
>> check_recipient_access hash:/etc/postfix/internal_only
>> ...
> I checked around at sample main.cf files I could find on line.
> They all seemed to ahve the check_recipient_access after reject_rbl_client.
> I am assuming this is correct.
>
> smtpd_recipient_restrictions =
> permit_sasl_authenticated,
> permit_mynetworks,
> reject_unauth_destination,
> reject_rbl_client relays.ordb.org,
> reject_rbl_client list.dsbl.org,
> reject_rbl_client sbl-xbl.spamhaus.org,
> check_recipient_access hash:/etc/postfix/internal_only
Why would you check three external dns blacklists when you know that the
recipient address will be rejected? In this case it makes sense to put it
right behind reject_unauth_destination. Though, if your server is not
terribly busy, it won't make a noticable difference.
Sandy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]