# Logs access Roundcube

**URL:** <https://forum.hestiacp.com/t/logs-access-roundcube/18111>\
**Category:** Mail\
**Created:** [February 17, 2025, 2:25pm UTC](https://forum.hestiacp.com/t/logs-access-roundcube/18111 "2025-02-17T14:25:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![molero.renan](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/molero.renan/32/6521_2.png) [@molero.renan](https://forum.hestiacp.com/u/molero.renan)\
**Post date:** [February 17, 2025, 2:25pm UTC](https://forum.hestiacp.com/t/logs-access-roundcube/18111/1 "2025-02-17T14:25:36Z")

</div>

Hello everyone, how are you? A client contacted me requesting the IP addresses of people who accessed his email. Where can I find this information? Is there anything I can do in this case?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [February 17, 2025, 3:21pm UTC](https://forum.hestiacp.com/t/logs-access-roundcube/18111/2 "2025-02-17T15:21:11Z")

</div>

If you mean roundcube logins, then, by default it only saves failed attempts in `/var/log/roundcube/errors.log`

You can edit file `/etc/roundcube/config.inc.php` and add the directive `log_logins`:

```auto
$config['log_logins'] = true;

```

From now on, it will save the login info (email account and ip) in `/var/log/roundcube/userlogins.log`

If the users are using an email client instead of roundcube webmail, you can search for the users in `dovecot.log`, this log also has the info for logins using roundcube but you will only see the local ip 127.0.0.1.

---

<div class="post-metadata">

**Author:** ![molero.renan](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/molero.renan/32/6521_2.png) [@molero.renan](https://forum.hestiacp.com/u/molero.renan)\
**Post date:** [February 17, 2025, 4:42pm UTC](https://forum.hestiacp.com/t/logs-access-roundcube/18111/3 "2025-02-17T16:42:57Z")

</div>

Thank you very much, @Sahsanu! This will help me a lot. I will activate this option right away.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [March 19, 2025, 4:43pm UTC](https://forum.hestiacp.com/t/logs-access-roundcube/18111/4 "2025-03-19T16:43:29Z")

</div>

Closed on March 19, 2025, 4:43pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
