View Full Version : Change the 550 "Unknown User" message
tahir
02-24-2008, 08:46 AM
Hello,
I want to set the bounce errors to a custom message. So, I enter the Catch-All adress like below.
:fail: "No mailbox here"
But, smtp server still returns the bounce message as
550 "Unknown User"
when the receipent is undefined.
How can I change this bounce message?
nobaloney
02-25-2008, 12:34 PM
I think that's hard coded in exim.
The :fail: isn't going to change that.
Jeff
tahir
02-29-2008, 10:20 AM
It should be configurable, I suppose.
Because, on my other site running exim, I can modify that message.
The hosting software there writes the string
"*: :fail: thebouncemessage"
at the end of valiases file and smtp engine returns that message.
Thank You,
Regards.
nobaloney
03-01-2008, 11:01 AM
It may be configurable in exim.conf; find Unknown User and change it to something else, and do some testing.
Jeff
Strator
01-24-2011, 08:35 AM
So has this ever been solved?
exim.conf does contain the following line:
message = "Unknown User"
But of course, to make the individual message show, it would be necessary to replace "Unknown User" with some sort of variable.:confused:
Thanks!
nobaloney
01-24-2011, 11:31 AM
You may be able to find some help in how to change the message here (http://www.teuton.org/~ejm/exim_surbl/) (teuton.org).
Jeff
Strator
01-24-2011, 12:35 PM
It did indeed - thanks a ton!:)
The line above simply needs to be replaced by this here:
message = $acl_verify_message
If I understood the documentation correctly, it could be enough to simply remove that message definition altogether, but I haven't tried that.
nobaloney
01-25-2011, 11:59 AM
Is $acl_verify_message defined elsewhere? As what?
If the message line is completely removed my understanding is you won't get a message. Am I wrong? Am I missing something?
Jeff
Strator
01-25-2011, 12:38 PM
Check out #20 ACL modifiers: http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html
If message is used on a statement that verifies an address, the message specified overrides any message that is generated by the verification process. However, the original message is available in the variable $acl_verify_message, so you can incorporate it into your message if you wish. In particular, if you want the text from :fail: items in redirect routers to be passed back as part of the SMTP response, you should either not use a message modifier, or make use of $acl_verify_message.
nobaloney
01-25-2011, 01:22 PM
Thanks.
Try leaving the line out and see what you get. If you get what you want, then let me know; maybe I should remove it or change it in the exim.conf file.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.