"Neil D. Roberts" <[EMAIL PROTECTED]> writes:
> I have a mail queue called domain.es
No, you have a virtual domain called domain.es. You have only one
mail queue, and it is in /var/qmail/queue. (When you misuse the
terminology like this, it's difficult to understand your question.)
> and it�s directory is /var/spool/queue/domain.es
Virtual domains don't have directories, exactly. What I think you
mean to say is that /var/spool/queue/domain.es is a maildir, and that
it is also the home directory for domain.es mail, according to your
control/virtualdomains and users/assign.
> The user wants to have his mail sent at "[EMAIL PROTECTED]" BUT this
> E-Mail has to split to two parts, one has to be the "new" directory
> so that it goes to the queue reciever, and the other has to go to
> his own mail account in the same server. So, I have created a file
> called .qmail-user and in this file I have placed "&[EMAIL PROTECTED]"
> and on a new line, I have placed "&[EMAIL PROTECTED]".
&[EMAIL PROTECTED] will, as you say, loop. You don't want to deliver the
mail to that *address*; you're already doing that. Instead, you want
to deliver it to the *maildir*. Change the &[EMAIL PROTECTED] line to:
/var/spool/queue/domain.es/
paul