Hello!
I have one question to all...
There is a simple test condition in my configure:
${if and{\
{exists{/usr/local/etc/exim/domains/${domain:$1}/passwd}}\
{eq{$2}{${extract{1}{:}{\
${lookup{${local_part:$1}lsearch{/usr/local/etc/exim/domains/${domain:$1}/pa
sswd}{$value}{fail}}}\
}}}}\
}{yes}{no}}
and there is '-d 10' debug output:
auth login
SMTP<< auth login
SMTP>> 334 VXNlcm5hbWU6
334 VXNlcm5hbWU6
c2hpa3V0QHZpcnVzMjIuY29t
SMTP>> 334 UGFzc3dvcmQ6
334 UGFzc3dvcmQ6
eXRyZXdx
search_open: lsearch "/usr/local/etc/exim/domains/virus22.com/passwd"
login_auth authenticator:
$1 = shikut@???
$2 = ytrewq
expansion failed: failed to open
/usr/local/etc/exim/domains/virus22.com/passwd for linear search: No such
file or directory
SMTP>> 435 Unable to authenticate at present: failed to open
/usr/local/etc/exim/domains/virus22.com/passwd for linear search: No such
file or directory
435 Unable to authenticate at present: failed to open
/usr/local/etc/exim/domains/virus22.com/passwd for linear search: No such
file or directory
LOG: 0 MAIN REJECT
Authentication failed for shikut [192.168.1.17]: 435 Unable to
authenticate at present: failed to open
/usr/local/etc/exim/domains/virus22.com/passwd for linear search: No such
file or directory
At my server there is no /usr/local/etc/exim/domains/virus22.com
directory. In this case the first part of the 'and' condition didn't work,
but why??? I am test separate parts of the 'and' condition and they are
working, when separate. I am mistaken, but where?
Dmitry Shikut, shikut@???