On 28/02/07, Michael L Griffin <[EMAIL PROTECTED]> wrote: > Greetings > > I had a very similar question a few weeks backs and other than a lot > reasons why it is a bad idea, I never really got an answer I was able > to get working. (being a noob - I am struggling) > > To repeat my then question, like Luca I would like to be able send > custom bounce message but through " :fail: <err_code> <message>" which > is added to the aliases file (or in my case; MySQL database) and via > ACL's / routers. > > In my 3.6 installtion that I am wanting to upgrade, this is > possible, except for the err_code which is new to 4.6, and it used > with great effect. > > EG : mail sent to [EMAIL PROTECTED] has an alias of ":fail: > [EMAIL PROTECTED] is no longer valid, please contact > [EMAIL PROTECTED]" (I want to add the err_code once upgraded to 4.6x) > which then gets a 550 bounce with the applicable message. > > I have bean searching trying to find where ":fail:" is handled in my > 4.6x config with no luck.
Not absolutely sure what the question is here.... but :fail: is a special token you can use in redirect data to cause Exim to fail the message (if veriifying) or create a bounce (if delivering). The router which handles your aliases will process this if it has 'allow_fail' set. But it looks from the above that you already knew this..... You can read about it at http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch22.html#SECTspecitredli (beware wrapping) Peter -- Peter Bowyer Email: [EMAIL PROTECTED] -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
