Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setup alias

1 view
Skip to first unread message

Nelson Serafica

unread,
Apr 14, 2009, 4:37:02 AM4/14/09
to
I'm trying to setup a server but with multiple domains so I configured qmail with virtualdomain support. I include the virtual domain in the rcpthosts and virtualdomains file. Let's say the virtual domain is foo.com and the alias is nel...@foo.com pointing to nelson user account

I installed fastforward-0.51.tar.gz. and edit /etc/alias and put the ff: nel...@foo.com:   nelson and I command /var/qmail/bin/newaliases. A file aliases.cdb was created.

Now, when I do some test mail sending to nel...@foo.com, the server says "Sorry,_no_mailbox_here_by_that_name".

Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.560401 info msg 1016491: bytes 4627 from <help...@gmail.com> qp 22959 uid 501
Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.566574 starting delivery 5: msg 1016491 to local alias-n...@dynamicloader.com
Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.566699 status: local 1/10 remote 0/20
Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.569271 delivery 5: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.569368 status: local 0/10 remote 0/20
Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.581787 bounce msg 1016491 qp 22962
Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.581867 end msg 1016491

Did I misconfigured qmail or it means qmail is not reading aliases.cdb file??

Nelson Serafica

unread,
Apr 14, 2009, 5:13:57 AM4/14/09
to
I put | /var/qmail/bin/fastforward -d /etc/aliases.cdb in the .qmail-default of alias home dir and everything went fine.

My entry in virtual domain is foo.com:alias

On Tue, Apr 14, 2009 at 5:01 PM, Erwin Hoffmann <f...@fehcom.de> wrote:
Hi,



--On 14. April 2009 16:37:02 +0800 Nelson Serafica <ntser...@gmail.com> wrote:

I'm trying to setup a server but with multiple domains so I configured
qmail with virtualdomain support. I include the virtual domain in the
rcpthosts and virtualdomains file. Let's say the virtual domain is
foo.com and the alias is nel...@foo.com pointing to nelson user account

Is control/virtualdomains showing:

foo.com:nelson ?



I installed fastforward-0.51.tar.gz. and edit /etc/alias and put the ff:
nel...@foo.com:   nelson and I command /var/qmail/bin/newaliases. A
file aliases.cdb was created.

Hm. I believe you mix up newaliases and fastforward.




Now, when I do some test mail sending to nel...@foo.com, the server says
"Sorry,_no_mailbox_here_by_that_name".

All mails for foo.com will be delivered to the user nelson, if this Unix account was created.

You need to create/modify a

.qmail
.qmail-default

file under (lets say) /home/nelson (owned by nelson) including the following call:

.qmail:

|fastword forward.cdb



Nelson Serafica

unread,
Apr 14, 2009, 4:44:38 AM4/14/09
to
Please disregard. Forgot the steps on alias users.
--
Nelson Serafica

http://nelsonts.blogspot.com

Erwin Hoffmann

unread,
Apr 14, 2009, 5:01:13 AM4/14/09
to
Hi,


--On 14. April 2009 16:37:02 +0800 Nelson Serafica <ntser...@gmail.com>
wrote:

> I'm trying to setup a server but with multiple domains so I configured


> qmail with virtualdomain support. I include the virtual domain in the
> rcpthosts and virtualdomains file. Let's say the virtual domain is
> foo.com and the alias is nel...@foo.com pointing to nelson user account

Is control/virtualdomains showing:

foo.com:nelson ?


> I installed fastforward-0.51.tar.gz. and edit /etc/alias and put the ff:
> nel...@foo.com:   nelson and I command /var/qmail/bin/newaliases. A
> file aliases.cdb was created.

Hm. I believe you mix up newaliases and fastforward.


>


> Now, when I do some test mail sending to nel...@foo.com, the server says
> "Sorry,_no_mailbox_here_by_that_name".

All mails for foo.com will be delivered to the user nelson, if this Unix
account was created.

You need to create/modify a

.qmail
.qmail-default

file under (lets say) /home/nelson (owned by nelson) including the
following call:

.qmail:

|fastword forward.cdb

>


> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.560401 info msg
> 1016491: bytes 4627 from <help...@gmail.com> qp 22959 uid 501
> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.566574 starting
> delivery 5: msg 1016491 to local alias-n...@dynamicloader.com
> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.566699 status:
> local 1/10 remote 0/20
> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.569271 delivery
> 5: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.569368 status:
> local 0/10 remote 0/20
> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.581787 bounce
> msg 1016491 qp 22962
> Apr 14 04:11:49 domU-12-31-38-00-AE-25 qmail: 1239696709.581867 end msg
> 1016491
>
> Did I misconfigured qmail or it means qmail is not reading aliases.cdb
> file??
>

Check the man pages for dot-qmail and fastforward.

Note: The fastforward cdb is created by 'setforward' (named in the example
above 'forward.cdb').

regards.
--eh.

Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

0 new messages