On Thu, Aug 16, 2001 at 11:13:17AM +0200, Franky Van Liedekerke wrote:
> On Thu, 16 Aug 2001 10:44:38 +0100
> Fran�ois Philippo <[EMAIL PROTECTED]> wrote:
>
> > I need qmail-ldap to use "mailhost" ldap field.
> > when qmail receive a mail I want it to search in ldap "mailhost"
> > and if mailhost is defferent than "me" file it reroute it to the good server
> >
> > I can't use clustering method because during our migration we will have
> > others servers that are not qmail one.
> > and they don't know qmqp.
> > so I need to use classical method and transfert mail via smtp.
>
> If you want to use the mailHost attribute, you need to use clustering.
> But then you need qmtp, unless you change the code to use smtp instead.
No.�In-cluster-deliveries are done through qmqp, not qmtp. qmqp is designed
for pumping mails as fast as possible into remote queues, leaving any
rcpt/sender/whatever checks aside; it's only useable in a trusted
environment. Quoting Dan:
"Note that QMQP is _not_ designed for mail injection from dumb clients that
are unable to build complete messages and envelopes. A QMQP server shouldn't
even have to glance at incoming messages, it's only job is to queue them"
qmtp is a smtp replacement.
http://cr.yp.to/proto/qmtp.txt
http://cr.yp.to/proto/qmqp.html
> Or there's another way: install on the other mailservers also qmail, but
> let it only listen to qmtp,
once more, you mean qmqp.
> and let all mail be delivered to 127.0.0.1 (where your real mailserver
> listens at) using control/smtproutes.
This should work, indeed. At least if all mail passes your qmail-ldap
host(s).
--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)