Thursday, April 17, 2008

How to setup Mailman List Administration on a different Port

This is just a really quick set of commands that I needed to use in order to fix my mailman html administration to work on another port. My mailman installation is on ubuntu (debian), so your locations might be different.

I needed mine to work on port other than 80 so this is what I dug up after some research:
In your mailman config file (/etc/mailman/mm_cfg.py):
search and replace the port in the Default URL Pattern:


DEFAULT_URL_PATTERN = 'http://%s:8080/mailman/'
(the 8080 represents the port you would like to use,
so if you are using a different port, plug it in there)
Use a program like vi in your ssh connection or you use webmin, edit this file in the file editor.
I would also recommend checking these settings if they are not already there:
# Max recipients for each message
SMTP_MAX_RCPTS = 4
# Max messages sent in each SMTP connection
SMTP_MAX_SESSIONS_PER_CONNECTION = 30

I had to change these to work properly with my isp host as mailman was sending too many recipients per message and it ended up bouncing.

Ok, now save your file.

You will notice that this will not change any of your current administrative pages and it will unfortunately still end up giving you the old urls (without the port you need).

To fix this you can use this little session I saved to remind myself what I did (it took me a while to find the location, but)...
> cd /var/lib/mailman/bin
> /withlist -l -r fix_url mailman
bash: /withlist: No such file or directory
> ./withlist -l -r fix_url mailman
Importing fix_url...
Running fix_url.fix_url()...
Loading list mailman (locked)
Finalizing
Saving list
> /etc/init.d/mailman force-reload Mailman
* Restarting Mailman master qrunner mailmanctl
...done.
Voila! Now you should be able to reload those pages and see the changes: your urls should include the port that you need.

Labels: , , , , , , , , , , , , , , , , , , ,

Friday, March 28, 2008

Configuring Linux Apache on Virtual Dedicated Server via SSH

So I ran into an issue these last few days where I was taking way too much RAM on my server. Of course, that is the woe of someone who is always pushing the limits of whatever computing power I can get my hands on.

I had to get my feet wet a little bit more with ssh, apache configurations, httpd.conf, and even little things such as commands on how to navigate within Linux. I am fairly versed in many computer aspects, and this wasn't too difficult, but I imagine I will forget how to do this in the next week, so I try to keep a good record of what I do.

I have decided to publish my video for others. I hope you will use it for good and reciprocate my efforts by providing a link to either my site http://www.SaveonAtoZ.com or this one http://www.MauricioZuniga.com.

So without further ado, here is the video on how to configure your httpd.conf on your virtual dedicated server. Mine, as you can see was hosted on eDealdomains.com - But I am sure it can work for you on almost any control panel with SSH connection (please refer to your control panel).

Lastly, I did run out of time in the video right at the end ... the only thing left for you to do is restart apache service and you are set to go. In my control panel there is a way to do that. Worst case scenario, you could always reboot the server if you can't figure out how to reboot just the apache service (this is how you will know if your edits broke something or not!). Just google restart apache and I am sure you can find the answer with your new tools and the ability to work with ssh.

By the way, i would recommend making one change at a time in your httpd.conf then restarting Apache. That way you can easily debug for issues and you will know where your problems are. Good luck to you, and remember to make backups before you do anything. Lastly don't blame me - please use any of my information at your own risk!

Link to SWF Video :Configuring Linux Apache On Virtual Dedicated Server via SSH (Will Start Video, Right Click to Stop it). To download video right click on link from here.

Start Video By Clickin on Image :

(Right click on video to stop it)

Labels: , , , , , , , , , , , , , ,

Sunday, March 9, 2008

Web Hosting, Virtual Dedicated Servers, and Clusters - My experiences

Hi Rammahi,
This brings me to notion that i need to do some more reviews of hosting companies as I have been through a few of them since i am a very heavy hosting user. I am always looking for the best value.

So depending on your needs and your budget these are my recommendations:

Under $7 contenders:
Godaddy.com : Their servers are reliable and never had a problem with ther linux system until I tried to load over 500 domains in my account. I was then told that I had network violation because I was redlining the server; this is understandable. But I must warn you that their console broke down before I got to the network violation; I had domains stuck in their system in limbo for weeks upon weeks, without any action in their system with several tickets. Godaddy is fairly good about customer service, but don't expect top notch ticket support for 7 dollars a month (I can also understand this; you are hardly paying for an hour worth of a persons time and their system is meant to be self-service in order to give you those cost-savings).

A eDealDomains.com - They have $3.99 Windows and Linux Hosting; but this limits you to one domain. For $7 you can get a shared hosting plan with 'unlimited' domains.

eDealDomains provide some better domain rates for .coms so is why I have an account with them. They have all the luxuries that Godaddy does from what i can tell; but they have same limitations that Godaddy does. You can find their hosting deals here: AllRightHosting.com


You can get all the benefits of the $1.99 domain with any non-domain purchase as well as free email, and free hosting with your domain purchase, etc. I ended up using a virtual dedicated server for my purposes and it seems to be working out since I get 500 gbytes of transfer per month.

ReliableSite.net - They deserve an honorable mention as I have an account with them and I have some of my major sites with them since I had to move off WebHost4Life.com. What they offer: Windows load/balanced clustered hosting solution compatible with PHP/MySQL projects. Since its Windows, you get ASP, ASP.NET. Cons: its not the cheapest, it seems to be a small operation, it can't handle everything I can throw at it. I did some research and a Windows 'Clustered' Solution seems to be limited to 4 (or was it 8?) Servers as compared to what I was looking for - something more akin to a Amazon Elastic Computing Cloud power for a shared hosting environment.

Alas, my friend pointed me out to mediatemple.net. I do not have an account with them, but I am very curious as their copy and graphics make me want to try it out. I think that I would have to end up going with the dedicated virtual solution, but at $50 it seems a bit expensive as compared to the $30 virtual dedicated server I have with edealdomains.com; with almost the same specifications. Mind you there do some to be a series of perks to media temple that make it a better product: it runs on a linux cluster service (I don't think that is the case for edealdomains.com, but I could be wrong). Media temple provides you with reseller tools for the service you are purchasing. Chances are you will only use a small portion of the resources allocated to you and they have provided you with whm/cpanel solution for reselling. They have a shared solution starting at $16.67 called the Grid, but its limited to 100 domains; so it doesn't work for me. But they do seem to have instant activation.

Labels: , , , , , , , , , ,