*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> forward (5)              
Title
Content
Arch
Section
 

FORWARD(5)

Contents


NAME    [Toc]    [Back]

     forward -- mail forwarding instructions

DESCRIPTION    [Toc]    [Back]

     The .forward file contains a list of mail addresses or programs that the
     user's mail should be redirected to.  If the file is not present, then no
     mail forwarding will be done.  Mail may also be forwarded as the standard
     input to a program by prefixing the line with the normal shell pipe symbol
 (|).  If arguments are to be passed to the command, then the entire
     line should be enclosed in quotes.  For security reasons, the .forward
     file must be owned by the user the mail is being sent to, or by root, and
     the user's shell must be listed in /etc/shells.

     For example, if a .forward file contained the following lines:

	   [email protected]
	   "|/usr/bin/vacation nobody"

     Mail would be forwarded to <[email protected]> and to the program
     /usr/bin/vacation with the single argument nobody.

     If a local user address is prefixed with a backslash character, mail is
     delivered directly to the user's mail spool file, bypassing further redirection.


     For example, if user chris had a .forward file containing the following
     lines:

	   chris@otherhost
	   \chris

     One copy of mail would be forwarded to chris@otherhost and another copy
     would be retained as mail for local user chris.

FILES    [Toc]    [Back]

     $HOME/.forward  The user's forwarding instructions.

SEE ALSO    [Toc]    [Back]

      
      
     aliases(5), mailaddr(7), sendmail(8)


FreeBSD 5.2.1			 July 2, 1996			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
forward OpenBSD e-mail forwarding information file
configipforwardstate IRIX turn IP forwarding on or off
ioforw_timeout HP-UX enable timeout in I/O forwarding
readmail HP-UX read mail from a mail folder or incoming mailbox
route Tru64 Kernel packet forwarding database
route OpenBSD kernel packet forwarding database
route FreeBSD kernel packet forwarding database
route IRIX kernel packet forwarding database
mail HP-UX send mail to users or read mail
mail_att IRIX send mail to users or read mail
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service