Subject: the .forward file

From: Chip Adair <[email-masked]>
Date: Sun, 21 Dec 1997 21:59:37 -0600

I have found a lot of information on the .forward file, but not the one
specific thing I am looking for.
What would the format of a .forward file be... to have multiple address'?
In other words, I own a domain .. ie.. downstairs.com, I want to have a
.forward file that will send mail addressed to [email-masked], to
another address, and mail that is sent to [email-masked] to a different
address (I'll actually have 5 or 6 aliases out there)  Any help would be
greatly appreciated.

-------
Chip Adair
C&J Design @ Downstairs.com
http://www.downstairs.com
ICQ UIN# 598500

---

From: Edward M Greshko <[email-masked]>
Date: Mon, 22 Dec 1997 13:58:47 +0800 (GMT)

> address (I'll actually have 5 or 6 aliases out there)  Any help would be

One line with each of the aliases....

[email-masked]
[email-masked]
[email-masked]

Ed

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
PGPKey-ID:CA3AFA5D  Fingerprint: 2DE6 5527 144E D1BC  3C55 9FA5 518E 52EE

---

From: "Adam H. Kerman" <[email-masked]>
Date: Mon, 22 Dec 1997 00:16:31 -0600 (CST)

>From: Chip Adair <[email-masked]>
>Date: Sun, 21 Dec 1997 21:59:37 -0600

>address (I'll actually have 5 or 6 aliases out there)

Sigh. This is a sendmail question, not a pine question, but I'll answer anyway.

.forward is a special aliases file, but the format is identical. Instead of
redirecting outgoing mail, it redirects your incoming mail. To learn about
aliases, man aliases. From the man page:

     The file . . . is formatted as a series of lines of the form

        name: name_1, name2, name_3, . . .

     The name is the name to alias, and the name_n are the aliases for that
     name.   Lines  beginning  with  white space are continuation lines. Lines
     beginning with `#' are comments.

     After aliasing has been done, local and valid recipients who have a
     ``.forward'' file in their home directory have messages forwarded to the
     list of users defined in that file.

     This is only the raw data file; the actual aliasing information is placed
     into a binary format in the file /etc/aliases.db using the program
     newaliases(1). A newaliases command should be executed each time the
     aliases file is changed for the change to take effect.

---

From: "Adam H. Kerman" <[email-masked]>
Date: Mon, 22 Dec 1997 01:10:11 -0600 (CST)

>From: "Adam H. Kerman" <[email-masked]>
>Date: Mon, 22 Dec 1997 00:16:31 -0600 (CST)

>     beginning with `#' are comments.

I should have clarified that only the comma-delimited list of aliases is needed
in the .forward file. The name to alias is for outgoing aliases.