[exim] SMTP AUTH with saslauthd on FreeBSD help

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Serhan Türkmenler
Data:  
Para: exim-users
Asunto: [exim] SMTP AUTH with saslauthd on FreeBSD help
Hello

I am using FreeBSD 4.10 with Exim 4.32 as a gateway. I would like to add SMTP AUTH over the current config which has ip access control. So I think all I need is the usernames and passwords. From what I see in the docs saslauthd is fit for the job I have recompiled and installed exim with saslauthd support on my test server and things seem fine, but after running

exim -d+auth -bh 127.0.0.1

and checking the user that I have created with commands
saslpasswd2 -c test_user
./encode "\0test_user\0test_pass" -->>
AGRlbmVtZTIAZGVuZW1l (for example)
.
.
.

AUTH PLAIN AGRlbmVtZTIAZGVuZW1l

I get the error (NO PAM auth error)
Of course I am not running exim as the root user.

On one of the posts I read that "In some operating systems, PAM authentication can be done only from a process running as root"

I am not familiar with PAM actually. I beleive I am not on the right track. If there is a documentation or a previous post on simply getting the SMPT AUTH on Exim-FreeBSD I would be glad to receive help.
-Also on the man page of saslauthd I read that it has to work with an auth method(I can see it is runnign with the default pam parameter..)

Here is my authenticators..

begin authenticators
plain:
driver = plaintext
public_name = PLAIN
server_condition = ${if saslauthd{{$2}{$3}}{1}{0}}
server_set_id = $2
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
server_set_id = $1

Serhan Türkmenler