Re: [EXIM] received protocol setting

トップ ページ
このメッセージを削除
このメッセージに返信
著者: James Fidell
日付:  
To: exim-users
題目: Re: [EXIM] received protocol setting
Quoting James Fidell (james@???):
> Logged in as root, I'm invoking exim with :
>
> exim -d9 -bS -oMr myprotocol < bsmtpfile
>
> debug_print = "$received_protocol" for the router in question
> still displays "local-bsmtp". Any ideas why $received_protocol is not
> set to "myprotocol" ?
>
> (Exim 2.12, btw)


Digging about in the source, this appears to be because at the start of
smtp_start_session (smtp_in.c) the value of received_protocol is reset
to one of "smtp", "local-bsmtp" or "local-smtp" despite the fact that it
was already set on the command line and has the correct value on entering
the function.

Is this a bug ?

James.
-- 
 "Yield to temptation --             | Consultancy: james@??? 
  it may not pass your way again"    | http://www.cloud9.co.uk/james
                                     |
        - Lazarus Long               |              James Fidell


--
*** Exim information can be found at http://www.exim.org/ ***