Category Archives: Perl

Perl scripts

Lyris Listmanager – Hacking the Web Frontend For Increased Functionality 2

Lyris Listmanager is a nice mailing list management system. However, there are a few features that are missing out of the frontend that make it hard to get by your day-to-day office job. Fortunately, most of it is written with TCL routines which are not encoded, which makes for easy updates to this code. Of course this is not supported by Lyris and if you have problems with it after making your changes, don’t expect them to support it. Make backup of your files – in Linux this is /usr/local/lm For this example, I’m going to add the Full Name field to survey results. By default, it shows the email address but not the name of the responding user. Step 1: Backup! 1cp -R /usr/local/lm /usr/local/lm.bak Step 2: Open the file which holds the routine for the “Survey Details” page. This is in /htdocs/reports/surveys/.tml 1vi /usr/local/lm/htdocs/reports/surveys/.tml Step 3: Modify the….

Change your default CPAN mirror 13

Changing your cpan mirror. Although it seems like it would be easy task to accomplish, it seems there is no easy way to change the perl CPAN module mirror list. I have only found two ways to do this. The first way I found is to modify your Config.pm in the CPAN module. In my install, it is located at /usr/lib/perl5/5.8.5/CPAN/Config.pm. Look for ‘urllist’ and you will see the list of mirrors. Modify this variable to change where CPAN looks for its modules. The second way is to re-run the CPAN configuration. You do this by running the cpan command line: 1perl -MCPAN -e shell and then running o conf init 1cpan> o conf init This will run the initial configuration of CPAN again. It seems like there should be an easier way to do this – if anyone knows please post a comment!

Postfix as a proxy to Exchange server Comments Off

More and more people seem to be using an open source mail server on linux, such as Postfix, to proxy e-mails coming in from the net and relaying them to their exchange server. I know I’ve had this type of setup since January and it has been working really well for me. It gives you the ability to do advanced spam and antivirus filtering on messages, while keeping the easy to use GUI interface for creating exchange mailboxes. When will we get a great e-mail client so we can finally ditch the Exchange/Outlook setup that most businesses rely on? I know I haven’t found a solution that comes close (I’m sorry, Evolution for Win32 needs to come a bit further, and Thunderbird isn’t even close). Anyway, once you have this system set up (there are some great instructions here, maybe I will cover this more another day), you may wish….