[Exim] SMTP AUTH, relaying and MySQL

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Roger Håkansson
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] SMTP AUTH, relaying and MySQL
This is a multi-part message in MIME format.
--
Hi, I'm trying to set up Exim(4.01) to allow relaying only for local
machines and for authenticated users.
I've added this to my config.
----------------------------
hostlist auth_relay_hosts = *

login:
        driver = plaintext
        public_name = LOGIN
        server_prompts = Username:: : Password::
        server_condition = ${lookup mysql{select if(count(*), "1",
          "0") from mailusers where id = '$1' and base64 =
          '$2' and can_send = 'Y'}}
        server_set_id = $1
----------------------------


Does it seem right?

When I run exim -bV I get this errormessage
-----------------------------
root@solpc-01 /etc/exim #exim -bV
Exim version 4.01 #3 built 17-Apr-2002 21:46:58
Copyright (c) University of Cambridge 2002
2002-04-18 11:48:04 Exim configuration error in line 583:
auth login: cannot find auth driver "plaintext"
root@solpc-01 /etc/exim #
----------------------------

Any clue to why exim doesn't like plaintext driver?

--
hson
--
[ smime.p7s of type application/x-pkcs7-signature deleted ]
--