Strictly Programming

Getting Started with Maven Tomcat Plug in

Posted in Maven by sqllyw on 02/10/2009

Mini FAQ for OS X

Posted in Uncategorized by sqllyw on 02/09/2009

Setting Up Exim4 in Ubuntu 8.10.x

Posted in Uncategorized by sqllyw on 02/08/2009

Some related Links:

Setting up Exim SMTP Auth
SMTP Relaying Via a Smarthost
Gmail POP3 with Fetchmail


apt-get install mailx
apt-get install exim4

Note: this will remove the postfix if it is installed

To configure:

dpkg-reconfigure exim4-config

restart exim4:

invoke-rc.d exim4 restart

To relay with a smarthost, you need to update:
/etc/exim4/passwd.client, put something like this in the file:
example.com:abc@example.com:mypassword

restart the exim4 and do a test sending:

echo “my test” |mail -s “testing exim4″ abc@abc.com

check /var/log/exim4/mainlog and you should see some messages in the log about this test mail.

So far the exim was setup without smtp authorization, you need to enable SMTP Auth if you want to use RoundCube web mail in the same server.

Here is a guide about setting up the SMTP Auth.

Create a password for smtp and save it in /etc/exim4/passwd(create if not exists)

htpasswd -nd usernameforsmtp

copy and paste it to /etc/exim4/passwd (this has to be done when a new user is added, you do not have to restart exim4)

Update /etc/exim4/exim4.conf.template:

AUTH_SERVER_ALLOW_NOTLS_PASSWORDS=1
uncomment plain_server
sudo update-exim4.conf

restart exim4, this time the basic auth is on at least in the server side.

Really Setting up Apache Continuum in 10 min

Posted in Uncategorized by sqllyw on 02/06/2009

The title is not misleading, everybody said it will take a few min to setup Apache Continuum, but I spent more than two days to have it up and running, looking back, I’d like to document steps of how to really set it up in 10 minutes.

(more…)

Tagged with:

Using N95 with OS X

Posted in Uncategorized by sqllyw on 02/05/2009

Some tips on using N95 with Mac/OS X

(more…)