Hello

> I am attempting an install as per
> http://www.dbmail.org/dokuwiki/doku.php?id=debian:exim4
>
> I have got to the Go TEST, TEST, TEST part
>
> I get the following:
>
> vms01:~# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> 220 vms01.localhost ESMTP Exim 4.50 Sat, 17 Mar 2007 18:57:10 +1300
> EHLO localhost
> 250-vms01.localhost Hello root at localhost [127.0.0.1]
> 250-SIZE 52428800
> 250-PIPELINING
> 250-AUTH PLAIN LOGIN
> 250-AUTH=PLAIN LOGIN
> 250 HELP
> AUTH PLAIN AHRlc3R1c2VyAHRlc3RwYXNz
> 435 Unable to authenticate at present
>
> Does anyone has any thoughts on this.


Put smth like this in your exim's configure file:

auth_plain:
  driver = plaintext
  public_name = PLAIN
  server_prompts = :
  server_condition = ${if eq{$3} {${lookup mysql{SELECT passwd \
                from dbmail_users \
                where userid='${quote_mysql:$2}'}{$value}fail}}{1}{0}}
  server_set_id = $2

in the "authenticators" section
Of couse, you must have correct "mysql_servers" statement and 
"accept  authenticated" with parameters in ACL's section


And try to read exim's documentation - it is very, very helpful
and don't forget to debug 
(I use this command: "exim -bh 192.168.0.1 -d+all" )



-- 
Oleg Lapshin

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to