Hi,

could somebody write ane whole procedure to make Qmail+LDAP patch to accept
multiple domains??

[EMAIL PROTECTED] differente than [EMAIL PROTECTED]

and provide us dummy users the documentation?

Thanks

________________________________
Christian Pinheiro
Gerente de Tecnologia
Cidade Internet - Grupo CLARIN
[EMAIL PROTECTED]
ICQ # 119499360
Tel: +55 11 3365 2635


-----Mensagem original-----
De: James Tavares [mailto:[EMAIL PROTECTED]]
Enviada em: quarta-feira, 4 de abril de 2001 15:39
Para: David Young; Qmail-LDAP
Assunto: Re: accepting multiple domains


To be quite honest, we have already worked out a solution for ourselves, I'm
just arguing the point on the list because someone started asking about
it.......


[EMAIL PROTECTED] (CATCHALL)
programpath=mycustomrewritescript.pl domain2.com


[EMAIL PROTECTED]
HOmeDir=

[EMAIL PROTECTED]
HomeDir=

And it rewrites using recieved: line original user @domain1.com to
@domain2.com

That is just not as good as a solution as an internal one :-)

If $LOCAL were accessible, I think that would do the trick.... something
even a simple as:

[EMAIL PROTECTED] (CATCHALL)
fowardAddress=$[EMAIL PROTECTED]


-James

---------------------------------------------------------
James Tavares <[EMAIL PROTECTED]>
Sr. Data Network Engineer
Log On America, Inc.

Ph: 1-401-459-6294
Fax: 1-401-459-6580
Web: http://www.loa.com/
----- Original Message -----
From: "David Young" <[EMAIL PROTECTED]>
To: "Qmail-LDAP" <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 2:25 PM
Subject: Re: accepting multiple domains


