[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am trying to install a virtual user under qmail. I want to have all mail
> received for [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] because
> there is already a [EMAIL PROTECTED] address in use.
>
> I have both stuff.org and mail.org in both rcpthosts and locals, also
> [EMAIL PROTECTED] is a valid delivery address (user newinfo with a
> .qmail-info file in the homedirectory)
>
> In my /var/qmail/virtualdomains file I have the entry
>
> [EMAIL PROTECTED]:newinfo
>
> Which I believe should deliver any mail to [EMAIL PROTECTED] to the newinfo-info
> mailbox after I have kill -HUPed qmail-send (which I have).
>
> However, when I check the maillog it gets delivered to the info user rather
> than the newinfo-info user. So it seems that my virtualdomains entry is being
> ineffectual.
If stuff.org is in locals and you have a local user info, that user will take
precedence. Remove stuff.org from locals, leave it in rcpthosts, and keep your
above line in virtualdomains. It should then be delivered to local user
newinfo and controlled by ~newinfo/.qmail-info.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------