Re: [exim] Authentication for sending

Etusivu
Poista viesti
Vastaa
Lähettäjä: Michael Johnson
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Authentication for sending
On Oct 19, 2004, at 9:01 PM, Giuliano Gavazzi wrote:

> At 5:45 pm -0400 2004/10/19, Michael Johnson wrote:
>> Where in the configure file does this go? Would it be something in
>> authenticators like this?:
>>
>> fixed_cram:
>>    driver = cram_md5
>>    public_name= CRAM-MD5
>>    server_condition=${if and    {\
>>                                        {!eq{$1}{}}\
>>                                        {!eq{$2}{}}\

>
> indeed.


The server returns an error:

2004-10-19 21:55:04 Exim configuration error in line 728 of
/usr/exim/configure:
option "server_condition" unknown

What did I mess up? That section of the configure file:

######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


# There are no authenticator specifications in this default
configuration file.

begin authenticators
fixed_cram:
    driver = cram_md5
    public_name= CRAM-MD5
#   server_secret = ${lookup{$1}lsearch{/etc/relayers}{$value}{fail}}
     server_condition=${if and    {\
                                        {!eq{$1}{}}\
                                        {!eq{$2}{}}\
                                        {pam{$1:${sg{$2}{:}{::}}}}\
                                }\
                {yes}{no}}


#    server_set_id = $1


I've tried with the last line (server_set_id) uncommented and commented.

-Michael

---------------------------------------
Sometimes your joy is the source of your smile, but sometimes your
smile can be the source of your joy.

                    --Thich Nhat Hanh