Date: Thu, 20 Aug 1998 16:51:00 +0200 (SAST) From: Matthew West <mwest@cs.uct.ac.za> To: Leonard Chung <leonard@slip.net> Cc: questions@FreeBSD.ORG Subject: Re: Procmail for e-mail forwarding? Message-ID: <Pine.BSF.3.96.980820164715.3355O-100000@gimli.cs.uct.ac.za> In-Reply-To: <E0z8h4X-0005sD-00@slip-3.slip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
in ~/.forward: |/usr/local/bin/procmail in ~/.procmailrc: :0 *^(To|cc|Resent-To):.*leonard@slip.net ! leonard@new-isp.net This should do it, although I'd recommend you peruse the procmail examples manpage: man procmailex --mwest@cs.uct.ac.za http://www.cs.uct.ac.za On Tue, 18 Aug 1998, Leonard Chung wrote: > 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? 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?Pine.BSF.3.96.980820164715.3355O-100000>