2009/4/7 Marc Silver <ma...@discoverylink.co.za>:
> Hi there,
>
> As far as I'm aware this is easily modified using the "smtpd_banner" option
> in main.cf

Please don't top-post.

No, this is incorrect, as stated in the documentation:
http://www.postfix.org/postconf.5.html#smtpd_banner

Trying 202.4.232.68...
Connected to 202.4.232.68.
Escape character is '^]'.
220 yoshino.meidokon.net ESMTP Postfix   <-- smtpd_banner changes this
EHLO miyuki
250-yoshino.meidokon.net   <-- OP wishes to change this.
250-PIPELINING

I can't see any configurable way to change the 250-reply text, it
seems rather pointless to me. I've never looked at the postfix src
before, but I believe this is it, from 2.5.6 src/smtpd/smtpd.c

# reply to a HELO - line 1405
smtpd_chat_reply(state, "250 %s", var_myhostname);

# reply to an EHLO - line 1515
reply_buf = vstring_alloc(10);
vstring_strcpy(reply_buf, var_myhostname);

The code then goes and builds up a reply. I admit it's beyond my ken
as to when it emits the first "250-", but that's not really relevant
here.

Reply via email to