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/
>