Sign up to create your own snipts, or login.

Public snipts » robertbanh's snipts » mail The latest mail snipts from robertbanh.

showing 1-1 of 1 snipts for mail
  • Set up mail forwarding on linux
    # add a .forward file to your home directory
    touch .forward
    
    # add your email address
    vi .forward
    <user>@<mail>.com
    
    # change permission else it won't work
    chmod 600 .forward
    
    # test mail send, replace 'user' with your login
    mailx -s 'test from cluster' user < /dev/null
    

    copy | embed

    0 comments - tagged in  posted by robertbanh on Dec 17, 2009 at 10:19 a.m. EST
Sign up to create your own snipts, or login.