Yes I did, sorry I didn't mention it. 

/martin s ⁣

Skickat från BlueMail ​

Den 28 dec. 2016 11:42, kI 11:42, Dominic Raferd <[email protected]> 
skrev:
>On 28 December 2016 at 09:06, Martin Skjöldebrand
><[email protected]> wrote:
>> Hi,
>>
>> I was under the impression that
>>
>> smtpd_sender_restrictions=check_sender_access
>> hash:/etc/postfix/sender_access
>>
>> would take a list of domain and either reject or discard the message
>on
>> reaching the server, based on the content of the file
>> /etc/postfix/sender_access. Maybe I am totally confused about this?
>> In my main.cf it seems not to have the desired effect.
>> Anyone able to shed some light on my meager understandings of
>postfix.
>>
>> /Martin S
>
>Did you rebuild the sender_access.db file with postmap
>/etc/postfix/sender_access (without errors), and then postfix reload?
>The sender_access file itself is not read by postfix, only the .db
>file. Otherwise post here an example of your sender_access file data,
>each domain (or mail address) you want to reject should be on a
>separate line followed by whitespace REJECT - full info at
>http://www.postfix.org/access.5.html

Reply via email to