Hi Claudio,

qmail-ldap changes the behaviour of rcpthosts in so far that it is no
longer necessary to list all local domains also in rcpthosts. This was in
my opinion a stupid idea. This data redundancy caused more trubles than it
actually helped.
Hmm, Let's see if i understood it.Actually, since qmail-smtpd reads locals, the right question would be: "Does locals deprecates rcpthosts?"

But the answer is no. Because if qmail-send sees a domain in locals, it will treat it like a local domain and deliver locally. And this forces to split the local domains in locals and the remote domains in rcpthosts.

I think the proper manner to deal with these files in qmail-ldap is:

=> locals: all the local domains (delivered locally)
=> rcpthosts: all the remote domains (relay permitted for those domains). We could think the rcpthosts file as if it was named "remotes", instead of rcpthosts.

Regards,
bruno

Reply via email to