On Fri, Sep 01, 2017 at 03:48:21PM +0200, Daniel Ryšlink wrote:
> When a postfix server replies to the HELO/EHLO command, the response starts
> with this line:
>
> 250-mail.dialtelecom.cz
Via the smtpd_banner parameter you can replace this with any *fixed*
string.
> However, when Exim or other server replies, the first line contains
> additional information:
>
> 250-mx01.dialtelecom.cz Hello office.dialtelecom.cz [212.24.132.66], pleased
> to meet you
This is mostly pointless.
> I would like to know if there is a way to customize this reply in Postfix,
> specifically, if there is a way to include the information about the sender
> IP and reverse DNS name as in the second reply via modifying Postfix
> configuration, and if it is possible, then I would like to know which
> configuration directives should be used.
There is no current mechanism to inject client-specific data into
the SMTP server banner. Is there a good reason to add such a
feature?
--
Viktor.