> I need all incoming mails for a certain user to be copied to 2 POP
> accounts, i.e. all incoming mails to [EMAIL PROTECTED] should go to:
> /home/vpopmail/domains/mydomain.com/test/Maildir/
> &
> /home/vpopmail/domains/mydomain.com/test1/Maildir/
>
> The archives said that I should simply set up a .qmail file in user
> "test"'s homedir ( /home/vpopmail/domains/mydomain.com/test/)
> containing the 2 lines:
> /home/vpopmail/domains/mydomain.com/test/Maildir/
> /home/vpopmail/domains/mydomain.com/test1/Maildir/
>
> But that doesn't work: mails get routed to
> [EMAIL PROTECTED]
>
> After panicking, as this is important, I set up a .qmail-test file in
> /home/vpopmail/domains/mydomain.com/, containing the 2 above lines.
> And this worked. But is it The Right Thing to do?
I think that's right, Barry. vpopmail makes qmail treat each virtual domain
as a single user, so /home/vpopmail/domains/mydomain.com/test is not a user
dir. qmail just sees .qmail-ext files on /home/vpopmail/domains/mydomain.com
directory. Take a look in .qmail-default and you'll see a call to vpopmail's
vdelivermail, witch is the program that actually routes the messages to each
"user" tha doesn't have a .qmail-user file.
I haven't found it explicitly written on any doc...
Cheers.
Wagner.