Приветствую!

В спецификации exim описан процесс SMTP-аутентификации, в котором указано,
как меняется значение переменной $authenticated_sender. Процитирую:

"
When a client supplied an AUTH= item on a MAIL command, Exim applies the 
following checks before accepting it as the authenticated sender of the 
message:

    * If the connection is not using extended SMTP (that is, HELO was used 
    rather than EHLO), the use of AUTH= is a syntax error.

    * If the value of the AUTH= parameter is <>, it is ignored.

    * If acl_smtp_mailauth is defined, the ACL it specifies is run. While it 
    is running, the value of $authenticated_sender is set to the value 
    obtained from the AUTH= parameter. If the ACL does not yield accept, 
    the value of $authenticated_sender is deleted. The acl_smtp_mailauth ACL 
    may not return drop or discard. If it defers, a temporary error code 
    (451) is given for the MAIL command.

    * If acl_smtp_mailauth is not defined, the value of the AUTH= parameter 
    is accepted and placed in $authenticated_sender only if the client has 
    authenticated.

    * If the AUTH= value was accepted by either of the two previous rules, 
    and the client has authenticated, and the authenticator has a setting for
    the server_mail_auth_condition, the condition is checked at this point. 
    The valued that was saved from the authenticator is expanded. If the 
    expansion fails, or yields an empty string, 0, no, or false, the value of 
    $authenticated_sender is deleted. If the expansion yields any other 
    value, the value of $authenticated_sender is retained and passed on with 
    the message.
"

У меня acl_smtp_mailauth не задано, клиент успешно аутентифицируется, 
и server_mail_auth_condition в аутентификаторе не задано, и, согласно
перечня проверок выше, логично предположить, что $authenticated_sender 
должен был установиться в п.4 и более не меняться, но он пустой:

acl_check_rcpt:
        [...]
        accept  
                authenticated   = *
                logwrite        = boo-boo $authenticated_sender
        [...]

Dec 20 12:30:17 emx exim[43812]: 2011-12-20 12:30:17 boo-boo
Dec 20 12:30:18 emx exim[43812]: 2011-12-20 12:30:18 1Rcwxd-000BOe-8C 
H=(solovyov) [109.68.41.128] Warning: Attachment: \353\360 1211-0294.pdf
Dec 20 12:30:18 emx exim[43812]: 2011-12-20 12:30:18 1Rcwxd-000BOe-8C <= 
[email protected] H=(solovyov) [109.68.41.128] P=esmtpa 
A=LOGIN:[email protected] S=198781 
[email protected]

Просветите пожалуйста, что не так? Спасибо.

-- 
MINO-RIPE

_______________________________________________
Exim-users mailing list
[email protected]
http://mailground.net/mailman/listinfo/exim-users

Ответить