Hello there,

If anybody could help by advising on SMTP Greetings Banner I would highly
appreciate it.

How do I make the SMTP Greetings Banner to display the remote client's IP
and server's name in Postfix 2.9.6?

For example these 2 lines below are default ones and work fine:

mail_name = MyMailServer
smtpd_banner = Welcome to $mail_name. 

I tried doing it this way:

mail_name = MyMailServer
smtpd_banner = Hello $client_name on $server_address. Welcome to $mail_name. 

In accordance with Postfix documentation these two variables of $client_name
and $server_name are supposed to be taken from Postfix maillog files. In
fact, documentation says that it applies to smtpd_reject_footer directive
and my giving it a try with the same variables on SMTP Greetings Banner did
not work. 

Does anybody know how do I declare these two variables to be used in the
banner? Perhaps there are also some other easier solutions to achieve it
aren't there?

Would be really grateful for any pointers / suggestions at all. Many thanks
in advance!



--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Customize-SMTP-Greetings-Banner-in-Postfix-2-9-6-tp72110.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to