Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
EXIM - smtp auth for virtual users
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
spysz
n00b
n00b


Joined: 21 Apr 2007
Posts: 15
Location: Kraków

PostPosted: Sat May 26, 2012 5:26 pm    Post subject: EXIM - smtp auth for virtual users Reply with quote

Hi all!

I setup my EXIM to work with virtual domains and users. Everything works fine, even receive and deliver mail to user, except SMTP AUTH. Every information about users I put into the file domain.com/passwd.

Where is the problem?

My authenticators is:
plain:
driver = plaintext
public_name = PLAIN
server_prompts = "Username:: : Password::"
server_condition = "${if crypteq{$auth2}{${extract{1}{:}{${lookup{$auth1}lsearch{/etc/virtual/${domain}/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $auth1

I get error:
2012-05-26 19:20:54 plain authenticator failed for host.domain2.com (host.localnet) [xxx.xxx.xxx.xxx] 435 Unable to authenticate at present (set_id=user@domain.com): failed to open /etc/virtual//passwd for linear search: No such file or directory

> I have no idea why var $domain is empty.

But, I changed the ${domain} to specific virtual domain and I get another error:
2012-05-26 19:19:46 plain authenticator failed for host.domain2.com (host.localnet) [xxx.xxx.xxx.xxx]: 535 Incorrect authentication data (set_id=user@domain.com)

Also I got this error:
2012-05-26 19:25:12 SMTP protocol synchronization error (next input sent too soon: pipelining was not advertised): rejected "EHLO we-guess.mozilla.org" H=host.domain.com [xxx.xxx.xxx.xxx] next input="QUIT\r\n"

when I tried check settings this server using Thunderbird.

If anyone knows how to solve this problem, I will be greatful. ;-)

Best regards,
Simon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum