Sunday, September 21, 2008

dont eat the white rabbit candy

Nearly 53,000 Chinese children sick from milk - Yahoo! News
Over the weekend, the Chinese territory of Hong Kong reported the first known illness outside mainland China — a 3-year-old girl who developed kidney stones after drinking Chinese dairy products. She was discharged from the hospital, the Hong Kong government said.

Singapore said Sunday that it had found traces of melamine in another Chinese-made dairy product, milk-based White Rabbit brand candy.

great free blackberry software

Blackberry Freeware - Free Software
The people from Gwhizmobile just released a really great task management or todo list software. It so rich with features I'm having a hard time believing that its free. Got-2 enables you to create list and even sub-list of the things you have to do. You can cross of the list you have completed with the 3 different views you can use. I usually use the agenda view which I think makes things even more simple. But the list view and even the geographical view is great.

What makes Got-2 even more unique is its GPS integration or location base alerts. Imagine being alerted to get the dry cleaning since your near the area. Its a feature a lot of people need if you want to save time and maybe save you from making a second trip with your car.

- One easy to read screen with collapsible lists, subtasks, and agenda items.
- Choose your preferred view: simple list or week agenda.
- Get alerts based on time or location
- Share tasks and lists via email
- Prioritize-as-you-go by moving items up/down
- Keep track of progress by marking off tasks, appointments, agenda items, and subtasks.
- Stores data in BlackBerry Tasks and Calendar - sync with Outlook and Google calendar.
- Location integration with Google or BlackBerry maps.

download: Got-2 Task Management

Saturday, September 20, 2008

postfix and gmail

Newsvine - Configuring[Ubuntu] Postfix and Gmail in 10+1 Easy Steps
Step 6:

Now we can go back to our postfix configuration and make some changes to the file and create some other needed files. From this point out, all the things we are checking are meant to make sure Postfix itself is operational and has nothing to do with the certificates we created above.

Check your computer's hostname by looking in the /etc/hostname file. If you are using another Linux system this may be different (/etc/sysconfig/network or the like). To check the hostname file you can simple type $cat /etc/hostname and it will display the information in the terminal. Using this information, we want to make sure everything knows what the hostname is so run the command $sudo hostname replacing "" with what ever your hostname file says. This simply makes sure we are in a known state off wellness for the rest of the configuration.

Next move to the /etc/postfix directory, back up $sudo mv and open up the file in your favorite text editor (I think HowTo writers are suppose to say vi to sound cool but you can use gedit or nano if you like):

$sudo gedit

Copy the following lines to the bottom of your Being at the bottom, it will override any settings made at the top that have the same name.

## Add these lines to the bottom on

## TLS Settings
# For no logs set = 0
smtp_tls_loglevel = 1
# smtp_enforce_tls = yes
# Above is commented because doing it site by site below
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
smtp_tls_key_file = /etc/postfix/FOO-key.pem
smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache
smtp_use_tls = yes
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/FOO-cert.pem
smtpd_tls_key_file = /etc/postfix/FOO-key.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom

## SASL Settings
# This is going in to THIS server
smtpd_sasl_auth_enable = no
# We need this
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_local_domain = $myhostname
smtp_sasl_security_options = noanonymous
#smtp_sasl_security_options =
smtp_sasl_tls_security_options = noanonymous
smtpd_sasl_application_name = smtpd

## Gmail Relay
relayhost = []:587

## Good for Testing
# sender_bcc_maps = hash:/etc/postfix/bcc_table

# Disable DNS Lookups
disable_dns_lookups = yes
# Great New feature Address Mapping
# for example may mchirico@localhost to
smtp_generic_maps = hash:/etc/postfix/generic
transport_maps = hash:/etc/postfix/transport

