General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] How to log the remote IP in sogo log file


Chronological Thread 
  • From: André Rodier ( ) < >
  • To: SOGo users list < >
  • Subject: [SOGo] How to log the remote IP in sogo log file
  • Date: Sun, 07 Apr 2019 15:19:28 +0100
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca B9E0B1DE515B

Dear SOGo users and developers,

I have SOGo 3 successfully running behind nginx, but there is something
that bother me.

All my log entries in /var/log/sogo/sogo.log are referring to 127.0.0.1

I have tried the following into nginx:

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;

Is there any header to pass to SOGo, to allow logging the real IP
address, please?

Thanks for your help.

--
André Rodier


  • [SOGo] How to log the remote IP in sogo log file, , 04/07/2019

Archive powered by MHonArc 2.6.18.

Top of page