the diference between chech_sender_access and check_client_access is that, check_client_access "check" the network, or name, or IP of the computer that send the mail, and check_sender_access "check" the direction on the "From" field. ----- Original Message ----- From: "MySQL Student" <mysqlstud...@gmail.com>
To: "postfix users list" <postfix-users@postfix.org>
Sent: Tuesday, October 20, 2009 5:33 AM
Subject: Sender/Client access


Hi,

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.

Thanks,
Alex


--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

Reply via email to