Customized WebMail Notifier (x-notifier) Script for Squirrelmail

I use the WebMail Notifier / or as it’s nowadays called – the X-notifier plugin in Firefox to see if I have gotten any new e-mails.

The standard ones – gmail or hotmail works great, but there are also scripts (xnotifier scripts here) to make this work with your own – or other e-mails based on other e-mail servers, for example Squirrelmail.

To customize this to work with your own setup you may need to change the script available on the link above (as of version 2011-01-04).

If your squirrelmail web server enforces https and is installed on for example and not (which the script by default assumes), you will have to alter the script.

I had to change this function in the code to make it work:

function init(){
}else if(this.user.indexOf("@")!=-1)this.server="https://mail."+this.user.split("@")[1];
this.loginData=[this.server+"/squirrelmail/src/redirect.php","login_username", "secretkey",];

The WebMail notifier script squirrelmail_guldmyr

The X-Notifier script squirrelmail_guldmyr_xnotifier

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.