On Mon, May 04, 2009 at 01:17:25PM -0700, Harakiri wrote:

> > When table lookups fail, Postfix responds with a 4XX error.
> > This is not and should not be configurable.
> 
> "should not be configureable" ? nobody knows everything so nobody
> can claim to say this should not be configureable without knowing every
> detail in every possible scenario

Operating Postfix with tables that fail to return lookup results is
not a supported configuration, and Postfix responds in the only sensible
way.

> Besides, what if i want to change the text associated with the return
> code? Like 450 Scheduled Maintance, please retry later... You didnt even
> specify which code it is, so how do you change the text?

If you want to put the system in "maintenance mode", by all means
do that, with an access table that successfully returns a "DEFER" action.

    main.cf:
        smtpd_client_restrictions =
            check_client_address cidr:/etc/postfix/down.cidr

    down.cidr:
        0.0.0.0/0       DEFER Scheduled Maintenance

Unplanned failures, with configured tables not working as specified are
not "scheduled maintenance".

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to