LDAP routing and DNS combination

Unanswered Question
Nov 5th, 2007

for outgoing devilvery is it possible to combine both LDAP Routing and DNS?

IE. to send out abc.com that exist on LDAP, it will be delivered using LDAP Routing and for domain that is not exists on LDAP, use DNS instead.

TIA

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Mark [CSE]_ironport Mon, 11/05/2007 - 15:26

I think this is the default. If no routing information is found in LDAP it will route normally. (If SMTP routes are configured use those, if not do an MX lookup, if that fails use a A lookup, if that fails (after 4 days by default) bounce the mail home)

Regards,

Mark

Mark [CSE]_ironport Tue, 11/06/2007 - 13:14

You don't have to use LDAP routing at all, you can use the SMTProutes when you have static delivery. There is no need to LDAP routing unless your company has many different backend systems for people in the same domain with there mail box on different physical servers.

So - yes you can.

Mark

kisanak_ironport Wed, 11/07/2007 - 03:50

We want to keep users record in our LDAP but like to use static delivery using SMTProutes.

In this case although i.e domain abc.com exists and has a mailHost attribute in LDAP routing, we don't want to use it but use static delivery using smtproutes instead.

Doc_ironport Wed, 11/07/2007 - 11:34

In this case although i.e domain abc.com exists and has a mailHost attribute in LDAP routing, we don't want to use it but use static delivery using smtproutes instead.


That's the default behaviour. To enable LDAP routing you need to specifically enable it (and configure a LDAP query to use to find the relevant attribute).

If you haven't explicitly enabled it, then SMTP Routes will be used to forward on the mail.
kisanak_ironport Wed, 11/07/2007 - 12:08


If you haven't explicitly enabled it, then SMTP Routes will be used to forward on the mail.


fyi, this is for our outbond delivery (not incoming). This is what I have just tested.

domain.com is in our LDAP, and I'd like to usedns instead of LDAP.routing. domain.com mx records should be somewhere in the internet.

LDAP query test results:
Query: LDAP.routing
Address: [email protected]
Action: reroute
Reroute to recipients: - (host: servers.cbn.net.id)

In smtproutes:

domain.com: usedns

In mail_logs:
Wed Nov 7 18:57:44 2007 Info: LDAP: Reroute query LDAP.routing MID 429897525 RID 0 address [email protected] to [('[email protected]', 'servers.cbn.net.id')]
Wed Nov 7 18:57:44 2007 Info: LDAP: Mailhost query LDAP.routing address [email protected] to servers.cbn.net.id
Wed Nov 7 18:57:44 2007 Info: MID 429897526 ICID 0 RID 0 To:

Although I have already specified to usedns, the message still delivered using LDAP.routing.

Actions

This Discussion