Qmail
[Top] [All Lists]

remote destination with fast forward

To: qmail@list.cr.yp.to
Subject: remote destination with fast forward
From: Paul Cabot <paul@topguncomputers.com>
Date: Fri, 10 Aug 2007 01:22:12 -0700
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
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
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.

Then I point the alias name to remote email address

alias:  username@remotedomain (I've hidden my regular account for security)

I ran the following command to test my /etc/aliases.cdb file

env DEFAULT=alias HOST=mail2.topgunhosting.ca /var/qmail/bin/fastfoward -nd /etc/aliases.cdb

and got the following output
from <original envelope sender>
to <username@remotedomain>

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.

I've also tried setting up a .qmail-alias file inside of /var/qmail/alias. But that didn't help either.

Does anyone know how it would be possible to route all emails for alias to a remote email address on another server.

Thanks Paul :)


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