-
Notifications
You must be signed in to change notification settings - Fork 178
Q0805
Nigel Metheringham edited this page Nov 30, 2012
·
3 revisions
Is it possible to completely fail a message if the rewrite rules fail?
It depends on what you mean by fail a message and what addresses you are rewriting. If you are rewriting recipient addresses for your local domain, you can do:
*@dom.ain ${lookup{$1}dbm{/wher/ever}{$value}{failaddr}} Ehq
and in your alias file put something like
failaddr: :fail: Rewriting failed
This fails a single recipient - others are processed independently.
- How can I get Exim to strip the hostname from the sender's address?
- I have Exim configured to remove the hostname portion of the domain on
- I want to rewrite local addresses in mail that goes to the outside
- I'm using this rewriting rule to change login names into friendly names, but if mail comes in for an upper case login name, it doesn't get rewritten.
- Is it possible to completely fail a message if the rewrite rules fail?
- I'm using $domain as the key for a lookup in a rewriting rule, but
- I want to rewrite local sender addresses depending on the domain of the
- I want to rewrite recipient address depending on the domain of the