[Exim] Some problems with SMTP Auth..

Pàgina inicial
Delete this message
Reply to this message
Autor: Tim AtLee
Data:  
A: exim-users
Assumpte: [Exim] Some problems with SMTP Auth..
Hello

I've been trying to follow the sample config (I thing C034 is what i was
reading) for SMTP auth using the /etc/passwd file, but I've sorta hit a
hiccup that I'm not sure what it means .. in the error log, I get:

2001-12-13 00:42:55 Exim configuration error
domain missing in rewrite key string "plain:" in line 397

and would get the same for 'login:' if I comment out all of plain.

The SMTP auth portion of my config file reads as such:

#                        AUTH CONFIGURATION                          #
plain:     # Line 397
  driver = plaintext
  public_name = PLAIN
  server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}} \
  {crypteq{$3}{${extract{2}{:} \
  {${lookup{$2}lsearch{/etc/passwd}{$value}{*:*}}}}}}}{1}{0}}"
  server_set_id = $2


login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
{crypteq{$2}{${extract{2}{:} \
{${lookup{$1}lsearch{/etc/passwd}{$value}{*:*}}}}}}}{1}{0}}"
server_set_id = $1


Any help would be greatly appreciated :-)

Thanks,

Tim