-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Em Seg 07 Mar 2005 20:40, Chris Wilkes escreveu:
> On Mon, Mar 07, 2005 at 08:21:16PM +0000, RoLinux wrote:
> > Hi
> > We have 2 servers with qmail (probably with few patches) that are
> > doing the RBL DNS checks, spamassassin and clamav check and after that
> > they relay to another few qmail-ldap servers that are doing the
> > delivery to the maildir.
> >
> > I have to install qmail-ldap on the front 2 servers but keep relaying the
> > mail for  maildir delivery to the second row of servers.
> >
> > I don't want the 2 servers (after they check the LDAP for local valid
> > user) to try to deliver the mail locally.
>
> Why not enable qmail clustering and set the mailHost for each account?
> That way if one of the front line servers gets the email it will forward
> it to the correct backend server.  You'll have to allow port 628 from
> the frontline ones to the backend server.
>
> > I know that I have to enable the RCPTCHECK by adding RCPTCHECK="" to
> >
> > the following line:
> > :allow,RBL="",RCPTCHECK=""
>
> Shouldn't that be
>
>   :allow,RBL="",RCPTCHECK="1"
>
> to enable RCPTCHECKing?

No. The simple presence of the variable enables the check. It may be or
RCPTCHECK="xxxxxxxxxxxxxx" either RCPTCHECK=""

>
> > But how do I disable the local maildir delivery and enable the relay
> > to the second row of servers.
>
> If you enable qmail clustering the servers will only deliver locally for
> accounts whose mailHost matches the server's.  Otherwise you could do
> something with smtproutes, see
>   http://cr.yp.to/qmail/faq/outgoing.html#notlocal
>   http://cr.yp.to/qmail/faq/outgoing.html#null-client

As far as I know, RCPTCHECK only checks users for the local domain. Using
smtproutes (and removing the domain from ~/locals) will cause qmail-ldap not
to check the users in the LDAP.

>
> Chris

- --
- ----------------------------------------------------------------------
F�bio Gomes                                <[EMAIL PROTECTED]>
Telefone:                                      11-3243-3400 ramal 4447
Visite:                  http://sefaznet.sede.fazenda.sp.gov.br/email/
Personal Public Key at:                       http://www.keyserver.net
- ----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCLbTACUaSOtGYE8kRAnUpAKC7SbN0s4T9kbzK8ClSJlKRJeccWACgiaji
y35BNUtMsLpOPCOcMJF0lzg=
=VJAV
-----END PGP SIGNATURE-----

Reply via email to