|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Blocking emails from certain addresses
From: Christian Winter (thepoet
a-za-z0-9.de)
Date: Wed Nov 02 2005 - 05:44:00 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oliver Marshall wrote:
>Hi,
>
>I *thought* I had setup postfix to bounce emails from certain users with
>a given error, using an access file. However, turns out that I never
>added the access file to my main.cf list of stuff, so it wasn't used.
>Ooops.
>
>Can anyone tell me where I should put the /etc/postfix/access in order
>for the contents of /etc/postfix/access to be used to block email
>addresses ? ("access" is a text file containing email
>address<tab>error#<tab>description and is postmap'd when edited).
>
>
Hi,
the best place is obviously smtpd_sender_restrictions:
smtpd_sender_restrictions = permit_mynetworks,
reject_non_fqdn_sender,
check_sender_access hash:/etc/postfix/access
HTH
-Chris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]