One of the key entries in this stuff is the GMAIL RELAY section. This is the setting that turns our postfix system into a smarthost configuration. This is what we need to use use gmail's SMTP servers. More importantly. we are using port 587 which is not the SMTP port. This is why using gmail to send our outgoing mail is beneficial... ISPs do not block this port. Also notice that we have what appears to be repeated lines for our certificates. If you look closely however, one is smtp the other is smtpd. One is the configuration for the service, the other is the configuration for the client. Finally you can see a number of 'hash:' lines. The top of your config file will have some hash lines as well. Do not worry about those since the initial setup took care of those. The hashes we refer to need to be created still. Lets go do that now.

Step 7:

Setting up the sasl_passwd file and hash is necessary to log into gmail. Remaining in the /etc/postfix directory issue the command:

$sudo gedit sasl_passwd

This creates a new file in /etc/postfix called sasl_passwd.

Place into that file the following:


The smtp info needs to remain, but you must change the email address and the password to match your own.

Next we need to make a hash file out of this. Enter $sudo postmap sasl_passwd

That is all we have to do to make the sasl_passwd. Equally exciting is that the other hash files are just as easy to make.

Step 8:

Next create the generic file and hash using the same methods in the last section with this inside:

replace with your username on your linux box before the '@' sign and your hostname after the '@'. Similarly, replace '' with your gmail address.

Step 9:

Now we need to make the transport file and hash. This is the file that tells postfix how to rout emails it gets.

Open a new text file called transport and enter into it:

# This sends mail to Gmail smtp:[]:587
# Except mail going to the tape and closet server relay:[] relay:[]

What this tells postfix is to send all mail to gmail except for two cases. On my network I have two other computers. One called comp1 the other called comp2. I am telling postfix to send email meant for those two computers directly to them.

Remember to make the hash for the transport file.

Step 10:

We now need to create the tls_per_site file and hash. This is possibly the most important file to create after the This file will protect us from "man-in-the-middle" attacks by forcing a secure connection to the remote machine BEFORE we send any passwords.

Create the file tls_per_site and enter: MUST MUST MUST

Replacing my domains with your domains and making the hash with postmap.. yada yada. The 'MUST' keyword tells postfix to establish a secure connection with those domains before doing any password hanky panky. If you do not want to worry about your local network because it is small like mine and does not rely on wireless networking, then you can use the keyword MAY. Gmail is a MUST however.

Step 10 + 1:

Open using $sudo gedit and find the line that reads relay unix - - n - - smtp. It will be a little ways down. Beneath that line, you will probably see a few settings that start with '-o', we will be adding one more. Enter -o smtp_generic_maps= right below the relay line. This entry tells postfix to send out your emails with your gmail address as the originating address rather than your Ubuntu account and domain. When ever you edit the file you need to reload postfix. To do this simply issue the command
$sudo postfix reload.

That is all there is to it. Make sure your postfix server is started by typing $sudo postfix start. You should now have a working postfix server that sends messages out through gmail's smtp servers. Test it out and make sure it works.

Note: If you check the mail.log file you might notice that your certificate is not validating with gmail. I have not found a reason for this yet but it doe snot seem to impede the function

To fix the errors in you mail.log file follow These Instructions. However, replace Thawte_Premium_Server_CA.pem with Equifax_Secure_CA.pem

Friday, September 19, 2008

no more shorting!

Stocks soar as officials confirm gov't rescue plan - Yahoo! News
To help limit the freefall in financial stocks, the Securities and Exchange Commission announced it is temporarily banning the short-selling of nearly 800 financial stocks. Short-selling is the common practice of betting against company stocks by borrowing its shares, selling them, and pocketing the difference when they fall.

"The federal government has been petitioned by Wall Street to take evasive action in the money markets, the stock and bond markets, to avoid a complete meltdown of the credit system," said Joe Battipaglia, market strategist at Stifel, Nicolaus & Co. "Once the credit system melts down, the economy falls. We can hand-wring about if this is the proper thing for the government to do, or if Wall Street pulled the panic button too soon, but that's something for the historians to sort out."

Thursday, September 18, 2008

Gogii CDN

These be updates, folks. | The Dojo Toolkit
Speaking of the CDN

Google has started their own Ajax library delivery system, offering Dojo >= 1.1.1 as a cross-domain build: Give it a try just like you would the AOL CDN: