Код: Выделить всё
=<admin@mydomain.ru> rejected RCPT <alex@mail.ru>: "Homo hominus lupus est"
Модератор: xM
Код: Выделить всё
=<admin@mydomain.ru> rejected RCPT <alex@mail.ru>: "Homo hominus lupus est"
Код: Выделить всё
begin authenticators
auth_plain:
driver = plaintext
public_name = PLAIN
server_condition = ${lookup mysql{SELECT `username` FROM \
`mailbox` WHERE `username` = \
'${quote_mysql:$auth2}' AND `password` = md5\
('${quote_mysql:$auth3}')}{yes}{no}}
server_prompts = :
server_set_id = $auth2
auth_login:
driver = plaintext
public_name = LOGIN
server_condition = ${lookup mysql{SELECT `username` FROM \
`mailbox` WHERE `username` = \
'${quote_mysql:$auth1}' AND `password` = md5\
('${quote_mysql:$auth2}')}{yes}{no}}
server_prompts = Username:: : Password::
server_set_id = $auth1
auth_cram_md5:
driver = cram_md5
public_name = CRAM-MD5
server_secret = ${lookup mysql{SELECT `password` FROM \
`mailbox` WHERE `username` \
= '${quote_mysql:$auth1}'}{$value}fail}
server_set_id = $auth2