| View previous topic :: View next topic |
| Author |
Message |
admin Site Admin
Joined: 21 Jun 2005 Posts: 209
|
Posted: Wed Jul 26, 2006 12:13 pm Post subject: How can I to block a user |
|
|
Hi All
I want block a user of my server because this user have spam, I did the following work:
smtpd_client_restrictions = hash:/etc/postfix/access
However this no work, the client follow sending message, how can stop this user ?
Thanks ins advanced, |
|
| Back to top |
|
 |
admin Site Admin
Joined: 21 Jun 2005 Posts: 209
|
Posted: Wed Jul 26, 2006 12:14 pm Post subject: |
|
|
If you mean you want to reject mail addressed to a particular recipient (but
you don't want to remove the recipient's mailbox, or similar setting), then:
smtpd_recipient_restrictions =
permit_mynetworks,
<possible other stuff>
reject_unauth_destination,
check_recipient_access hash:/etc/postfix/recipient_access
<possible other stuff>
with the contents of /etc/postfix/recipient_access:
noreply@example.com REJECT Please do not reply to this address.
Don't forget:
postmap hash:/etc/postfix/recipient_access
Gary V |
|
| Back to top |
|
 |
|