Re: [exim] host name in SMTP greeting

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Akhthar Parvez. K
CC: exim-users
Subject: Re: [exim] host name in SMTP greeting
On Wed, 20 Apr 2005, Akhthar Parvez. K wrote:
>
> If the interface_address is 1.1.1.1, I want the primary_hostname to be
> test.com and so on. Is it possible?


You can't change the primary_hostname dynamically, but you can change the
smtp_banner. Put an lsearch lookup where $primary_hostname appears in the
default setting.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}