From owner-freebsd-isp Fri Apr 16 16:54:19 1999 Delivered-To: freebsd-isp@freebsd.org Received: from rs3s4.datacenter.cha.cantv.net (rs3s4.datacenter.cha.cantv.net [200.44.32.53]) by hub.freebsd.org (Postfix) with ESMTP id 49E5F150C8 for ; Fri, 16 Apr 1999 16:54:04 -0700 (PDT) (envelope-from alvaro@cantv.net) Received: from aec.cantv.net (ws-67.chacao-01.int.cantv.net [200.44.44.83]) by rs3s4.datacenter.cha.cantv.net (8.9.1a/8.9.1/1.0) with SMTP id TAA29156; Fri, 16 Apr 1999 19:51:24 -0400 (VET) Message-Id: <3.0.1.32.19990416194615.03201ad4@pop.cantv.net> X-Sender: alvaro@pop.cantv.net X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Fri, 16 Apr 1999 19:46:15 -0400 To: Steve Ames , freebsd-isp@FreeBSD.ORG, leif@neland.dk, steve@cioe.com From: Alvaro Carvajal Subject: Re: Email Question (splitting e-mail hosts?) In-Reply-To: <199904162120.QAA35302@ns1.cioe.com> References: <002d01be884d$6868a3a0$0e00a8c0@swimsuit.internet.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 04:20 PM 16/04/1999 -0500, Steve Ames wrote: > >Won't work will it? > >/etc/mail/virtusertable: > >@domain.com dummyaccount > >/etc/aliases: > >dummyaccount: localpop, remotepop@remotepop.com > >This forwards all of the email to a single user account on >remotepop. The desired result would be that email coming >in for * would do the following > >*@domain.com -> localpop > >and > >*@domain.com -> *@remotepop.com > Well, you can always add Perl to the picture, and redirect the alias to a local POP account and to a perlscript that will redirect it to the remote user's Exchange server. Something like: virtusertable: @domain.com -> localalias aliases: localalias: localpop, "|/usr/local/bin/my_redirection_script.pl" The script would then re-send its stdin to the address it finds on the To: header line. The sad part is that you have to code it ;) -alvaro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message