[RCU] X-header with authenticated username

Helpdesk Crossnet Support support at crossnet.net
Mon Jul 7 17:34:13 CEST 2008

Hi Roundcube!

We have recently installed a roundcube server and testing it. There is a small feature that I miss. I would like to add an extra x-header to all e-mail sent from roundcube with the authenticated username. Something similar to what squirrelmail uses.

For example: If I use a custom profile in roundcube and set the email address to something else. The message that is delivered does not include a header with the authenticated user.

Squirrelmail have this info in the headers of the mail.
Received: from (SquirrelMail authenticated user ruben at testing.se) by squirrelmail.crossnet.net with HTTP; Mon, 7 Jul 2008 17:01:17 +0200 (CEST)

Would it be possible to somehow add the authenticated username in the x-headers?

We tried to modify the User-Agent in main.inc.php but the header that came with the mail looked like this.

User-Agent: RoundCube Webmail/0.2a User: %u

As you can see, I don't want %u but ruben at testingroundcube.test<mailto:ruben at testingroundcube.test> instead. It should not be hard to get it to work or to add an extra X-header.

The reason I want this is so that no one can fake emails and to make it easier to track abusive users.

Can someone please tell me how to get this to work?

Best Regards
Crossnet Technical Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20080707/1ea5883d/attachment-0001.html>
-------------- next part --------------
List info: http://lists.roundcube.net/users/

More information about the users mailing list