>
> > How does adding an entry into virtualdomains accomplish anything?
>
> /var/qmail/control/ldaplocaldelivery = 1 means that if user can not be
found
> in LDAP, look them open locally, so, the configuration you discuss below
can
> be used (using a single user with a .qmail-default).
>
> If you are dead set against creating that single dummy local user to
forward
> mail, then try installing the dash-trick patch. I have no experience with
it
> but I would guess... Then qmail-ldap should handle [EMAIL PROTECTED]
type
> addresses and do what you want.
>
> I agree this could be easier. It would be great if I could enter
additional
> host names in a file that qmail LDAP would consult before it does it's
> ldaplookup, and replace.
>
> I agree this could be easier. It would be great if I could enter
additional
> host names in a file that qmail-LDAP would consult before it does it's
> ldaplookup. I believe it is at this point where one is encouraged to go
> create the patch...
>
> --David
>
>
> > From: "James Tavares" <[EMAIL PROTECTED]>
> > Date: Wed, 4 Apr 2001 13:32:22 -0400
> > To: "Henning Brauer" <[EMAIL PROTECTED]>, "Qmail-LDAP"
> > <[EMAIL PROTECTED]>
> > Subject: Re: Fw: accepting multiple domains
> >
> > On an qmail-ldap system virtualdomains equals locals....
> >
> > How does adding an entry into virtualdomains accomplish anything? Let's
> > see... virtualdomains maps it to a user, which then gets looked up in
LDAP
> > as [EMAIL PROTECTED] which forwards to domain2.com.. oh wait, I
could
> > have just added domain1.com to locals and have LDAP forward it to
> > domain2.com on a user by user basis.. less work in that.
> >
> > BESIDES-- that completely ignores the fact that all user information
should
> > be stored in the LDAP database -- no exceptions.
> >
> > Before LDAP I used to use virtualdomains all the time for this sort of
> > thing.
> > domain1.com:dommail
> > domain2.com:dommail (notice same user)
> >
> > ~dommail/.qmail-joe forwards to [EMAIL PROTECTED]
> >
> > As is, one configuration applies to both domain1 and domain2, and mail
is
> > picked up as "cust-joe" via POP. This sort of easy configuration has
been
> > abandoned in LDAP. mailAlternateAddress is a terrible attribute -- there
is
> > no uniqueness about it's content.
> >
> > A sensible replacement is the functionality which |forward
> > $[EMAIL PROTECTED] affords us. There is no real reason in maintaining N
> > number of entries in the LDAP database (where N is number of domains the
> > customer uses to accept mail at.) i.e.:
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED] (forward only)
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED] (forward only)
> >
> > [EMAIL PROTECTED]
> > homeDir=... (mailbox)
> >
> > [EMAIL PROTECTED]
> > homeDir=.....(mailbox)
> >
> > Ideally there should be a way to do this via the default ("catchall" you
> > guys call it?) account:
> > [EMAIL PROTECTED]
> > programPath=foward $[EMAIL PROTECTED]
> >
> > [EMAIL PROTECTED]
> > homeDIr (MAILBOX)
> >
> > [EMAIL PROTECTED]
> > homeDir (MAILBOX)
> >
> >
> > I've typed in haste. I apologize for any errors.... but I hope I got my
> > point across.
> >
> > -James
> >
> > ---------------------------------------------------------
> > James Tavares <[EMAIL PROTECTED]>
> > Sr. Data Network Engineer
> > Log On America, Inc.
> >
> > Ph: 1-401-459-6294
> > Fax: 1-401-459-6580
> > Web: http://www.loa.com/
> > ----- Original Message -----
> > From: "Henning Brauer" <[EMAIL PROTECTED]>
> > To: "Qmail-LDAP" <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 04, 2001 12:31 PM
> > Subject: Re: Fw: accepting multiple domains
> >
> >
> >> On Wed, Apr 04, 2001 at 12:27:24PM -0400, James Tavares wrote:
> >>> Whoops, forgot to post it to the list:
> >>>
> >>>
> >>> ----- Original Message -----
> >>> From: "James Tavares" <[EMAIL PROTECTED]>
> >>> To: "Henning Brauer" <[EMAIL PROTECTED]>
> >>> Sent: Wednesday, April 04, 2001 12:26 PM
> >>> Subject: Re: accepting multiple domains
> >>>
> >>>
> >>>> But the real question: How does one do this through LDAP?
> >>>>
> >>>> Is it as easy as setting the programPath=/var/qmail/bin/preline
> >>>> /var/qmail/bin/forward $[EMAIL PROTECTED]
> >>>> ???
> >>
> >> Makes no sense. This is for virtualdomains.
> >>
> >>>> -James
> >>>>
> >>>> ---------------------------------------------------------
> >>>> James Tavares <[EMAIL PROTECTED]>
> >>>> Sr. Data Network Engineer
> >>>> Log On America, Inc.
> >>>>
> >>>> Ph: 1-401-459-6294
> >>>> Fax: 1-401-459-6580
> >>>> Web: http://www.loa.com/
> >>>> ----- Original Message -----
> >>>> From: "Henning Brauer" <[EMAIL PROTECTED]>
> >>>> To: <[EMAIL PROTECTED]>
> >>>> Sent: Wednesday, April 04, 2001 12:22 PM
> >>>> Subject: Re: accepting multiple domains
> >>>>
> >>>>
> >>>>> On Wed, Apr 04, 2001 at 10:08:11AM -0400, David Young wrote:
> >>>>>>
> >>>>>> &$[EMAIL PROTECTED]
> >>>>>>
> >>>>>> My testing shows that does not work. Error is "Mailbox not found
> >>>>>> Is there an easier way?
> >>>>>
> >>>>> oups, it obviously was too short. take this, should work (untested).
> >>>>>
> >>>>> |/var/qmail/bin/preline /var/qmail/bin/forward $[EMAIL PROTECTED]
> >>>>>
> >>>>> you don't really need preline, but for some reason I feel better
> > with
> >>> it.
> >>>>>
> >>>>> --
> >>>>> Henning Brauer     | BS Web Services
> >>>>> Hostmaster BSWS    | Roedingsmarkt 14
> >>>>> [EMAIL PROTECTED] | 20459 Hamburg
> >>>>> http://www.bsws.de | Germany
> >>>>>
> >>>>
> >>>
> >>>
> >>
> >> --
> >> Henning Brauer     | BS Web Services
> >> Hostmaster BSWS    | Roedingsmarkt 14
> >> [EMAIL PROTECTED] | 20459 Hamburg
> >> http://www.bsws.de | Germany
> >>
> >
> >
>
>

Reply via email to