1

Topic: Disable Mail redirection in Iredmail

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.6.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Centos 5.8
- Related log if you're reporting an issue: Disable Mail redirection
====

Some of customer username and password has been compromised due to weak password being set. Once spammer has their account access, they will log in to the usermailbox and perform mail redirection in the user filters. Apart from that the administrator were not able to control them since, the administrator were not able view the customer mail and setting unlike email forwarding which is visible to the domain administrator. Can the email redirection on feature on the filters be disabled but remain other feature like auto-reply vacation. I have in the forum http://www.iredmail.org/forum/topic1209 … dcube.html
but were not able to figure out to disable it. Will need your expert opinion on this.

Niven

2

Re: Disable Mail redirection in Iredmail

Yes, you can disable some actions. Check /var/www/roundcubemail/plugins/managesieve/config.inc.php:

$config['managesieve_disabled_extensions'] = array();

3

Re: Disable Mail redirection in Iredmail

Hi Zhang,

Thanks for your reply. I found the function but how should I insert the code if I want to disable the mail redirection in the filters? How the syntax looks like? Thanks and sorry, I am quite new to Iredmail

Niven

4

Re: Disable Mail redirection in Iredmail

Sieve command for redirecting email is "redirect". So:

$config['managesieve_disabled_extensions'] = array('redirect');

5

Re: Disable Mail redirection in Iredmail

I tested it with Roundcubemail-0.9.5, looks like it doesn't support "redirect" extension. sad
As mentioned above "$config['managesieve_disabled_extensions']" line, it does mention "not all extensions are implemented".

If you really need this feature, it's better to create a ticket on Roundcube development site to let developers know:
http://trac.roundcube.net

6

Re: Disable Mail redirection in Iredmail

ZhangHuangbin wrote:

I tested it with Roundcubemail-0.9.5, looks like it doesn't support "redirect" extension. sad
As mentioned above "$config['managesieve_disabled_extensions']" line, it does mention "not all extensions are implemented".

If you really need this feature, it's better to create a ticket on Roundcube development site to let developers know:
http://trac.roundcube.net

Hi Zhang,

Noted with thanks. I will create a ticket on Roundcube.