Change the 550 "Unknown User" message

tahir

New member
Joined
Jan 26, 2008
Messages
4
Hello,

I want to set the bounce errors to a custom message. So, I enter the Catch-All adress like below.
Code:
:fail: "No mailbox here"
But, smtp server still returns the bounce message as
Code:
550 "Unknown User"
when the receipent is undefined.
How can I change this bounce message?
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
I think that's hard coded in exim.

The :fail: isn't going to change that.

Jeff
 

tahir

New member
Joined
Jan 26, 2008
Messages
4
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

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
It may be configurable in exim.conf; find Unknown User and change it to something else, and do some testing.

Jeff
 

Strator

Verified User
Joined
Jan 19, 2011
Messages
178
So has this ever been solved?

exim.conf does contain the following line:

Code:
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

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
You may be able to find some help in how to change the message here (teuton.org).

Jeff
 

Strator

Verified User
Joined
Jan 19, 2011
Messages
178
It did indeed - thanks a ton!:)

The line above simply needs to be replaced by this here:

Code:
 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

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
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

Verified User
Joined
Jan 19, 2011
Messages
178
Check out #20 ACL modifiers: http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html

exim.org said:
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

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
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
 
Top