Petr,

> When I do everything what you sugested and all @domain mails will be
> "forwarded" to e normal account user mail box is then possible forward those
> e-mails again to virtual acount? ;)))

Yes, this is the intention.  Or, even easier, set up the .courier file to put
mails into separate maildirs, and set up your virtual accounts to reference the
individual maildirs.  The local user home directory is used just for storage and
activation of the ".courier" delivery instruction file.

> let's think about that in steps:
> 1) e-mail blabla@virtual_domain comes to server
> 2) courier redirs it to the normal account user mailbox for example Peter
> (mean Peter is standard linux user)
> 3) but mailbox of account Peter is explicitly set to forward all e-mails to
> another (posibly virual) mail box
> 
> I've been reading some manual pages to courier and I think this should be
> teoreticly working...
> 
> Finely I would like to ask if there is a problem implement a feature
> (described bellow) to the future versions of courier
> 
> example:
> I have two real virtual e-mails defined: [EMAIL PROTECTED] and
> [EMAIL PROTECTED]
> 
> in my alias file I write this:
> [EMAIL PROTECTED]:    [EMAIL PROTECTED]
> [EMAIL PROTECTED]:     [EMAIL PROTECTED]
> *@example.com:  [EMAIL PROTECTED]
> 
> Because aliases are not recursive, when an e-mail ([EMAIL PROTECTED],
> [EMAIL PROTECTED], [EMAIL PROTECTED]) comes to server it will be
> delivered to [EMAIL PROTECTED] mail box. But when another e-mail in this
> domain comes it won't be refused by server as e-mail of non-exist user, but
> will be redirected to [EMAIL PROTECTED]
> 
> Do you think this is a good idea?

Well, you don't want to have to write aliases for every virtual user.  Some
servers are running virtual domains with 10000 or more users per domain (they
use SQL or some other database for authentication).

Someone else on this list said he just made "[EMAIL PROTECTED]",
"[EMAIL PROTECTED]", etc. records in his virtual user database, and also added
"@example.com" to catch the stuff for the "bucket", but I don't know if it was
working.

Does anyone else know anything about this?

        William

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to