Disable SquirrelMail?

Codefighter

Verified User
Joined
Oct 21, 2004
Messages
21
Hello All,

I want to disable SquirrelMail for of my sites users (I am admin), so I don't have to run an IMAP server.

Can I disable or remove SquirrelMail, without breaking DA?

Thanks
 
Hello,

Squirrelmail should be removable by simply removing the installation files at /var/www/html/squirrelmai*:
Code:
rm -fr /var/www/html/squirrelmai*
You may additionally want to remove the Alias from httpd.conf:
Code:
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf~2004-10-22
perl -pi -e 's/.+squirrelmail.+//'  /etc/httpd/conf/httpd.conf
You may only run these commands at your own risk. :)

Note that even after removing Squirrelmail's installation files, the link to Squirrelmail may remain in DA itself. Only way to remove that is by making a custom theme.

Cheers!

Phi1.
 
Last edited:
Thanks.

Maybe I'll try to set things up on a test server before I execute it on a production server. In the meantime, I guess I'll just enable imapd until I get it all sorted out.

On a side note, I'm more a windows guy. Silly thing, but when you recommend to do the rm -f, I would normally just rename the folder so I could easily put it back later.

If I were to do this instead of the rm, would there possibly be problems with something like symbolic links still referring to files?
 
And I wouldn't even rename the subdirectory (they're only folders to Windows folk :) ); I'd just remove the link, which will prevent anyone from using squirrelmail, since the only way to get to it is through the link.

And no, renaming the file will effectively break any links, so it will stop working.

Jeff
 
vandal said:
i would just backup the index.php in the squirrelmail folder and make a new one that forwards to your other webmail client
Isn't it easier to just change the link?

Jeff
 
depends on your users i guess, if you had a bunch that were using squirrel mail then they won't just recieve a page not found, but forwarded to the new email client.
 
So why wouldn't you just change the squirrelmail link to link to your new mail client?

A few years ago we tried changing webmail clients on a small ISP we owned; it cost us about 15% of our customer base. Never again will we stop allowing a webmail client we've used in the past.

Jeff
 
I want to disable SquirrelMail for of my sites users (I am admin), so I don't have to run an IMAP server.

Suggest that you don't disable it, but just block the port to the IMAP server. This was you can still have the webmail, and not worry about updates.
 
Back
Top