Home

Disabling SquirrelMail folders

2009/02/03

We are not an IMAP shop, but we use SquirrelMail to provide webmail access to our users. Therefore we need a way to restrict folder access via SquirrelMail. I came up with this trick some day in 2005:

  1. Edit <SquirrelMail installation directory>/functions/page_header.php and comment out the line:
    displayInternalLink ('src/folders.php', _("Folders"));

    This removes “Folders” from the menu, but still, they are directly available.

  2. Assuming bash as the root shell:
    # cd <SquirrelMail installation directory>/src
    # for i in folders*.php
    do
         cp /dev/null $i
    done
    

and you are done.

[original page]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: