Friday, October 14, 2005

saving outgoing mail

This is about:
How to save outgoing mail from your Machine(using postfix) to another Email address

In main.cf:
sender_bcc_maps = hash:/etc/postfix/copy-outboundMail

copy-outboundMail:
tmahesh@xyz.com backup@yzx.com

postmap copy-outboundMail (tell postfix system to hash this file)

postfix reload (I don't know if this is necessary)

/etc/init.d/postfix restart

there you go all mail you now send using smtp server as localhost will also go to backup@yzx.com

Saturday, September 03, 2005

searching in vim

* for searching under the cursor forward (use # to serarch backward)
Another thing worth knowing that is related to this: when entering a search, hit and the word under the cursor will appear in your search. This is very useful if you want to search for some variation of the word under the cursor.

Saturday, August 27, 2005

creating zip archive

zip -rv search-keys.js content/ skin/

add content and skin directories to archive named search-keys.js

Sunday, August 21, 2005

freebsd

Japan mirror 15kbps Max 3 connection
German mirror 28kbps allows 6 connections

/dev/daos* will be the device for usbmass storage
/etc/periodic/* will be the location for crontab like stuff
pkg_add -r pkgname for installing
cvsnup for compiling packages ala emerge of gentoo

Tuesday, March 01, 2005

xdcmp

X :1 -indirect &
will start a new X session that will let u log in to a XDMCMP enabled X-server and u can work seemlessly on that desktop(except audio.)

Thursday, January 13, 2005

xev and Multimedia/Internet Keyboards in GNU/Linux

Multimedia/Internet Keyboards in
GNU/Linux | Linux Gazette


xev will help u find keycodes

Saturday, December 11, 2004

SUMMARY: Global Find/Replace Question...

perl -p -i -e 's/this/that/g' filename
SUMMARY: Global Find/Replace Question...: "perl -p -i -e 's/this/that/g' filename "