[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forward mail for multidomains




Q1:
What happens is there are 2 mail addresses info@d1.coma for johnny and
info@d2.com for fredy. Dot-qmail has to be as .qmail-info right? How can
you sort them out with dot-qmail files to two users? I read manuals, lwq,
qmail-howto2 to find solution for it and to be honest I can not understand
how to do it.
Q2:
How dot-qmail file recognize address? does it find it in in Cc:,
Delivered-To:, Send-to: or in From: header? Question is because from email
conferencies are addresses placed in other places in the header.
I am sorry for newbie questions like these.

Petr


To:   qmail@list.cr.yp.to
cc:    (bcc: Petr Podrabsky/CZDIZ/ABB)
Subject:  Re: forward mail for multidomains

Security Level:?         Internal

Jay States <jstates@mac.com> wrote:
>
> I'm not sure I understand, the mail is sent to /home/user.  I thought
> that you place .qmail-test in the users dir with .qmail-test containing
> &test@test.com. Is that not right?

You really should read the man page for dot-qmail.  Users control extension
addresses; i.e. user "joe" can control mail addressed to "joe", "joe-foo",
"joe-foo-bar", etc, etc.

~joe/.qmail controls mail to <joe>.
~joe/.qmail-test controls mail to <joe-test>.
  If this file doesn't exist, it's controlled by ~joe/.qmail-default.

If you want to see if ~joe/.qmail-test works, you have to send mail to
<joe-test>, not just <joe>.