On Mon, 19 Oct 2009, MySQL Student wrote:

> I thought I understood how to block a specific domain from being able
> to send mail to users on my server, but I must be doing something
> wrong. In main.cf I have:
> 
> check_sender_access hash:/etc/postfix/sender_access,
> check_client_access hash:/etc/postfix/client_access
> 
> among others, in the smtpd_recipient_restrictions section. In
> client_access I have the domains that should be allowed:
> 
> mail.mydomain.com OK
> 
> In sender_access I have a list that should be blocked:
> 
> .domain1.com REJECT
> .domain2.com REJECT
> 
> I've regenerated the postmap and reloaded postfix, but the mail still
> comes through. What am I missing?
> 
> Maybe I don't understand the difference between check_client_access
> and check_sender_access.

Show logs related to your problem and the output of 'postconf -n'.  When
asking for help on this list, be sure to consult DEBUG_README for
direction.  See postconf(5) to understand the difference between the
check_foo_access restrictions.

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to