[RCU] Sending the original IP address to the IMAP server

Jorge Bastos mysql.jorge at decimal.pt
Sun Apr 14 12:49:58 CEST 2019


> > Hello Jorge,
> >
> > From the browser point of view, yes.
> >
> > However, I know this is technically feasible.
> >
> > Dovecot allows you to override the IP address, using the ID
> extension.
> >
> > I found this plugin:
> >
> https://github.com/corbosman/dovecot_ident/blob/master/dovecot_ident.p
> > hp
> >
> > Any chance this feature to be integrated in core, out of the box?
> >
> > Thanks,
> > André
> 
> I confirm this is now working, even when using imapproxy to cache IMAP 
> connections.
> 
> Question for the developers: Any chance to integrate this function 
> directly into RoundCube, without having to use a plugin ?
> 
> It seems to be a _de facto_ standard, accoring to Wikipedia:
> https://en.wikipedia.org/wiki/X-Originating-IP
> 

Ok I see what you want, and it may be handy to know in the headers the original IP.

For general public, I've been some users account being hacked, maybe with brute force have no idea, and the spammer logged in, in Roundcube and sent spam form there, manually or automatically that I don't know, but it's a fact that is happening now.

Anyway I'm using the plugin "additional_message_headers", that don't know if will give you the IP you want, but I'm already inserting that In messages:


$config['additional_message_headers']['X-Remote-Browser'] = $_SERVER['HTTP_USER_AGENT']; $config['additional_message_headers']['X-Originating-IP'] = $_SERVER['REMOTE_ADDR']; $config['additional_message_headers']['X-RoundCube-Extra'] = "MS Exchange Project 512bit, partner testing program";


More information about the users mailing list