1

I would like to greet the remote client showing his IP.

For example:

"mysite.com ESMTP Hello xxx.xxx.xxx.xxx your actions will be logged"

I have this...

smtpd_banner = $myhostname ESMTP Hello $client_address your actions will be logged

But $client_address is not showing the remote client IP. What variable should I use in order to show the client IP? how can I accomplish what I want to do?

slm
  • 7,355
  • 16
  • 54
  • 72
Martin Graws
  • 11
  • 1
  • 2

1 Answers1

4

It's not possible, in the smtpd_banner you can use only 2 variables - $myhostname and $mail_name

ALex_hha
  • 7,025
  • 1
  • 23
  • 39