Tuesday, July 24, 2007

Making the vacation message in the unix email system

I do not know if the commands apply to every server. It is the way how our department email server works now.
  1. Check and see current vacation message: cat .vacation.msg
  2. Edit vacation message: vi .vacation.msg
  3. Edit vacation message within vi editor: I am not familiar with vi at all, and for me to remember all the commands. Here are some essentials:
    • dd: delete entire line
    • dw: delete the character before the cursor
    • ":" : go to the command line
    • wq: save and quit of the file used in command line
  4. Activate vacation message: mv inactiveDotForward .forward
  5. De-activate vacation message: mv .forward inactiveDotForward

No comments: