I just read  http://www.postfix.org/postconf.5.html#smtpd_banner and there no 
information about that. Thanks to point me in the right way.

P.S.
maybe it would be possible by using 3rd party software (some policy server) ?


Вторник, 23 июля 2013, 22:01 UTC от Viktor Dukhovni 
<postfix-us...@dukhovni.org>:
>On Wed, Jul 24, 2013 at 01:34:02AM +0400, ??????? ????????? wrote:
>
>>  Hello all, can't find which variables I could use in smtpd_banner
>> except of $myhostname/$mail_name? Is that possible to use
>> $client_address?
>
>There are no variables in smtpd_banner.  You're confused by generic
>support for recursive main.cf variable expansion.  By the time
>smtpd(8) sees smptd_banner it is a string constant.
>
>Best practice is to largely leave smtpd_banner alone.  The default
>is just fine.  If you prefer whatever legal advantage denouncing
>unsolicited commericial email may confer:
>
>smtpd_banner = $myhostname ESMTP ($mail_name) NO UCE.
>
>The "$myhostname" is expanded once by the generic main.cf parser,
>not separately for each connecting client.
>
>-- 
>Viktor.

Reply via email to