I would like a receive a specific message from a service that has a misconfigured mailgun configuration. Mail-in-a-box is rejecting the messages because the sender is a domain with no MX records. Is there a way to make Mail-in-a-box accept these broken messages either temporarily for this sender in particular?
Hi, thanks for the suggestion. Unfortunately I still get the same NOQUEUE: reject message. I was able to build the db file using postmap (and input mg.vshred.com OK). I tried adding check_sender_access hash:/etc/postfix/sender_access both to smtpd_relay_restrictions and to smtpd_recipient_restrictions.
Usually, placing check_sender_access in smtpd_sender_restrictions will change the behavior of postfix in ways that are unrelated to what you are trying to change.
Any changes to the parameters of postfix need to be very carefully researched, because very little there is intuitively obvious.