Re: [EXIM] received protocol setting

Page principale
Supprimer ce message
Répondre à ce message
Auteur: James Fidell
Date:  
À: exim-users
Sujet: 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/ ***