I'm trying to get SMTP authentication working on my freebsd-server,
but I just can't get it to work. I've searched the maillist and
google several times but without any result.
The problem is this:
I've added the following lines to my configure file:
plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if pam{$2:$3}{1}{0}}"
server_set_id = $2
When I try to login, I get "535 Incorrect authentication data" error
although the username and password are correct. I've runed exim with
debug level on 10 and this is the result:
Does anyone know what I'm doing wrong? By the way I haven't put
anything special in my /etc/pam.conf is this neccesary? If so what do
I need to put into it.