Things to watch out for when configuring sendmail. Specially when deploying it for relaying mail for php via your ISP.
Although I thought sendmail was a out-of-box solution for this but I've ran in to this trap so many times that I thought I might as well document it for future, instead of googling everytime.
On debian based distro anyway you just go ahead install sendmail as such.
sudo apt-get install sendmail
Once installed make sure your hostname is correctly configured for that machine. Anything like localhost.localdomain will make sendmail shat itself.
You can always check the log for sendmail to see whats going on.
sudo tail -f /var/log/mail.log
So, open up hostname and hosts file in /etc/
Inside the hosts file make sure it looks something like this
127.0.0.1 localhost
192.168.3.1 yourwebsite.co.nz webserver
Also make sure webserver is the name also mentioned in your hostname file.
Once done that you can restart this service for it to take effect and restart sendmail too.
I've been challenged by lack of cURL's ability to follow javascript redirects such as
document.location.href=dyJvo;
Some people do this for security reasons as they don't want scripted or bots to be able to access the web page.
So this is how I change the rules of the game.
When I do a normal cURL get request I get the following response
TGP Brownie
function kgDgcxsJR() {
var lbyXE = 'YdJrjlIwdWIspCNn';
var tKedu = 'wkenESdrNlxONGIE';
var dyJvo = 'QFPgzysIDcNdszwh';
var mFvGU = 751092;
var RZvuP = 432329;
mFvGU = mFvGU + RZvuP;
dyJvo = 'http://www.xyz.com/cgi-bin/brownie/submit.cgi' + '?' + 'fp=' + tKedu + mFvGU + dyJvo + lbyXE;
document.location.href=dyJvo;
}
Please turn on JavaScript
Finally a "real" gaming console! This is the sort of stuff that big companies try and stop develop otherwise they run out of ways to make money! This is not pandora
is all about. Have a look at its features
![]()
ARM cpu - the most compatible linux cpu ever made. ARM CPU's are specially developed to run with linux.
Dual SDHC card slots means you can emulate more then one game from different consoles at the same time, which is really cool.
I recently implemented a distance vector algorithm in C. Using a network simulator called cNET network simulator.
Runs straight out of the box for BSD based operating systems but for debian I had to hack it. Will outline the hack in a different post.
After implementing the distance vector algorithm the network load has also reduced as less links get less congested with packets. The only packets that get sent now are only that needs to update tables on neighboring nodes. Two types of packets are sent ROUTE and DATA packets.
![]()
Many routers these days still use this algorithm to work out the shortest path to other computers/routers in the network. Crucial aspect of any network discovery.
knownTable = table[j];
/* if the destination address is the same then we found that node in our table */
if(knownTable.address == newTable.address)
{
found = 1;
/* update the table with the cost */
/* to get to itself + the cost to get to that node */
int ab = 99999;
int newHop;
int k;
for(k=1;k (ab + bc) )
{
table[j].nexthop = newHop;
table[j].cost = ab + bc;
tablechanged = 1;
printf("\nLowest cost found %d - Updating Table\n", bc);
}
break;
}
Funny how people still love comparing a framework with another language. Very few always think outside the box and come down the judgments very quickly. Anyway I found it very amusing these stickers. magnets etc.![]()
Christian Flickinger posted this on his blog and took them to zen conference.
Just found these offers the other day. Telecom is offering hosting plans on unix servers using FreeBSD.
I think their intermediate plans arn't that attractive compared to some higher end ones. I also think the price is pretty competitive for what its offering.
If someone finds the "Singup" button please let me know. Here is the link to their plans
http://www.telecombusinesshub.co.nz/Internet/Hosting/Pages/CompareUnixPl...
My mate just told me about this really cool in the works firefox plugin, called Ubiquity
I think its a really cool concept bringing all the service in one place (user mashups) that you use almost regularly, like googlemaps, tinyurl, twitter, google calendar, wikipedia etc.
Check out the demo and see for yourself.
I found something really useful - thought i might share.
Tarranet lets you do a property valuation for free, it gives you a lot of other cool information about the property history as well. Like who built it when etc etc.. You need to sign up for an account tho, they will email you the pdf. www.terranet.co.nz/free
We recently bought a brand new house and I checked it out, the information seems very valid and up to date.
Just found out about this new Sony's new gadget called Rolly. It's been in the wild for a while now.
Looking at the price tag of $360 I don't think I'll be getting my hands on one any time sooner. Still worth checking out.
Here is the specifications:
* 1GB internal flash-memory.
* Bluetooth 2.0 connectivity for receiving and streaming music
* Editable “dance moves” + software for controll
* Battery specifications: 3.7V 1560 mAh rechargeable battery
* Battery life: 5h for music playback, 4,5h for streaming music over Bluetooth connection, 4h of music and motion combined, and finally 3,5h for streaming music over Bluetooth with motion