hello,
in my syslog
i have lines of:

Feb 28 12:18:04 diggy-ocn-drop imapd-ssl: Connection,
ip=[::ffff:104.xxx.xxx.xxx]
Feb 28 12:18:04 diggy-ocn-drop imapd-ssl: LOGIN, user=m...@mydomain.co,
ip=[::ffff:104.xxx.xxx.xxx], port=[57204], protocol=IMAP
Feb 28 12:18:04 diggy-ocn-drop imapd-ssl: LOGOUT, user=m...@mydomain.co,
ip=[::ffff:104.xxx.xxx.xxx], headers=0, body=0, rcvd=77, sent=330, time=0,
starttls=1
Feb 28 12:20:04 diggy-ocn-drop imapd-ssl: Connection,
ip=[::ffff:104.xxx.xxx.xxx]
Feb 28 12:20:04 diggy-ocn-drop imapd-ssl: LOGIN, user=m...@mydomain.co,
ip=[::ffff:104.xxx.xxx.xxx], port=[57206], protocol=IMAP
Feb 28 12:20:04 diggy-ocn-drop imapd-ssl: LOGOUT, user=m...@mydomain.co,
ip=[::ffff:104.xxx.xxx.xxx], headers=0, body=0, rcvd=77, sent=330, time=0,
starttls=1

I want to add additional information to these lines.
The ip address is the public IPv4 of my server.

I want to be able to add the public IPv4 address of the remote client
trying to login to courier-imapd

in the file /etc/courier/imapd-ssl  I see the line
   SSLLOGGEROPTS="-name=imapd-ssl"

can I add additional text to that line to include the remote ip address?

I have searched the web, but I cannot find any examples on what to put
there.

thank you
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to