Noel Jones wrote on Wed, 7 Nov 2018 13:30:08 -0600:

With the above list, check_sender_access comes first.  Postfix does
not reorder the list you have specified.

On 08.11.18 01:31, Kai Schaetzl wrote:
Thanks for the answer. But, please look again.

/etc/mail/access:
createsend.com  REJECT
cmail20.com REJECT

you should specify .createsend.com, because the connecting domain is
mx17.a.outbound.createsend.com, not createsend.com.  You apparently did not
set append_dot_mydomain=yes (don't!).

Nov  7 14:15:24 b04 postfix/smtpd[6584]: NOQUEUE: reject: RCPT from
mx17.a.outbound.createsend.com[203.55.21.17]: 554 5.7.1
<u...@cmail20.com>: Sender address rejected: Access denied;
from=<u...@cmail20.com> to=<u...@example.com> proto=ESMTP
helo=<mx17.a.outbound.createsend.com>

The order is:
>     check_sender_access hash:/etc/mail/allow_senders,
-> this file does not contain matching data!
>     check_client_access hash:/etc/mail/allow_clients,
>     check_client_access hash:/etc/mail/access,
-> this is first in order and contains matching data!
>     check_sender_access hash:/etc/mail/access,
-> but it matches only in the next step!



--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod

Reply via email to