Bug#299733: exim4: $primary_hostname not expanded in cyrus_sasl authenicator

Juergen Kreileder Juergen Kreileder <jk@blackdown.de>, 299733@bugs.debian.org
Wed, 16 Mar 2005 08:01:11 +0100


Marc Haber <mh+debian-packages@zugschlus.de> writes:

> forwarded #299733
> http://www.exim.org/mail-archives/exim-dev/2005-March/msg00070.html
> thanks
>
> On Wed, Mar 16, 2005 at 03:46:33AM +0100, Juergen Kreileder wrote:
>> It looks like there is a bug in the cyrus_sasl authenticator when
>> you don't set server_hostname (default value: $primary_hostname).
>>
>> I've tested the cyrus_sasl/cram-md5 with cmd5[1] and this
>> configuration:
>>
>> ,----
>> | cram_md5_sasl_server:
>> |   driver = cyrus_sasl
>> |   public_name = CRAM-MD5
>> |   server_realm = server
>> |   server_set_id = $1
>> `----
>>
>> The challenge showed up as <...@$primary_hostname>, ie.
>> $primary_hostname didn't get expanded.
>
> Does it work when you set the server_hostname manually?

"server_hostname = foobar" works,
"server_hostname = $primary_hostname" doesn't.


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/