also sprach maex-qmail:
> On Sat, Jun 03, 2000 at 11:40:23AM -0400, Peter Green wrote:
> > Please help. I'm totally confused as to why this is happening. :(
> 
> I suspect this is all due to some misunderstanding on how virtualdomains
> work.
> If you have configured a virtualdomain, all the users in that domain
> must exist as /virtdomain/example.com/.qmail-<users> regardless whether
> they exist as real users on the system qmail ist running on.

I don't think this is true.

control/virtualdomains lists ``ais.cx:ais.cx'' and users/assign lists
``+ais.cx-:ais.cx:503:503:/usr/local/vpopmail/domains/ais.cx:-::''. I take
this to mean that if no .qmail-<user> file exists, it will try to deliver to
/usr/local/vpopmail/domains/ais.cx/<user>/Maildir/ (as per my default
delivery of ./Maildir/).

In other words, it's trying to deliver to [EMAIL PROTECTED]

This gets rewritten to [EMAIL PROTECTED] as per the virtualdomains file.

assign says that mail to ais.cx-* should be delivered using the home
directory of /usr/local/vpopmail/domains/ais.cx.

``pcg'' is the extension, so qmail checks for, in order:

  /usr/local/vpopmail/domains/ais.cx/.qmail-pcg
  /usr/local/vpopmail/domains/ais.cx/.qmail-default

What I'm not sure of is when it attempts delivery to
/usr/local/vpopmail/domains/ais.cx/pcg/Maildir/. I don't really see in the
docs where it *should*, but it does...

*later*
Well, I think I've solved it, at least temporarily. If I use vdelivermail
*everywhere* (including for remote addresses) it works. I now have:

  .qmail-u1:
    | /usr/local/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
  .qmail-default:
    | /usr/local/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
    | /usr/local/vpopmail/bin/vdelivermail '' u2
    | /usr/local/vpopmail/bin/vdelivermail '' u3
  .qmail-info (symlink to .qmail-default)

It only delivers mail once per recipient.

I'm going to continue looking into this, because it's still producing a
vpopmail error/warning:

  POP_user_does_not_exist,_but_will_deliver_to_u2

for *every* user. :(

Thanks for all the help!

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
We are MicroSoft.  You will be assimilated.  Resistance is futile.
(Attributed to B.G., Gill Bates)

Reply via email to