Ah ok... the $LOCAL environment variable works fine in the .qmail files but
obviously not aliases. I suggest either reading the fastforward docs to see
if there is some way of doing this, or trying:

@virtdomain.com: @remotemxhost.somedomain.com

OR, finding some way of using .qmail(-user;-default) files and the $LOCAL
variable to do the job for you. I just tried thinking of a way of doing this
but that would be my third mini system for the morning and my just brain
isn't quite there yet...!

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/


> -----Original Message-----
> From: Chris Harris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 17, 2000 1:01 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to host a partial domain using fastforward
>
>
> It seems that the aliases line suggested below,
> @virtdomain.com: $[EMAIL PROTECTED]
> tries to forward the mail literally to
> $[EMAIL PROTECTED], in
> other words fastforward is not substituting for the environment
> variable $LOCAL.
>
> How can I put a default forwarding rule like this in aliases?
>
> Chris Harris
> System Manager
> STL Ltd.
> ph. 01228 512512 ext. 2211
> fax 01228 514949
>
>
> > > I am using qmail and fastforward. For a given domain, I want to
> > > leave some
> > > users' email in local mailboxes, and the rest I want to forward
> > > to another smtp
> > > server to deal with.
> >
> > OK, this is how I would attempt it (I host full virtual domains...never
> > tried this though).
> >
> > Get fastforward and install it as per INSTALL. It uses sendmail-style
> > aliases with some extensions (ie use /etc/aliases). The following is the
> > format:
> >
> > [EMAIL PROTECTED]: [EMAIL PROTECTED]
> > [EMAIL PROTECTED]:  [EMAIL PROTECTED]
> >
> > The domain is obviously listed in virtualdomains, and all
> e-mail forwarded
> > to the alias user. The .qmail-default file for the alias user
> will contain
> > the entry to use fastforward (all this is detailed with ff).
> AFAIK, you can
> > also use (in /etc/aliases):
> >
> > @virtdomain.com: $[EMAIL PROTECTED]
> >
> > Although I haven't tried this, I think it will work.
> >
> > Hope this helps
> >
> > /BR
> >
> >
> > Manager
> > InterPlanetary Solutions
> > http://ipsware.com/
> >
> >
> > _____________________________________________________________________
> > This message has been checked for all known viruses by UUNET delivered
> > through the MessageLabs Virus Control Centre. For further
> information visit
> > http://www.uk.uu.net/products/security/virus/
> >
>
>
>

Reply via email to