L
L
linelect2014-07-10 17:25:30
Exim
linelect, 2014-07-10 17:25:30

Exim. Disable sending error messages "Mail delivery failed: returning message to sender"?

I have this piece of config after begin routers:

check_outgoing:
driver = redirect
domains = ! +local_domains
senders = *@lsearch;/etc/exim/blockeddomains
allow_fail = yes
data = :fail: You can not send mail from this mailbox from this server.

Which prevents blocked domains from sending mail.
When such a case occurs, Exim sends a message with the error "Mail delivery failed: returning message to sender"
How can I disable such a message for this condition?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question