= permit_mynetworks, check_sender_access
hash:/etc/postfix/access_sender_test.hash
unknown_local_recipient_reject_code = 550
--cut--
Best regards
Henrik Larsson
On 03-10-2014 23:27, Viktor Dukhovni wrote:
On Fri, Oct 03, 2014 at 11:19:24PM +0200, Henrik Larsson wrote:
If you reject a message in helo, sender or recipient restrictions, the
specific restriction is shown in the reject message as shown below:
554 5.7.1 : Helo command rejected: Rejected
554
bles.
Best regards
Henrik Larsson
!SSLv3
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtputf8_enable = no
strict_rfc821_envelopes = yes
tls_random_exchange_name = /var/db/postfix/prng_exch
transport_maps = hash:/usr/local/etc/postfix/maps_transport.hash
unknown_local_recipient_reject_code = 550
--cut--
Best regards
Henrik Larsson
Patch follows. Add the lines with '+', remove lines with '-'.
Patch builds and seem to fix my use case.
Thanks a lot.
Best regards
Henrik Larsson
That always sets MA_FIND_PDMS and therefore always matches the
subdomain. Corrected patch follows.
I have tested the new patch, and that works for my use case as well.
In both cases, the recipient using a subdomain of the access map was
blocked.
Best regards
Henrik Larsson