Petr,

To get "domain buckets" for virtual domains, the only way I can think of is:

1.  Implement your virtual domain as a single user account that receives all
mail for the virtual domain (not as individual "[EMAIL PROTECTED]" entries in,
for example, an authuserdb database).  This is done by putting a line

    @example.com: excom

    into a file in your aliasdir (see makealiases(8)) which causes the address
"[EMAIL PROTECTED]" to be rewritten as "excom-someone".

2.  Put a .courier file in the home directory for the user "excom" which first
tries to deliver it to the user specified after the "excom-", and then to your
bucket.

If someone else on the list can think of a way to tell courier where the home
directory for a virtual domain is, for a non-existent virtual user (where the
ones that exist are implemented as "[EMAIL PROTECTED]" in authuserdb),
let me and Petr know.

        William

Petr Burian wrote:
> 
> Thanks for help!
> It's exactly what you described. Because I'm very bad in "aktive" English I
> was so brief...
> 
> I have one more question. Is this (I mean what you described bellow) working
> also for virtual domains? Whan I have for example 10 virtual domains per one
> computer with only one IP and each domain has its own "domain bucket".
> 
> Thank you very much for your help!
> Petr
> 
> > -----Original Message-----
> > From: William Hue [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 18, 2002 7:03 PM
> > To: Petr Burian
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [courier-users] domain bucket
> >
> >
> > Petr,
> >
> > Can you explain a little bit further what a domain bucket/bin does?
> > Do you mean it accepts e-mails addressed to non-existent
> > usernames in a given
> > domain?
> > If so, then you are looking for .courier-default .  From my
> > dot-courier(5) man
> > page:
> >
> >      All the usual aspects of .courier deliveries apply. If there
> >      is  no  account  that  corresponds  to  the  address  <user-
> >      [EMAIL PROTECTED]>,         Courier         looks          for
> >      /usr/local/courier/etc/aliasdir/.courier-user-foo,      then
> >      /usr/local/courier/etc/aliasdir/.courier-user-default,   and
> >      finally /usr/local/courier/etc/aliasdir/.courier-default.
> >
> >
> >       William
> >
> > Petr Burian wrote:
> > >
> > > Hello,
> > >
> > > I would like to ask if it is possible to set up domain bucket (or domain
> > > bin, I am not sure how to translate it to English) in courier 0.36 or
> > > higher.
> > > I tried it some time but with no result ;((
> > >
> > > Thanks for any help
> > > Petr
> > >
> > > _______________________________________________
> > > courier-users mailing list
> > > [EMAIL PROTECTED]
> > > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

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

Reply via email to