Thursday, December 16, 2010

Debian Etch Sources List Archive


As we all know, Debian Etch has been no longer supported since feb 2010. But still some machines might be running Debian Etch(Upgradation not feasible). If your searching for any source to install packages to your machine. Ass this below sources in to your sources.list file.

# vim /etc/apt/sources.list

deb etch main contrib non-free

# apt-get update

# apt-get install


How to Restrict postfix recipient in zimbra

Restrict postfix recipient in zimbra

This will show how you can modify postfix to restrict who can send to certain address in your domain such as distribution like

These change will most likely not persist between upgrades!!!

zimbra/conf/ Also permissions on files created in /opt/zimbra/postfix/conf/ will be changed.

  • Create permitted sender list as zimbra user under /opt/zimbra/postfix/conf/
permitted_sender List :- This file contains domains list OR User mail list, Only protected senders can send mail to this domains OR users.

# vim /opt/zimbra/postfix/conf/permitted_senders

localhost                         OK                    OK                OK   OK
  • Create protected recipient file as zimbra user under /opt/zimbra/postfix/conf/
protected_recipients :- This file contains email address that can only receive from permitted senders

# vim /opt/zimbra/postfix/conf/protected_senders                 permitted_senders_list         permitted_senders_list

  • Include the important setting to /opt/zimbra/postfix/conf/
permitted_senders_list=check_senders_access hash:/opt/zimbra/postfix/conf/permitted_senders, reject
smtpd_restriction_classes = permitted_senders_list,local_only

FYI :- The changes in will not survive after the upgrade of zimbra.
  • Now add the this restriction on the top of all line.
# vim /opt/zimbra/conf/
check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients
  • Reload the settings
/opt/zimbra/postfix/sbin/postmap /opt/zimbra/postfix/conf/permitted_senders
/opt/zimbra/postfix/sbin/postmap /opt/zimbra/postfix/conf/protected_recipients
/opt/zimbra/postfix/sbin/postmap /opt/zimbra/postfix/conf/

/opt/zimbra/postfix/sbin/postfix  reload

FYI :- This configuration can also used in normal postfix..

Thursday, December 9, 2010

Install Nuxeo-DM on Debian Gnu/Linux 5.0 Lenny

Nuxeo DM is an open source document management application and helps to manage and track flow of content.

Intallation instructions for Debian Lenny

Install sun-jdk6 from deb apt source.

# apt-cache search sun-java6-jdk  (This may take some time...)

After the installation of sun-java6-jdk, Add this sources to /etc/apt/sources.list

 "deb lucid releases"

Run the following command in the terminal :-

# apt-get update
  # apt-get search nuxeo
  # apt-get install nuxeo-dm-tomcat (This may take some time...)

After the installation, use an editor to update the configuration:

# /etc/nuxeo-dm/nuxeo.conf

Uncomment this line

# JAVA_HOME=/usr/lib/jvm/java-6-sun

And invoke the service

# invoke-rc.d nuxeo-dm \[start\|stop\|status\|restart\]

When the Nuxeo-Dm started, Open this link in the browser

# http://localhost:8080/

Login the Nuxeo using Administrator username and Administrator as password.

Saturday, December 4, 2010

Mplayer play only audio hold video

Hi All,

 Few days back I watched a funny movie and the dialouges were superb and thought of listening again and again as its funny movie.

As I use linux, I just wanted to play the movies audio but not the video in mplayer, after searching from man pages found this.

If you wish to listen only film dialouges run the command  :-

mplayer filename.mpg -vo null 


mplayer -vo null filname.mpg

Try & Enjoy the audio movie :-)