From owner-freebsd-questions Wed Aug 19 09:27:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09667 for freebsd-questions-outgoing; Wed, 19 Aug 1998 09:27:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA09627 for ; Wed, 19 Aug 1998 09:27:47 -0700 (PDT) (envelope-from malte.lance@gmx.net) Received: from neuron.webmore.de (unverified [194.95.214.166]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Wed, 19 Aug 1998 18:28:21 +0200 Received: (from malte.lance@gmx.net) by neuron.webmore.de (8.8.8/8.8.8) id NAA01557; Wed, 19 Aug 1998 13:23:26 +0200 (CEST) From: Malte Lance MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 19 Aug 1998 13:23:26 +0200 (CEST) To: Leonard Chung Cc: questions@FreeBSD.ORG Subject: Re: Procmail for e-mail forwarding? In-Reply-To: References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13786.46229.804253.978377@neuron.webmore.de> Reply-To: malte.lance@gmx.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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