Christopher Hackman:
> Hello,
> 
>  I'm pretty new to Postfix, and I'm experimenting with using it for our new
> inbound MTA. Is it possible to customize the following error message?
> 
> MAIL FROM: <u...@remotedomain.com>
> 250 2.1.0 Ok
> RCPT TO: <invalidacco...@virtualdomain.com>
> 550 5.1.1 <invalidacco...@virtualdomain.com>: Recipient address rejected:
> virtualdomain.com

Depending on the show_user_unknown_table_name parameter setting, Postfix
replies with one of the following:

550 5.1.1 <u...@example.com>: Recipient address rejected: user unknown
550 5.1.1 <u...@example.com>: Recipient address rejected: user unknown in local 
recipient table
550 5.1.1 <u...@example.com>: Recipient address rejected: user unknown in 
virtual alias table
550 5.1.1 <u...@example.com>: Recipient address rejected: user unknown in 
virtual mailbox table
550 5.1.1 <u...@example.com>: Recipient address rejected: user unknown in relay 
recipient table

> In this sanitized example, "virtualdomain.com" is just that, as is
> "invalidaccount". I see "unknown_virtual_mailbox_reject_code" will let me
> change the response code, but not the text. I'd expected to find something
> like a "unknown_virtual_mailbox_reject_reason" parameter, but I don't see
> one. Is this possible?

This is not documented, therefore it is not implemented.

        Wietse

Reply via email to