Install MailArchiving system on QMailToaster


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

If you have a mailserver, it may have mailinglists setup for your users/customers internal communication. Some of them/milis' owner/you may want to archive emails sent to mailinglists rather than each users keep the same email copy on their Email Client. (Ms. Outlook has data file limitation about 2GB you know - once as Technical Support I must the datafile with new one if it near 2GB)

I am using QMailToaster (QMT-ISO) as mailserver, the developers and members are very very helpfull (hello there Jake, Erik, Nick, AM, dnk, Jean-Paul and others...). With ezmlm as mailinglist manager, it has ezmlm-cgi to maintain the archive. But for me, it seems difficult and the interface not user-friendly. Yet there are many mailarchiving on the internet but finally I chose MhonArc (they said MailArchive is using it) and mharc. Once I asked Jake to include MhonArc install script on QMT-ISO, but his script is to plain simple

mharc installation itself very easy and explained straightforward on mharc's Installation instructions, so as my contribution back to community, I wrote install-mailarchive.sh script to ease installation. It's not an automatic installation script but rather a interactive script, this script need you to type-in some values. By default mharc only support MBOX format to read mail on MTA/MUA (qmailtoaster user Maildir format) but luckily Ben has create a patch to enable read Maildir format.

Enough talk lets start the installation...



[ more.. ]


Squirrelmail Global Address Book


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

A Global Address Book for your Domain account which available throughout WebMail (SquirrelMail)

Please see my scripts on Qmailtoaster Archive

Note:

  1. Creation of address book is not automatic so you need to add the scripts on crontab
  2. These scripts only create an address book only for 1 domain specified on the configuration.
  3. It will create 1 file for 1 domain specified, so if use squirrelmail for multiple domain, it wont suits you. (later revision may available on next version)
  4. Users can't update his information on Global Address book
  5. For users who use Email client and want to access Global Address he can export Address book from SquirrelMail and import in on Outlook Express / Ms. Outlook (tested OK, no -mapping- changes need to make)

Simple installation how to:

# cd ~
# wget http://am3n.profusehost.net/files/sqweb_gabook.tar.gz
# tar xzvf sqweb_gabook.tar.gz
# cd scripts
# vi sqweb_gabook.sh (edit the variables there)
# vi sqweb_gabook.php (edit the variables there)
# crontab -e (weekly update, you can change if you want daily update)
0 12 * * 3 /root/scripts/sqweb_gabook.sh >/dev/null



Apache virtual folder vs real folder


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web
did you know Apache virtual folder which created using Alias command is higher than a real folder with same name under a VirtualHost??

say you have a virtual folder "scripts" made using command
Alias /scripts/ /usr/share/toaster/htdocs/scripts/

then under your VirtualHost folder, there is the same folder "scripts"
<VirtualHost *:80>
    ServerAdmin pakogah@pala.bo-tak.info
    DocumentRoot /home/www/myweb
    ServerName www.myweb.com
    ErrorLog logs/
www.myweb.com-error_log
    CustomLog logs/
www.myweb.com-access_log common
</VirtualHost>

with full path /home/www/myweb/scripts, if you have a file named countdown.php under it. you won't able to access it via http://www.myweb.com/scripts/countdown.php because the folder scripts is pointed to virtual folder "Alias" scripts

so if you have create an Alias make sure it very unique, that no VirtualHost is using it, or if you already using it, then you have change the folder under your VirtualHost to another name to make it accessible.

I have learn my lesson, the hard way......



Let's learn How to use Ms Paint


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web
Do you like iPod?
Don't have money to buy it?
Perhaps now what you can do is draw it then said a magical word.
May be it will become yours




cgi-bin folder per-user folder


 BlinkList   del.icio.us   digg   Furl   linkaGoGo   Newsvine   reddit   Shadows   Simpy   Spurl.net   Tailrank   Yahoo! My Web

Setup your Web server with PHP engine plus MySQL database connection is pretty easy and straightforward. I have done this many times. Usually when I am installing server, I just choose apache, php and mysql and later CentOS installer (or YUM) will add requires additional packages like php-mysql, etc and you can add more PHP modules later.

But this time, I got asked by my colleague to provide apache that can execute Perl script. Actually this pretty easy if he got root access to put this perl script on /cgi-bin/ ScriptAlias which located on /var/www/cgi-bin/. But then he only has user access and I have implement mod_userdir on apache, no way he can put his script on /var/www/cgi-bin/

So what I need to do is configure each users has a cgi-bin folder on their public_html, then they can put perl script there and execute it.

This setup requires and make sure you install them (I am not to describe how to install each of them)

  • Linux (I am still using CentOS - other distro should be fine)
  • Apache (default webserver package in CentOS) - the httpd.conf will be tweaked
  • perl (and its modules you need)
  • mod_perl (dont you forget this)

Okay, let's start!!



[ more.. ]


Page :  1