Website:Utility mail forward

From UGCS
Jump to: navigation, search

mail_forward

This utility allows you to set up your mail forwarding. Run it (it is at /usr/local/bin/mail_forward), and answer its questions. It will take care of setting the appropriate entries in ldap based on your answers.

It now has some more advanced options. Here are the options you can pass it:

Usage: /usr/local/bin/mail_forward [-u user] [-c] [-h] [-n] [-k] [-d] [-q] [-p] [ address1 ]
         [ address2 ] ...

Setup UGCS mail forwarding- by default, run an interactive prompt
 -c      Clear forwarding
 -k      Keep mail on UGCS (default)
 -d      Do not keep mail on UGCS
 -p      Show current forwarding information
 -q      Be quiet
 -n      Dry run (don't actually do anything)
 -u      Update for another user
 -h      Print this usage message
Personal tools