Qmail
[Top] [All Lists]

Re: remote destination with fast forward

To: qmail@list.cr.yp.to
Subject: Re: remote destination with fast forward
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Fri, 10 Aug 2007 07:43:20 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <46BC2034.50202@topguncomputers.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <46BC2034.50202@topguncomputers.com>
User-agent: Mutt/1.5.11
Paul Cabot <paul@topguncomputers.com> wrote:
> I recently downloaded and install fastforward version 0.51 on my centos 
> 3 server. 
> 
> The question I have is in my /etc/aliases file I have all aliases 
> pointing to the username alias ie
> ftp:   alias
> webmaster: alias
> root:   alias
> 
> and so forth.

Hmmm.  You don't need to do that.

> Then I point the alias name to remote email address
> 
> alias:  username@remotedomain (I've hidden my regular account for security)

That won't work.  Real/local users override anything else.

> My problem is if run the mail program and send a simple email to the 
> username alias. It doesn't send the email to my remote address but a 
> Mailbox file inside the alias homedir.  /ver/qmail/alias.

Change your config: drop fastforward entirely (you don't need it; its only
real purpose is to ease the transition from sendmail to qmail on an existing
system).  Then, if you want to forward messages sent to <foo@...>, <bar@...>,
and <baz@...> to <qux@remote.example.net>, put "&qux" into each of these
files:
 
  /var/qmail/alias/
                   .qmail-foo
                   .qmail-bar
                   .qmail-baz

and put "&qux@remote.example.net" into /var/qmail/alias/.qmail-qux .

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>