5 Replies Latest reply: Sep 13, 2012 3:55 AM by Deprecated RSS

    Forward mail to MS Exchange for certain users

    Deprecated
      Hello.

      We have a "master" Oracle Messaging Exchange Server and we have recently installed a Microsoft Messaging Server. We need certain users to use MS Exchange. The idea is changing mailHost LDAP attribute for those users (let's take user@domain.com as an example), setting the MS Exchange HUB server, let's say hub.domain.com (mailHost: hub.domain.com). Doing so, mails sent to user@domain.com are sent to hub.domain.com using lmtp channel. Everything works fine except for an issue: MS Exchange sees the from address like "user@lmtpcs-daemon", so we have to configure MS Exchange to use "lmtpcs-daemon" as secondary domain of domain.com, otherwise it doesn't know what to do with those mails.

      Is there a way to not do that rewrite for certain users? Or maybe can we create a new channel to forward mails to Exchange? Could we define a channel depending on mailHost value or something like that?

      Any thoughts?

      Thank you very much.
        • 1. Re: Forward mail to MS Exchange for certain users
          kmac
          Hi. I think I have setup the exact scenario you are trying to accomplish. I do it with a custom channel in imta.cnf and an entry in smtp.routes.

          ! tcp_corp (Messages going to Exchange)
          tcp_corp smtp mx daemon mail.corp.domain.com single_sys subdirs 20 \
          maxjobs 2 threaddepth 10 pool INTRANET_POOL destinationspamfilter2optin spam \
          notices 1 24 48 72 120
          tcp_corp-daemon


          from smtp.routes

          corp.domain.com $U%$D@tcp_corp-daemon



          This will push all mail for @corp.domain.com through the custom channel to the Exchange box mail.corp.domain.com over smtp, rather than lmtp.

          I thought I'd also point out that my Exchange users do have a different mail domain that the other users (@corp.domain.com vs @domain.com, for example).

          Edited by: kmac on Apr 20, 2012 10:59 AM
          • 2. Re: Forward mail to MS Exchange for certain users
            Deprecated
            kmac wrote:
            I thought I'd also point out that my Exchange users do have a different mail domain that the other users (@corp.domain.com vs @domain.com, for example).
            Thank you, kmac, but I think that's the point. As far as I know I can't set a new channel for this purpose since the MS Exchange users are in the same domain than the other ones.
            • 3. Re: Forward mail to MS Exchange for certain users
              kmac
              Could the use of mailRoutingAddress along with mailHost in the users LDAP attributes help here?

              http://docs.oracle.com/cd/E19566-01/819-4437/6n6jckqv7/index.html (I know it's for v5 but it's available in 6.3.1 too)

              It's not clear but could you duplicate their mail attribute here and avoid the rewrite?
              • 4. Re: Forward mail to MS Exchange for certain users
                Kellyc-Oracle
                Yes. You can find more discussion of how those attributes work in the Admin Guide section Mail Host and Routing Address
                https://wikis.oracle.com/display/CommSuite/MTA+Address+Translation+and+Routing#MTAAddressTranslationandRouting-MailHostandRoutingAddress
                • 5. Re: Forward mail to MS Exchange for certain users
                  Deprecated
                  Thank you very much for your inputs.

                  It's being quite difficult for me to understand this whole mail routing thing. According to the documentation:

                  "The handling of a missing mailhost attribute is different depending on whether the entry is a user or a group. In the case of a user, a mailhost is essential, so if no mailhost attribute is present a new address of the form

                  @smarthost:user@domain

                  is constructed using the smart host for the domain determined by the LDAP_DOMAIN_ATTR_SMARTHOST MTA option"

                  Sounds good, it seems that I just need to delete mailHost attribute for the users who need to use Exchange and set LDAP_DOMAIN_ATTR_SMARTHOST in option.dat. I've tried that but I get a "4.0.0 temporary error returned by alias expansion" when I send a mail to the test user.

                  I've deleted the LDAP_DOMAIN_ATTR_SMARTHOST line and I've set mailRoutingSmartHost LDAP attribute for the user but I get the same result.

                  I'm not even sure about the mailRoutingSmartHost format. This is what I have:

                  mailRoutingSmartHost: correoweb.saludcastillayleon.es



                  root@MTA1 # imsimta test -rewrite -debug user@domain.com
                  Initializing mm_.
                  Initializing mm_ submission.
                  Checking identifiers.
                  *** Debug output from initializing MM for submission:
                  09:49:06.60: Debug output enabled, system MTA1.domain.com, process 41f0.1, message enqueue routines version V6.3 compiled Mar 14 2008 17:07:19
                  09:49:06.60: mmc_winit('l','postmaster@mta1.domain.com','0MAA00D0131U0W00@mta1.domain.com') called.
                  09:49:06.60: Address reversal invoked on postmaster@mta1.domain.com, force reverse URL 1, capture 1
                  09:49:06.60: Rewriting: Mbox = "postmaster", host = "mta1.domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.60: Rewrite: "$*", position 0, hash table -
                  09:49:06.60: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.60: Rewrite failed, not forward.
                  09:49:06.60: Rewrite: "$*", position 1, hash table -
                  09:49:06.60: Failed.
                  09:49:06.60: Rewrite: "$*", position 0, rewrite database -
                  09:49:06.60: Failed
                  09:49:06.60: Rewriting: Mbox = "postmaster", host = "mta1", domain = "mta1.domain.com", literal = "", tag = ""
                  09:49:06.60: Rewrite: "mta1.domain.com", position 0, hash table -
                  09:49:06.60: Found: "$U%$D@mta1.domain.com"
                  09:49:06.60: New mailbox: "postmaster".
                  09:49:06.60: New host: "mta1.domain.com".
                  09:49:06.60: New route: "mta1.domain.com".
                  09:49:06.60: New channel system: "mta1.domain.com".
                  09:49:06.60: Looking up host "mta1.domain.com".
                  09:49:06.60: - found on channel l
                  09:49:06.60: Routelocal flag set; scanning for % and !
                  09:49:06.60: Checking reverse URL cache for: postmaster@mta1.domain.com
                  09:49:06.60: Applying reverse URL pattern ldap:///$V?$N?sub?$R to: postmaster@mta1.domain.com
                  09:49:06.68: URL generation failed, status = 0
                  09:49:06.68: Mapped return address: postmaster@mta1.domain.com
                  09:49:06.68: from_access mapping check: ||MAIL|l|postmaster@mta1.domain.com|
                  09:49:06.68: Queue area size 145940970, temp area size 21837182
                  09:49:06.68: 36485242 blocks of effective free queue space available; setting disk limit accordingly.
                  09:49:06.68: 10918591 blocks of free temporary space available; setting disk limit accordingly.
                  09:49:06.68: - passed.
                  09:49:06.68: Rewriting: Mbox = "postmaster", host = "mta1.domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.68: Rewrite: "$*", position 0, hash table -
                  09:49:06.68: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.68: Rewrite failed, not forward.
                  09:49:06.68: Rewrite: "$*", position 1, hash table -
                  09:49:06.68: Failed.
                  09:49:06.68: Rewrite: "$*", position 0, rewrite database -
                  09:49:06.68: Failed
                  09:49:06.68: Rewriting: Mbox = "postmaster", host = "mta1", domain = "mta1.domain.com", literal = "", tag = ""
                  09:49:06.68: Rewrite: "mta1.domain.com", position 0, hash table -
                  09:49:06.68: Found: "$U%$D@mta1.domain.com"
                  09:49:06.68: New mailbox: "postmaster".
                  09:49:06.68: New host: "mta1.domain.com".
                  09:49:06.68: New route: "mta1.domain.com".
                  09:49:06.68: New channel system: "mta1.domain.com".
                  09:49:06.68: Looking up host "mta1.domain.com".
                  09:49:06.68: - found on channel l
                  09:49:06.68: Routelocal flag set; scanning for % and !
                  ***
                  *** Debug output from rewriting a forward header address:
                  09:49:06.68: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.68: Rewrite: "$*", position 0, hash table -
                  09:49:06.68: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.68: Rewrite failed, not envelope.
                  09:49:06.68: Rewrite: "$*", position 1, hash table -
                  09:49:06.68: Failed.
                  09:49:06.68: Rewrite: "$*", position 0, rewrite database -
                  09:49:06.68: Failed
                  09:49:06.68: Rewriting: Mbox = "user", host = "saludcastillayleon", domain = "domain.com", literal = "", tag = ""
                  09:49:06.68: Rewrite: "domain.com", position 0, hash table -
                  09:49:06.68: Found: "$U%$D@mta1.domain.com"
                  09:49:06.68: New mailbox: "user".
                  09:49:06.68: New host: "domain.com".
                  09:49:06.68: New route: "mta1.domain.com".
                  09:49:06.68: New channel system: "mta1.domain.com".
                  09:49:06.68: Looking up host "mta1.domain.com".
                  09:49:06.68: - found on channel l
                  09:49:06.68: Routelocal flag set; scanning for % and !
                  09:49:06.68: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.68: Rewrite: "$*", position 0, hash table -
                  09:49:06.68: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.68: Rewrite failed, not envelope.
                  09:49:06.68: Rewrite: "$*", position 1, hash table -
                  09:49:06.68: Failed.
                  09:49:06.68: Rewrite: "$*", position 0, rewrite database -
                  09:49:06.68: Failed
                  09:49:06.68: Rewriting: Mbox = "user", host = "domain", domain = "domain.com", literal = "", tag = ""
                  09:49:06.68: Rewrite: "domain.com", position 0, hash table -
                  09:49:06.68: Found: "$U%$D@mta1.domain.com"
                  09:49:06.68: New mailbox: "user".
                  09:49:06.68: New host: "domain.com".
                  09:49:06.68: New route: "mta1.domain.com".
                  09:49:06.68: New channel system: "mta1.domain.com".
                  09:49:06.68: Looking up host "mta1.domain.com".
                  09:49:06.68: - found on channel l
                  09:49:06.68: Routelocal flag set; scanning for % and !
                  09:49:06.68: Rewrite rules result: user@domain.com
                  09:49:06.68: Checking reverse URL cache for: user@domain.com
                  09:49:06.68: Applying reverse URL pattern ldap:///$V?$N?sub?$R to: user@domain.com
                  09:49:06.69: Resulting URL: ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@domain.com)(mailEquivalentAddress=user@domain.com))
                  09:49:06.69: mmc_open_url called to open ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@domain.com)(mailEquivalentAddress=user@domain.com)), flags = 384
                  09:49:06.69: URL with quotes stripped: ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@domain.com)(mailEquivalentAddress=user@domain.com))
                  09:49:06.69: LDAP URL identified
                  09:49:06.69: URL context #1 will be used
                  09:49:06.69: Performing URL search on: ldap:///o%3Ddomain.com?preferredlanguage,mailmsgmaxblocks,mail,mailalternateaddress,mailequivalentaddress?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@domain.com)(mailEquivalentAddress=user@domain.com))
                  09:49:06.70: mmc_read_url result: [uid=user, ou=People, o=domain.com]
                  09:49:06.70: URL resolution returned: [uid=user, ou=People, o=domain.com]
                  09:49:06.70: mmc_read_url result: [preferredlanguage] en
                  09:49:06.70: URL resolution returned: [preferredlanguage] en
                  09:49:06.70: Attribute index: 0
                  09:49:06.70: LDAP URL produced preferred language en
                  09:49:06.70: mmc_read_url result: [mail] user@domain.com
                  09:49:06.70: URL resolution returned: [mail] user@domain.com
                  09:49:06.70: Attribute index: 0
                  09:49:06.70: LDAP URL produced address user@domain.com
                  09:49:06.70: mmc_read_url result: [mailalternateaddress] egutierrez@acotelsa.com
                  09:49:06.70: URL resolution returned: [mailalternateaddress] egutierrez@acotelsa.com
                  09:49:06.70: Attribute index: 0
                  09:49:06.70: Alternate address egutierrez@acotelsa.com
                  09:49:06.70: No more results to return
                  ***
                  *** Debug output from rewriting a forward envelope address:
                  09:49:06.70: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.70: Rewrite: "$*", position 0, hash table -
                  09:49:06.70: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.70: Match, pattern = "domain.com", current = "(*domaincheck*)"
                  09:49:06.70: old state = not checked.
                  09:49:06.70: Domain check on domain.com.
                  09:49:06.70: Added domain result 1 to cache for domain.com.
                  09:49:06.70: new state = succeeded.
                  09:49:06.70: New mailbox: "user".
                  09:49:06.70: New host: "domain.com".
                  09:49:06.70: New route: "mta1.domain.com".
                  09:49:06.70: New channel system: "mta1.domain.com".
                  09:49:06.70: Looking up host "mta1.domain.com".
                  09:49:06.70: - found on channel l
                  09:49:06.70: Routelocal flag set; scanning for % and !
                  ***
                  address channel = l
                  forward channel = l
                  channel description =
                  channel caption =
                  channel user filter =
                  dest channel filter =
                  source channel filter =
                  channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
                  channel flags #1 = NOSMTP DEFAULT
                  channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
                  channel flags #3 = LOGGING NORESTRICTED RETAINSECURITYMULTIPARTS
                  channel flags #4 = EIGHTBIT HEADERKEEPORDER NOHEADERREAD RULES
                  channel flags #5 = TRUNCATESMTPLONGLINES
                  channel flags #6 = LOCALUSER REPORTNOTARY
                  channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
                  channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
                  channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
                  defaulthost = domain.com domain.com
                  linelength = 1023
                  channel env addr type = SOURCEROUTE
                  channel hdr addr type = SOURCEROUTE
                  channel official host = mta1.domain.com
                  channel after params =
                  channel user name =
                  urgentnotices = 1 2 4 7
                  normalnotices = 1 2 4 7
                  nonurgentnotices = 1 2 4 7
                  channel rightslist ids =
                  local behavior flags = %x7
                  expandchannel =
                  notificationchannel =
                  dispositionchannel =
                  saslswitchchannel =
                  tlsswitchchannel =
                  backward channel = l
                  unique identifier = user@domain.com
                  header forward address = user@domain.com (route (mta1.domain.com,mta1.domain.com)) (host domain.com)
                  header reverse address = user@domain.com
                  envelope forw address = user@domain.com (route (mta1.domain.com,mta1.domain.com)) (host domain.com)
                  envelope rev address = user@domain.com (route (mta1.domain.com,mta1.domain.com)) (host domain.com)
                  name =
                  mbox = user
                  Extracted address action list:
                  user@domain.com
                  Extracted 733 address action list:
                  user@domain.com
                  Address list expansion:
                  *** Debug output from alias expansion:
                  09:49:06.70: Inner expand, level = 0, mailbox = user@domain.com
                  09:49:06.70: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.70: Rewrite: "$*", position 0, hash table -
                  09:49:06.70: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.70: Match, pattern = "domain.com", current = "(*domaincheck*)"
                  09:49:06.70: old state = not checked.
                  09:49:06.70: Using result 1 from domain match cache.
                  09:49:06.70: new state = succeeded.
                  09:49:06.70: New mailbox: "user".
                  09:49:06.70: New host: "domain.com".
                  09:49:06.70: New route: "mta1.domain.com".
                  09:49:06.70: New channel system: "mta1.domain.com".
                  09:49:06.70: Looking up host "mta1.domain.com".
                  09:49:06.70: - found on channel l
                  09:49:06.70: Routelocal flag set; scanning for % and !
                  09:49:06.70: Reparsed mailbox: user
                  09:49:06.70: Reparsed host: domain.com
                  09:49:06.70: Variant #1 = user@domain.com
                  09:49:06.70: Variant #2 = *@domain.com
                  09:49:06.70: Alias magic value 8764
                  09:49:06.70: LDAP URL template identified
                  09:49:06.70: URL determined to be: ldap:///o%3Ddomain.com?*?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@domain.com)(mailEquivalentAddress=user@domain.com))
                  09:49:06.70: URL context #1 will be used
                  09:49:06.70: Performing URL search on: ldap:///o%3Ddomain.com?objectclass,inetuserstatus,mailuserstatus,inetMailGroupStatus,uid,preferredLanguage,mailRoutingAddress,mailMsgMaxBlocks,mail,mailAlternateAddress,mailEquivalentAddress,mailDeliveryOption,vacationStartDate,vacationEndDate,mailConversionTag,mailhost,mailQuota,mailMsgQuota,mailProgramDeliveryInfo,mailDeliveryFileURL,mailDeliveryFile,mailAutoReplyMode,mailAutoReplySubject,mailAutoReplyText,mailAutoReplyTextInternal,mailAutoReplyTimeOut,mailSieveRuleSource,mailForwardingAddress,mailDeferProcessing,mgrpMsgRejectAction,mgrpRejectText,mgrpMsgRejectText,mgrpBroadcasterPolicy,mgrpDisallowedBroadcaster,mgrpAllowedBroadcaster,mgrpDisallowedDomain,mgrpAllowedDomain,mgrpMsgMaxSize,mgrpAuthPassword,mgrpModerator,mgrpDeliverTo,memberURL,UniqueMember,mgrpRFC822MailMember,rfc822MailMember,mgrpErrorsTo,mgrpAddHeader,mgrpRemoveHeader,mgrpMsgPrefixText,mgrpMsgSuffixText,mgmanMemberVisibility,expandable?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@09:49:06.72: Scanning LDAP result.
                  09:49:06.72: Attribute: objectclass
                  09:49:06.72: Attribute index: 0
                  09:49:06.72: Attribute: inetuserstatus
                  09:49:06.72: Attribute index: 1
                  09:49:06.72: Attribute: mailuserstatus
                  09:49:06.72: Attribute index: 2
                  09:49:06.72: Attribute: uid
                  09:49:06.72: Attribute index: 5
                  09:49:06.72: Attribute: preferredLanguage
                  09:49:06.72: Attribute index: 19
                  09:49:06.72: Attribute: mail
                  09:49:06.72: Attribute index: 31
                  09:49:06.72: Attribute: mailAlternateAddress
                  09:49:06.72: Attribute index: 32
                  09:49:06.72: Attribute: mailDeliveryOption
                  09:49:06.72: Attribute index: 34
                  09:49:06.72: Attribute: mailQuota
                  09:49:06.72: Attribute index: 51
                  09:49:06.72: Attribute: mailAutoReplyMode
                  09:49:06.72: Attribute index: 55
                  09:49:06.72: Attribute: mailForwardingAddress
                  09:49:06.72: Attribute index: 64
                  09:49:06.72: Attribute: mailDeferProcessing
                  09:49:06.72: Attribute index: 65
                  09:49:06.72: Scanning complete, begin actions
                  09:49:06.72: Possible user object classes: inetLocalMailRecipient+inetmailuser
                  09:49:06.72: Possible group object classes: inetLocalMailRecipient+inetmailgroup
                  09:49:06.72: Object class: top
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: person
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: inetuser
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: organizationalperson
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: inetorgperson
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: ipuser
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: inetmailuser
                  09:49:06.72: Object class match, reference value 1
                  09:49:06.72: Object class: inetlocalmailrecipient
                  09:49:06.72: Object class match, reference value 18
                  09:49:06.72: Object class: userpresenceprofile
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: inetsubscriber
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: icscalendaruser
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: iplanet-am-managed-person
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: iplanet-am-user-service
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: iplanetpreferences
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: inetadmin
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: sunamauthaccountlockout
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: sunUCPreferences
                  09:49:06.72: Object class didn't match
                  09:49:06.72: Object class: mailDomain
                  09:49:06.72: Object class didn't match
                  09:49:06.72: User/group index = 1
                  09:49:06.72: Domain is active
                  09:49:06.72: Mail domain is active
                  09:49:06.72: User status = active
                  09:49:06.72: User is active
                  09:49:06.72: Mail user status = active
                  09:49:06.72: User is active
                  09:49:06.72: User UID user found.
                  09:49:06.73: Delivery option: mailbox
                  09:49:06.73: Delivery options value: 1
                  09:49:06.73: Processing mailhost attribute
                  09:49:06.73: Mailhost not set for user
                  09:49:06.73: Adding result to cache.
                  09:49:06.73: Status for this address = -10
                  09:49:06.73: LDAP URL template identified
                  09:49:06.73: URL determined to be: ldap:///o%3Ddomain.com?*?sub?(mailAlternateAddress=@domain.com)
                  09:49:06.73: URL context #1 will be used
                  09:49:06.73: Performing URL search on: ldap:///o%3Ddomain.com?objectclass,inetuserstatus,mailuserstatus,inetMailGroupStatus,uid,preferredLanguage,mailRoutingAddress,mailMsgMaxBlocks,mail,mailAlternateAddress,mailEquivalentAddress,mailDeliveryOption,vacationStartDate,vacationEndDate,mailConversionTag,mailhost,mailQuota,mailMsgQuota,mailProgramDeliveryInfo,mailDeliveryFileURL,mailDeliveryFile,mailAutoReplyMode,mailAutoReplySubject,mailAutoReplyText,mailAutoReplyTextInternal,mailAutoReplyTimeOut,mailSieveRuleSource,mailForwardingAddress,mailDeferProcessing,mgrpMsgRejectAction,mgrpRejectText,mgrpMsgRejectText,mgrpBroadcasterPolicy,mgrpDisallowedBroadcaster,mgrpAllowedBroadcaster,mgrpDisallowedDomain,mgrpAllowedDomain,mgrpMsgMaxSize,mgrpAuthPassword,mgrpModerator,mgrpDeliverTo,memberURL,UniqueMember,mgrpRFC822MailMember,rfc822MailMember,mgrpErrorsTo,mgrpAddHeader,mgrpRemoveHeader,mgrpMsgPrefixText,mgrpMsgSuffixText,mgmanMemberVisibility,expandable?sub?(mailAlternateAddress=@domain.com)
                  09:49:06.75: Search succeeded but 0 entries returned
                  09:49:06.75: No matching entries were found that were valid
                  09:49:06.75: Status for this address = 0
                  ***
                  0 expansion total.
                  *** Debug output from submitting an envelope address:
                  09:49:06.75: mmc_wadr(0x08103050,'user@domain.com','user@domain.com') called.
                  09:49:06.75: Copy estimate before address addition is 1
                  09:49:06.75: Parsing address user@domain.com
                  09:49:06.75: Rewriting: Mbox = "user", host = "domain.com", domain = "$*", literal = "", tag = ""
                  09:49:06.75: Rewrite: "$*", position 0, hash table -
                  09:49:06.75: Found: "$A$E$F$U%$H$V$H@mta1.domain.com"
                  09:49:06.75: Match, pattern = "domain.com", current = "(*domaincheck*)"
                  09:49:06.75: old state = not checked.
                  09:49:06.75: Using result 1 from domain match cache.
                  09:49:06.75: new state = succeeded.
                  09:49:06.75: New mailbox: "user".
                  09:49:06.75: New host: "domain.com".
                  09:49:06.75: New route: "mta1.domain.com".
                  09:49:06.75: New channel system: "mta1.domain.com".
                  09:49:06.75: Looking up host "mta1.domain.com".
                  09:49:06.75: - found on channel l
                  09:49:06.75: Routelocal flag set; scanning for % and !
                  09:49:06.75: Address user@domain.com requires local processing.
                  09:49:06.75: Variant #1 = user@domain.com
                  09:49:06.75: Variant #2 = *@domain.com
                  09:49:06.75: Alias magic value 8764
                  09:49:06.75: Checking for user@domain.com in the system alias file
                  09:49:06.75: - not found
                  09:49:06.75: Checking for *@domain.com in the system alias file
                  09:49:06.75: - not found
                  09:49:06.75: Checking user@domain.com with URL template ldap:///$V?*?sub?$R
                  09:49:06.75: LDAP URL template identified
                  09:49:06.75: URL determined to be: ldap:///o%3Ddomain.com?*?sub?(|(mail=user@domain.com)(mailAlternateAddress=user@domain.com)(mailEquivalentAddress=user@domain.com))
                  09:49:06.75: URL context #1 will be used
                  09:49:06.75: Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|user@domain.com|user@domain.com
                  09:49:06.75: Scanning LDAP result.
                  09:49:06.75: Attribute: objectclass
                  09:49:06.75: Attribute index: 0
                  09:49:06.75: Attribute: inetuserstatus
                  09:49:06.75: Attribute index: 1
                  09:49:06.75: Attribute: mailuserstatus
                  09:49:06.75: Attribute index: 2
                  09:49:06.75: Attribute: uid
                  09:49:06.75: Attribute index: 5
                  09:49:06.75: Attribute: preferredLanguage
                  09:49:06.75: Attribute index: 19
                  09:49:06.75: Attribute: mail
                  09:49:06.75: Attribute index: 31
                  09:49:06.75: Attribute: mailAlternateAddress
                  09:49:06.75: Attribute index: 32
                  09:49:06.75: Attribute: mailDeliveryOption
                  09:49:06.75: Attribute index: 34
                  09:49:06.75: Attribute: mailQuota
                  09:49:06.75: Attribute index: 51
                  09:49:06.75: Attribute: mailAutoReplyMode
                  09:49:06.75: Attribute index: 55
                  09:49:06.75: Attribute: mailForwardingAddress
                  09:49:06.75: Attribute index: 64
                  09:49:06.75: Attribute: mailDeferProcessing
                  09:49:06.75: Attribute index: 65
                  09:49:06.75: Scanning complete, begin actions
                  09:49:06.75: Possible user object classes: inetLocalMailRecipient+inetmailuser
                  09:49:06.75: Possible group object classes: inetLocalMailRecipient+inetmailgroup
                  09:49:06.75: Object class: top
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: person
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: inetuser
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: organizationalperson
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: inetorgperson
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: ipuser
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: inetmailuser
                  09:49:06.75: Object class match, reference value 1
                  09:49:06.75: Object class: inetlocalmailrecipient
                  09:49:06.75: Object class match, reference value 18
                  09:49:06.75: Object class: userpresenceprofile
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: inetsubscriber
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: icscalendaruser
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: iplanet-am-managed-person
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: iplanet-am-user-service
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: iplanetpreferences
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: inetadmin
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: sunamauthaccountlockout
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: sunUCPreferences
                  09:49:06.75: Object class didn't match
                  09:49:06.75: Object class: mailDomain
                  09:49:06.75: Object class didn't match
                  09:49:06.75: User/group index = 1
                  09:49:06.75: Domain is active
                  09:49:06.75: Mail domain is active
                  09:49:06.75: User status = active
                  09:49:06.75: User is active
                  09:49:06.75: Mail user status = active
                  09:49:06.75: User is active
                  09:49:06.75: User UID user found.
                  09:49:06.75: Delivery option: mailbox
                  09:49:06.75: Delivery options value: 1
                  09:49:06.75: Processing mailhost attribute
                  09:49:06.75: Mailhost not set for user
                  09:49:06.75: Status for this address = -10
                  09:49:06.75: Temporary alias URL failure; reprocess later
                  09:49:06.75: - adding address user@domain.com to channel reprocess
                  09:49:06.75: Good address count 1 defer count 1
                  09:49:06.75: All addresses deferred - treat as general temporary error
                  09:49:06.75: Copy estimate after address addition is 2
                  09:49:06.75: mmc_waend(0x08103050) called.
                  09:49:06.75: Copy estimate is 2
                  09:49:06.75: Queue area size 145940970, temp area size 21837154
                  09:49:06.75: 36485242 blocks of effective free queue space available; setting disk limit accordingly.
                  09:49:06.75: 10918577 blocks of free temporary space available; setting disk limit accordingly.
                  ***
                  Submitted address list:
                  Address list error -- 4.0.0 temporary error returned by alias expansion: user@domain.com

                  Submitted notifications list: