Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 13:23:26 +0200 (CEST)
From:      Malte Lance <malte.lance@gmx.net>
To:        Leonard Chung <leonard@slip.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Procmail for e-mail forwarding?
Message-ID:  <13786.46229.804253.978377@neuron.webmore.de>
In-Reply-To: <E0z8h4X-0005sD-00@slip-3.slip.net>
References:  <E0z8h4X-0005sD-00@slip-3.slip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Leonard Chung writes:
 > I have an e-mail account on a FreeBSD machine, which has an e-mail alias
 > (i.e. I can be e-mailed at either leonard@slip.net or othername@slip.net).
 > I am moving to another mail server, and would like to have my current
 > server forward e-mail to the new one.  However, I only want messages sent
 > to the leonard@slip.net address forwarded and messages sent to othername
 > to remain stored on the old server as normal.
 > 
 > I'm thinking that a .forward and procmail would probably be the right
 > solution, but I don't know a thing about procmail at all.  Can anyone help
 > me with writing the ruleset?

"man procmailex" the 2. example contains your solution.

:0:
* ^From.*leonard@slip\.net
! new-one@server.new

Malte.

 > 
 > Thanks,
 > 
 > Leonard
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13786.46229.804253.978377>