mail_forwarding_tricks

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: email keeping and forwarding
From: Alan Shutko <ats@acm.org>
Date: 07 Jan 2000 17:57:02 -0500


Steve Dixon <steve@dpn.com> writes:

> whats the best way to have incoming email for a person to go to their
> account and also to another account on a different domain that i do not
> control?  the .forward works but doesnt keep a local copy in the users
> account.

Put into .forward:

\username, other@account.com

===

Subject: Re: email keeping and forwarding 
From: John Summerfield <summer@OS2.ami.com.au>
Date: Sat, 08 Jan 2000 09:01:15 +0800


> whats the best way to have incoming email for a person to go to their
> account and also to another account on a different domain that i do not
> control?  the .forward works but doesnt keep a local copy in the users
> account.
>
.forward does work;
 \user,her@there
in user's .forward file (and with secure permissions)

===

Subject: Re: email and forwarding
From: Nils Philippsen <nils@wombat.dialup.fht-esslingen.de>
Date: Sat, 8 Jan 2000 02:36:52 +0100 (CET)


On Fri, 7 Jan 2000, Steve Dixon wrote:

> whats the best way to have incoming email for a person to go to their
> account and also to another account on a different domain that i do not
> control?  the .forward works but doesnt keep a local copy in the users
> account.

 --- 8< --- .forward ---
otheraccount@somewhere.else.com
account@local.system.org
 --- 8< ---

Sendmail notices that the last line is the local address and does a copy
but forwards it, too.

===

Subject: Re: email keeping and forwarding
From: Chuck Mead <chuck@moongroup.com>
Date: Fri, 7 Jan 2000 19:14:51 -0500 (EST)


On Fri, 7 Jan 2000, Steve Dixon said:

SD>whats the best way to have incoming email for a person to go to their
SD>account and also to another account on a different domain that i do not
SD>control?  the .forward works but doesnt keep a local copy in the users
SD>account.

Use a .procmailrc instead of a .forward file.

man procmailex for examples.

===

Subject: Re: email and forwarding
From: "Andrew E. Mileski" <andrewm@netwinder.org>
Date: Fri, 07 Jan 2000 20:29:28 -0500


Steve Dixon wrote:
> whats the best way to have incoming email for a person to go to their
> account and also to another account on a different domain that i do not
> control?  the .forward works but doesnt keep a local copy in the users
> account.

procmail by far.  See the man pages (procmail, procmailrc, etc.)

The .procmailrc config you want is something like
  :0 c
  ! peter.pan@neverland.com
This forwards to peter.pan@neverland.com and copies the message so
it will be delivered locally too.

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu