Suppress specific restriction in reject message

2014-10-03 Thread Henrik Larsson
= permit_mynetworks, check_sender_access hash:/etc/postfix/access_sender_test.hash unknown_local_recipient_reject_code = 550 --cut-- Best regards Henrik Larsson

Re: Suppress specific restriction in reject message

2014-10-05 Thread 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

Re: Suppress specific restriction in reject message

2014-10-05 Thread Henrik Larsson
bles. Best regards Henrik Larsson

Access map matches sub domain with empty parent_domain_matches_subdomains

2017-05-31 Thread 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

Re: PATCH: Access map matches sub domain with empty parent_domain_matches_subdomains

2017-05-31 Thread 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

Re: PATCH: Access map matches sub domain with empty parent_domain_matches_subdomains

2017-05-31 Thread 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