On 10/12/2010 5:33 PM, Costin Gusa wrote:
On Wed, Oct 13, 2010 at 00:04, mouss<mo...@ml.netoyen.net> wrote:
Le 12/10/2010 12:09, Costin Gusa a écrit :
Hello,
I would like to be able to configure smtpd so that a generic smtp
session reject code to be given without explanation (ex. helo command
rejected, user unknown, client host rbl, etc) while at the same time
detail the reject reason in mail.log as usual.
Is this possible?
Thank you
sure:
.... REJECT we reject you (#code)
I'm sure there's some detail in the documentation which tells me where
exactly do you put that in order to act as a generic reject message,
but being unable to find it is the reason I mailed you.
The built-in postfix restrictions (reject_...) have built-in
responses. You can't adjust them without patching the code.
Access maps (check_..._access restrictions) can specify custom
reject messages by including the custom text in the map. man
5 access
RBL responses can be customized with default_rbl_reply and
rbl_reply_maps.
A policy service or a milter can reject mail using their own
message. See postfix docs for more about these features.
-- Noel Jones