[exim] exim multi domains smtp problem

Góra strony
Delete this message
Reply to this message
Autor: Sysop
Data:  
Dla: exim-users
Temat: [exim] exim multi domains smtp problem
I have problem with sending emails from exim smtp. All user acounts and
password i have in mysql.
I authenticated users by his email adres because i have several domains
and the exim adding my primary_hostname to end of login/adres

where i doing wrong ?

exim.conf
[...]
auth_plain:
driver = plaintext
public_name = PLAIN
server_condition = ${if crypteq{$3}
{{md5}${lookup mysql{SELECT password FROM users
WHERE login = '${quote_mysql:${local_part:$2}}'
AND enabled = '1'}{$value}{*}}}{yes}{no}}
server_prompts = :
server_set_id = $2
[...]

logs:

2006-10-21 20:01:54 1GbLAB-00018P-NT SA: Action: scanned but message isn't
spam: score=-2.0 required=5.0 (scanned in 15/15 secs | Message-Id:
20061021195751.00005089@xavras). From <"maciek@f*****l.pl"@w**.pl>
(host=NULL [192.168.0.2]) for admin@t**2.pl
2006-10-21 20:01:54 1GbLAB-00018P-NT <= "maciek@f*****l.pl"@w**.pl
H=(xavras) [192.168.0.2] P=esmtpa A=auth_plain:maciek@f*****l.pl S=1199
id=20061021195751.00005089@xavras

--
|_|0|_| Maciej Friedel
|_|_|0| maciek@???
|0|0|0| rlu #76673

________________________________________________
Message
sent using UebiMiau 2.7.2