This is a discussion on Change error text for unknown relay recipients within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I am a newcomer to Postfix, so this is probably an easy question to answer. Postfix is acting as a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am a newcomer to Postfix, so this is probably an easy question to answer.
Postfix is acting as a mail gateway to an internal mail system, and I'm using relay_recipients_map to block unknown recipients at the gateway (instead of allowing the messages through to the internal system and then generating a non-delivery report). This is working just fine, but I'm interested in changing the text that Postfix returns when an invalid/unknown recipient is submitted. I'm almost positive I saw reference to a Postfix parameter for this, but can't find it now. Does anyone know the name of the parameter that would allow me to change this text? TIA -- Scott Lowe |
|
|||
|
access_map_reject_code (default: 554)
The numerical Postfix SMTP server response code when a client is rejected by an access(5) map restriction. Do not change this unless you have a complete understanding of RFC 821. => http://www.postfix.org/access.5.html Scott Lowe wrote: > I am a newcomer to Postfix, so this is probably an easy question to answer. > > Postfix is acting as a mail gateway to an internal mail system, and I'm > using relay_recipients_map to block unknown recipients at the gateway > (instead of allowing the messages through to the internal system and > then generating a non-delivery report). This is working just fine, but > I'm interested in changing the text that Postfix returns when an > invalid/unknown recipient is submitted. I'm almost positive I saw > reference to a Postfix parameter for this, but can't find it now. Does > anyone know the name of the parameter that would allow me to change this > text? > > TIA > |
|
|||
|
On 2004-09-05 08:27:18 -0400, Scott Lowe <me@privacy.net> said:
> I am a newcomer to Postfix, so this is probably an easy question to answer. > > Postfix is acting as a mail gateway to an internal mail system, and I'm > using relay_recipients_map to block unknown recipients at the gateway > (instead of allowing the messages through to the internal system and > then generating a non-delivery report). This is working just fine, but > I'm interested in changing the text that Postfix returns when an > invalid/unknown recipient is submitted. I'm almost positive I saw > reference to a Postfix parameter for this, but can't find it now. Does > anyone know the name of the parameter that would allow me to change > this text? > > TIA I found the answer (sort of) I was looking for. The show_user_unknown_table_name parameter (defaults to yes) returns the name of the table in the error text. By setting this to no, then the error text is much more generic and does not indicate the name of the table that was used in the lookup. So, I can't actually change the text of the message, but I can prevent Postfix from telling senders what table was used, and that's sufficient for me. -- Scott Lowe |