Change error text for unknown relay recipients

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2004
Scott Lowe
 
Posts: n/a
Default Change error text for unknown relay recipients

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

Reply With Quote
  #2 (permalink)  
Old 09-07-2004
Torsten Stauder
 
Posts: n/a
Default Re: Change error text for unknown relay recipients

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
>

Reply With Quote
  #3 (permalink)  
Old 09-07-2004
Scott Lowe
 
Posts: n/a
Default Re: Change error text for unknown relay recipients

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0