Problem with mail lists.5.2.4 alias failed to expand to any valid address

I create a group with:

/opt/SUNWcomm/bin/commadmin group create -D admin_user -G group -n dominio.com.ar -w admin_password -d dominio.com.ar -E group@dominio.com.ar -S mail -m usuario@dominio.com.ar

But when i send a mail to this group i get:

Direccin del destinatario: @tcp_scanner-daemon:rrhh@dominio.com.ar

Direcci n original: rrhh@dominio.com.ar

Motivo: SMTP transmission failure has occurred

Cdigo de diagn stico: smtp;550 5.2.4 Failed, id=03879-07, from MTA([127.0.0.1]:10025): 550 5.2.4 alias failed to expand to any valid addresses: rrhh@dominio.com.ar

Sistema remoto: dns;[127.0.0.1] ([127.0.0.1] ESMTP amavisd-new service ready)

what is wrong?

[715 byte] By [AYacopino] at [2007-11-25 22:36:22]
# 1
does the address, usuario@dominio.com.ar exist?Please doimsimta test -rewrite -debug group@dominio.com.arand post the results, here.
jay_plesset at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

./imsimta version

Sun Java(tm) System Messaging Server 6.1 HotFix 0.11 (built Jan 28 2005)

libimta.so 6.1 HotFix 0.11 (built 16:16:35, Jan 28 2005)

SunOS acafipri 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Fire-V240

And I do a:

./imsimta test -rewrite -debug rrhh@dominio.com.ar

and i get:

Initializing mm_.

Initializing mm_ submission.

Checking identifiers.

*** Debug output from initializing MM for submission:

16:40:15.59: mmc_winit('l','postmaster@acafipri.dominio.com.ar','0IWY00A020N39Q00@acafipri.d ominio.com.ar') called.

16:40:15.59: mmc_determine_url beginning with pattern , xadr , mbox , subaddress

16:40:15.59: Queue area size 20395190, temp area size 441296

16:40:15.59:5098797 blocks of effective free queue space available; setting disk limit accordingly.

16:40:15.59:220648 blocks of free temporary space available; setting disk limit accordingly.

16:40:15.59:from_access mapping check: ||MAIL|l|postmaster@acafipri.dominio.com.ar|

16:40:15.59: Mapping -1 applied to ||MAIL|l|postmaster@acafipri.dominio.com.ar|

16:40:15.59:No such mapping; performing simple copy.

16:40:15.59:- passed.

16:40:15.59: mmc_address_to_tree: Parsing address.

16:40:15.59:Address: "postmaster@acafipri.dominio.com.ar" 0x00000000

16:40:15.59:Right default: dominio.com.ar

16:40:15.59:Parsing address with local fixup.

16:40:15.59: mmc_address_to_tree: Returning.

16:40:15.59: Rewriting: Mbox = "postmaster", host = "acafipri.dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.59: Rewrite: "$*", position 0, hash table -

16:40:15.59:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.59:Rewrite failed, not forward.

16:40:15.59: Rewrite: "$*", position 1, hash table -

16:40:15.59:Failed.

16:40:15.59: Rewrite: "$*", position 0, rewrite database -

16:40:15.59:Failed

16:40:15.59: Rewriting: Mbox = "postmaster", host = "acafipri", domain = "acafipri.dominio.com.ar", literal = "", tag = ""

16:40:15.59: Rewrite: "acafipri.dominio.com.ar", position 0, hash table -

16:40:15.59:Found: "$U%$D@acafipri.dominio.com.ar"

16:40:15.59:New mailbox: "postmaster".

16:40:15.59:New host: "acafipri.dominio.com.ar".

16:40:15.59:New route: "acafipri.dominio.com.ar".

16:40:15.59:New channel system: "acafipri.dominio.com.ar".

16:40:15.59: Looking up host "acafipri.dominio.com.ar".

16:40:15.59:- found on channel l

16:40:15.59: Routelocal flag set; scanning for % and !

16:40:15.59: mmc_address_to_tree: Parsing address.

16:40:15.59:Address: "postmaster@acafipri.dominio.com.ar" 0x00000000

16:40:15.59:Right default: dominio.com.ar

16:40:15.59:Parsing address with null fixup.

16:40:15.59: mmc_address_to_tree: Returning.

16:40:15.59: Rewriting: Mbox = "postmaster", host = "acafipri.dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.59: Rewrite: "$*", position 0, hash table -

16:40:15.59:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.59:Rewrite failed, not forward.

16:40:15.59: Rewrite: "$*", position 1, hash table -

16:40:15.59:Failed.

16:40:15.59: Rewrite: "$*", position 0, rewrite database -

16:40:15.59:Failed

16:40:15.59: Rewriting: Mbox = "postmaster", host = "acafipri", domain = "acafipri.dominio.com.ar", literal = "", tag = ""

16:40:15.59: Rewrite: "acafipri.dominio.com.ar", position 0, hash table -

16:40:15.59:Found: "$U%$D@acafipri.dominio.com.ar"

16:40:15.59:New mailbox: "postmaster".

16:40:15.59:New host: "acafipri.dominio.com.ar".

16:40:15.59:New route: "acafipri.dominio.com.ar".

16:40:15.59:New channel system: "acafipri.dominio.com.ar".

16:40:15.59: Looking up host "acafipri.dominio.com.ar".

16:40:15.59:- found on channel l

16:40:15.59: Routelocal flag set; scanning for % and !

16:40:15.59:Checking reverse URL cache for: postmaster@acafipri.dominio.com.ar

16:40:15.59:Applying reverse URL pattern ldap:///$V?$N?sub?$R to: postmaster@acafipri.dominio.com.ar

16:40:15.59: mmc_determine_url beginning with pattern ldap:///$V?$N?sub?$R, xadr postmaster@acafipri.dominio.com.ar, mbox , subaddress

16:40:15.59:Get domain information for: acafipri.dominio.com.ar

16:40:15.59: dmap_locate_domain called with domain acafipri.dominio.com.ar

16:40:15.59:Fixed up domain now acafipri.dominio.com.ar

16:40:15.59:42 is hash chain value for acafipri.dominio.com.ar

16:40:15.59: No entry for this domain found in the cache

16:40:15.59:Performing LDAP search on baseDN dc=dominio,dc=com,dc=ar scope 2 filter (&(objectclass=sunManagedOrganization)(|(associatedDomain=acafipri.dominio. com.ar)(sunPreferredDomain=acafipri.dominio.com.ar)))

16:40:15.60:Search returned 'Success' (0)

16:40:15.60:0 entries returned

16:40:15.60:Creating negative cache entry for acafipri.dominio.com.ar

16:40:15.60:42 is hash chain value for acafipri.dominio.com.ar

16:40:15.60:Get domain failed with status -1

16:40:15.60:Added tentative negative entry to domain match cache.

16:40:15.60:URL generation failed, status = 0

16:40:15.60:Mapped return address: postmaster@acafipri.dominio.com.ar

***

*** Debug output from rewriting a forward header address:

16:40:15.60: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.60: Rewrite: "$*", position 0, hash table -

16:40:15.60:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.60:Rewrite failed, not envelope.

16:40:15.60: Rewrite: "$*", position 1, hash table -

16:40:15.60:Failed.

16:40:15.60: Rewrite: "$*", position 0, rewrite database -

16:40:15.60:Failed

16:40:15.60: Rewriting: Mbox = "rrhh", host = "dominio", domain = "dominio.com.ar", literal = "", tag = ""

16:40:15.60: Rewrite: "dominio.com.ar", position 0, hash table -

16:40:15.60:Found: "$U%$D@acafipri.dominio.com.ar"

16:40:15.60:New mailbox: "rrhh".

16:40:15.60:New host: "dominio.com.ar".

16:40:15.60:New route: "acafipri.dominio.com.ar".

16:40:15.60:New channel system: "acafipri.dominio.com.ar".

16:40:15.60: Looking up host "acafipri.dominio.com.ar".

16:40:15.60:- found on channel l

16:40:15.60: Routelocal flag set; scanning for % and !

16:40:15.60:Rewrite rules result: rrhh@dominio.com.ar

16:40:15.60:Checking reverse URL cache for: rrhh@dominio.com.ar

16:40:15.60:Applying reverse URL pattern ldap:///$V?$N?sub?$R to: rrhh@dominio.com.ar

16:40:15.60: dmap_locate_domain called with domain dominio.com.ar

16:40:15.60:Fixed up domain now dominio.com.ar

16:40:15.60:57 is hash chain value for dominio.com.ar

16:40:15.60: No entry for this domain found in the cache

16:40:15.60:Performing LDAP search on baseDN dc=dominio,dc=com,dc=ar scope 2 filter (&(objectclass=sunManagedOrganization)(|(associatedDomain=dominio.com.ar)(s unPreferredDomain=dominio.com.ar)))

16:40:15.61:Search returned 'Success' (0)

16:40:15.61:1 entries returned

16:40:15.61: Result baseDN o=dominio.com.ar,dc=dominio,dc=com,dc=ar

16:40:15.61: Result canonical domain name dominio.com.ar, canonical flag 3

16:40:15.61:57 is hash chain value for dominio.com.ar

16:40:15.61:7 is hash chain value for o=dominio.com.ar,dc=dominio,dc=com,dc=ar

16:40:15.61: dmap_locate_domain returning entry dominio.com.ar refcount 3

16:40:15.61:93 is hash chain value for maildomainstatus

16:40:15.61:118 is hash chain value for mailroutingsmarthost

16:40:15.61:122 is hash chain value for inetdomainstatus

16:40:15.61:122 is hash chain value for inetdomainstatus

16:40:15.61:104 is hash chain value for maildomainreportaddress

16:40:15.61:84 is hash chain value for maildomainmsgmaxblocks

16:40:15.61:88 is hash chain value for maildomainconversiontag

16:40:15.61:121 is hash chain value for maildomainsieverulesource

16:40:15.61:54 is hash chain value for maildomaincatchalladdress

16:40:15.61: Dispose decremented refcount for domain entry dominio.com.ar to 2

16:40:15.61:Resulting URL: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?preferredlanguag e,mail,mailequivalentaddress?sub?(|(mail=rrhh@dominio.com.ar)(mailAlternateAddre ss=rrhh@dominio.com.ar)(mailEquivalentAddress=rrhh@dominio.com.ar))

16:40:15.61: mmc_open_url called to open ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?preferredlanguag e,mail,mailequivalentaddress?sub?(|(mail=rrhh@dominio.com.ar)(mailAlternateAddre ss=rrhh@dominio16:40:15.62: dmap_locate_domain called with domain dominio.com.ar

16:40:15.62:Fixed up domain now dominio.com.ar

16:40:15.62:57 is hash chain value for dominio.com.ar

16:40:15.62:Found in domain name table, refcount now 3

16:40:15.62: dmap_locate_domain returning entry dominio.com.ar refcount 3

16:40:15.62:93 is hash chain value for maildomainstatus

16:40:15.62:2 is hash chain value for mailroutinghosts

16:40:15.62: Dispose decremented refcount for domain entry dominio.com.ar to 2

.com.ar)(mailEquivalentAddress=rrhh@dominio.com.ar)), flags = 384

16:40:15.61:URL with quotes stripped: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?preferredlanguag e,mail,mailequivalentaddress?sub?(|(mail=rrhh@dominio.com.ar)(mailAlternateAddre ss=rrhh@dominio.com.ar)(mailEquivalentAddress=rrhh@dominio.com.ar))

16:40:15.61:LDAP URL identified

16:40:15.61: URL context #1 will be used

16:40:15.61:Performing URL search on: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?preferredlanguag e,mail,mailequivalentaddress?sub?(|(mail=rrhh@dominio.com.ar)(mailAlternateAddre ss=rrhh@dominio.com.ar)(mailEquivalentAddress=rrhh@dominio.com.ar))

16:40:15.62: mmc_read_url result: [cn=rrhh,ou=Groups,o=dominio.com.ar,dc=dominio,dc=com,dc=ar]

16:40:15.62:URL resolution returned: [cn=rrhh,ou=Groups,o=dominio.com.ar,dc=dominio,dc=com,dc=ar]

16:40:15.62: mmc_read_url result: [mail] rrhh@dominio.com.ar

16:40:15.62:URL resolution returned: [mail] rrhh@dominio.com.ar

16:40:15.62:Attribute index: 12

16:40:15.62:LDAP URL produced address rrhh@dominio.com.ar

16:40:15.62:No more result to return

16:40:15.62:Applying reverse mapping to: rrhh@dominio.com.ar

16:40:15.62:No match.

***

forward channel= l

channel description=

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= NOLOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS

channel flags #4= EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES

channel flags #5=

channel flags #6= LOCALUSER REPORTHEADER

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= dominio.com.ar dominio.com.ar

linelength = 1023

channel env addr type = SOURCEROUTE

channel hdr addr type = SOURCEROUTE

channel official host = acafipri.dominio.com.ar

channel queue 0 name= LOCAL_POOL

channel queue 1 name= LOCAL_POOL

channel queue 2 name= LOCAL_POOL

channel queue 3 name= LOCAL_POOL

channel after params=

channel user name=

urgentnotices = 1 2 3

normalnotices = 1 2 3

nonurgentnotices= 1 2 3

channel rightslist ids =

local behavior flags= %x7

backward channel= l

header To: address= rrhh@dominio.com.ar

header From: address= rrhh@dominio.com.ar

envelope To: address= rrhh@dominio.com.ar (route (acafipri.dominio.com.ar,acafipri.dominio.com.ar)) (host dominio.com.ar)

envelope From: address = rrhh@dominio.com.ar

name=

mbox= rrhh

Extracted address action list:

rrhh@dominio.com.ar

Extracted 733 address action list:

rrhh@dominio.com.ar

Address list expansion:

*** Debug output from alias expansion:

16:40:15.64: Inner expand, level = 0, mailbox = rrhh@dominio.com.ar

16:40:15.64: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.64: Rewrite: "$*", position 0, hash table -

16:40:15.64:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.64:Match, pattern = "dominio.com.ar", current = "(*domaincheck*)"

16:40:15.64:old state = not checked.

16:40:15.64:Using result 1 from domain match cache.

16:40:15.64:new state = succeeded.

16:40:15.64:New mailbox: "rrhh".

16:40:15.64:New host: "dominio.com.ar".

16:40:15.64:New route: "acafipri.dominio.com.ar".

16:40:15.64:New channel system: "acafipri.dominio.com.ar".

16:40:15.64: Looking up host "acafipri.dominio.com.ar".

16:40:15.64:- found on channel l

16:40:15.64: Routelocal flag set; scanning for % and !

16:40:15.64:Reparsed mailbox: rrhh

16:40:15.64:Reparsed host: dominio.com.ar

16:40:15.64:Variant #1 = rrhh@dominio.com.ar

16:40:15.64:Variant #2 = *@dominio.com.ar

16:40:15.64:LDAP URL template identified

16:40:15.64: dmap_locate_domain called with domain dominio.com.ar

16:40:15.64:Fixed up domain now dominio.com.ar

16:40:15.64:57 is hash chain value for dominio.com.ar

16:40:15.64:Found in domain name table, refcount now 3

16:40:15.64: dmap_locate_domain returning entry dominio.com.ar refcount 3

16:40:15.64:93 is hash chain value for maildomainstatus

16:40:15.64:118 is hash chain value for mailroutingsmarthost

16:40:15.64:122 is hash chain value for inetdomainstatus

16:40:15.64:122 is hash chain value for inetdomainstatus

16:40:15.64:104 is hash chain value for maildomainreportaddress

16:40:15.64:84 is hash chain value for maildomainmsgmaxblocks

16:40:15.64:88 is hash chain value for maildomainconversiontag

16:40:15.64:121 is hash chain value for maildomainsieverulesource

16:40:15.64:54 is hash chain value for maildomaincatchalladdress

16:40:15.64: Dispose decremented refcount for domain entry dominio.com.ar to 2

16:40:15.64:URL determined to be: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?*?sub?(|(mail=rr hh@dominio.com.ar)(mailAlternateAddress=rrhh@dominio.com.ar)(mailEquivalentAddre ss=rrhh@dominio.com.ar))

16:40:15.64:URL context #1 will be used

16:40:15.64:Performing URL search on: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?objectclass,inet userstatus,mailuserstatus,inetMailGroupStatus,uid,preferredLanguage,mail,mailAlt ernateAddress,mailEquivalentAddress,mailRoutingAddress,mailDeliveryOption,vacati onStartDate,vacationEndDate,mailConversionTag,mailMsgMaxBlocks,mailhost,mailQuot a,mailMsgQuota,mailProgramDeliveryInfo,mailDeliveryFileURL,mailDeliveryFile,mail AutoReplyMode,mailAutoReplySubject,mailAutoReplyText,mailAutoReplyTextInternal,m ailAutoReplyTimeOut,mailSieveRuleSource,mailForwardingAddress,mailDeferProcessin g,mgrpMsgRejectAction,mgrpRejectText,mgrpMsgRejectText,mgrpBroadcasterPolicy,mgr pDisallowedBroadcaster,mgrpAllowedBroadcaster,mgrpDisallowedDomain,mgrpAllowedDo main,mgrpMsgMaxSize,mgrpAuthPassword,mgrpModerator,mgrpDeliverTo,memberURL,Uniqu eMember,mgrpRFC822MailMember,rfc822MailMember,mgrpErrorsTo,mgrpAddHeader,mgrpRem oveHeader,mgrpMsgPrefixText,mgrpMsgSuffixText,mgmanMemberVisibility,expandable?s ub?(|(mail=rrhh@dominio.com.ar)(m16:40:15.66:Scanning LDAP result.

16:40:15.66:Attribute: objectclass

16:40:15.66:Attribute index: 0

16:40:15.66:Attribute: inetMailGroupStatus

16:40:15.66:Attribute index: 4

16:40:15.66:Attribute: mail

16:40:15.66:Attribute index: 12

16:40:15.66:Attribute: mailDeliveryOption

16:40:15.66:Attribute index: 16

16:40:15.66:Attribute: mailhost

16:40:15.66:Attribute index: 24

16:40:15.66:Attribute: UniqueMember

16:40:15.66:Attribute index: 54

16:40:15.66:Scanning complete, begin actions

16:40:15.66:Possible user object classes: inetLocalMailRecipient+inetmailuser

16:40:15.66:Possible group object classes: inetLocalMailRecipient+inetmailgroup

16:40:15.66:Object class: inetlocalmailrecipient

16:40:15.66:Object class match, reference value 18

16:40:15.66:Object class: top

16:40:15.66:Object class didn't match

16:40:15.66:Object class: iplanet-am-managed-static-group

16:40:15.66:Object class didn't match

16:40:15.66:Object class: inetmailgroup

16:40:15.66:Object class match, reference value 2

16:40:15.66:Object class: groupofuniquenames

16:40:15.66:Object class didn't match

16:40:15.66:Object class: iplanet-am-managed-group

16:40:15.66:Object class didn't match

16:40:15.66:User/group index = 2

16:40:15.66:Domain is active

16:40:15.66:Mail domain is active

16:40:15.66:Mail group status = active

16:40:15.66:User is active

16:40:15.66:Delivery option: members

16:40:15.66:Delivery options value: 2

16:40:15.66:Block limit now: 2147483647

16:40:15.66:Processing mailhost attribute dominio.com.ar

16:40:15.66:Mailhost references remote system.

16:40:15.66:Adding result to cache.

16:40:15.66:Status for this address = -3

16:40:15.66:Initial line address: rrhh@dominio.com.ar

16:40:15.66: Inner expand, level = 1, mailbox = @dominio.com.ar:rrhh@dominio.com.ar

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.66: Rewrite: "$*", position 0, hash table -

16:40:15.66:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.66:Rewrite may fail, host not right of @.

16:40:15.66:Match, pattern = "dominio.com.ar", current = "(*domaincheck*)"

16:40:15.66:old state = not checked.

16:40:15.66:Using result 1 from domain match cache.

16:40:15.66:new state = succeeded.

16:40:15.66:Rewrite failed due to host location mismatch.

16:40:15.66: Rewrite: "$*", position 1, hash table -

16:40:15.66:Failed.

16:40:15.66: Rewrite: "$*", position 0, rewrite database -

16:40:15.66:Failed

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio", domain = "dominio.com.ar", literal = "", tag = ""

16:40:15.66: Rewrite: "dominio.com.ar", position 0, hash table -

16:40:15.66:Found: "$U%$D@acafipri.dominio.com.ar"

16:40:15.66:New mailbox: "rrhh".

16:40:15.66:New host: "dominio.com.ar".

16:40:15.66:New route: "acafipri.dominio.com.ar".

16:40:15.66:New channel system: "acafipri.dominio.com.ar".

16:40:15.66: Looking up host "acafipri.dominio.com.ar".

16:40:15.66:- found on channel l

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.66: Rewrite: "$*", position 0, hash table -

16:40:15.66:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.66:Match, pattern = "dominio.com.ar", current = "(*domaincheck*)"

16:40:15.66:old state = not checked.

16:40:15.66:Using result 1 from domain match cache.

16:40:15.66:new state = succeeded.

16:40:15.66:New mailbox: "rrhh".

16:40:15.66:New host: "dominio.com.ar".

16:40:15.66:New route: "acafipri.dominio.com.ar".

16:40:15.66:New channel system: "acafipri.dominio.com.ar".

16:40:15.66: Looking up host "acafipri.dominio.com.ar".

16:40:15.66:- found on channel l

16:40:15.66: Routelocal flag set; scanning for % and !

16:40:15.66:Reparsed mailbox: rrhh

16:40:15.66:Reparsed host: dominio.com.ar

16:40:15.66:Variant #1 = rrhh@dominio.com.ar

16:40:15.66:Variant #2 = *@dominio.com.ar

rrhh@dominio.com.ar

***

1 expansion total.

*** Debug output from submitting an envelope address:

16:40:15.66: mmc_wadr(0x0012a048,'rrhh@dominio.com.ar','rrhh@dominio.com.ar') called.

16:40:15.66: Copy estimate before address addition is 1

16:40:15.66:Parsing address rrhh@dominio.com.ar

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.66: Rewrite: "$*", position 0, hash table -

16:40:15.66:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.66:Match, pattern = "dominio.com.ar", current = "(*domaincheck*)"

16:40:15.66:old state = not checked.

16:40:15.66:Using result 1 from domain match cache.

16:40:15.66:new state = succeeded.

16:40:15.66:New mailbox: "rrhh".

16:40:15.66:New host: "dominio.com.ar".

16:40:15.66:New route: "acafipri.dominio.com.ar".

16:40:15.66:New channel system: "acafipri.dominio.com.ar".

16:40:15.66: Looking up host "acafipri.dominio.com.ar".

16:40:15.66:- found on channel l

16:40:15.66: Routelocal flag set; scanning for % and !

16:40:15.66:Address rrhh@dominio.com.ar requires local processing.

16:40:15.66:Variant #1 = rrhh@dominio.com.ar

16:40:15.66:Variant #2 = *@dominio.com.ar

16:40:15.66:Checking for rrhh@dominio.com.ar in the system alias file

16:40:15.66:- not found

16:40:15.66:Checking for *@dominio.com.ar in the system alias file

16:40:15.66:- not found

16:40:15.66:Checking rrhh@dominio.com.ar with URL template ldap:///$V?*?sub?$R

16:40:15.66:LDAP URL template identified

16:40:15.66: dmap_locate_domain called with domain dominio.com.ar

16:40:15.66:Fixed up domain now dominio.com.ar

16:40:15.66:57 is hash chain value for dominio.com.ar

16:40:15.66:Found in domain name table, refcount now 3

16:40:15.66: dmap_locate_domain returning entry dominio.com.ar refcount 3

16:40:15.66:93 is hash chain value for maildomainstatus

16:40:15.66:118 is hash chain value for mailroutingsmarthost

16:40:15.66:122 is hash chain value for inetdomainstatus

16:40:15.66:122 is hash chain value for inetdomainstatus

16:40:15.66:104 is hash chain value for maildomainreportaddress

16:40:15.66:84 is hash chain value for maildomainmsgmaxblocks

16:40:15.66:88 is hash chain value for maildomainconversiontag

16:40:15.66:121 is hash chain value for maildomainsieverulesource

16:40:15.66:54 is hash chain value for maildomaincatchalladdress

16:40:15.66: Dispose decremented refcount for domain entry dominio.com.ar to 2

16:40:15.66:URL determined to be: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?*?sub?(|(mail=rr hh@dominio.com.ar)(mailAlternateAddress=rrhh@dominio.com.ar)(mailEquivalentAddre ss=rrhh@dominio.com.ar))

16:40:15.66:URL context #1 will be used

16:40:15.66:Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|rrhh@dominio.com.ar|rrhh@dominio.com.ar

16:40:15.66:Scanning LDAP result.

16:40:15.66:Attribute: objectclass

16:40:15.66:Attribute index: 0

16:40:15.66:Attribute: inetMailGroupStatus

16:40:15.66:Attribute index: 4

16:40:15.66:Attribute: mail

16:40:15.66:Attribute index: 12

16:40:15.66:Attribute: mailDeliveryOption

16:40:15.66:Attribute index: 16

16:40:15.66:Attribute: mailhost

16:40:15.66:Attribute index: 24

16:40:15.66:Attribute: UniqueMember

16:40:15.66:Attribute index: 54

16:40:15.66:Scanning complete, begin actions

16:40:15.66:Possible user object classes: inetLocalMailRecipient+inetmailuser

16:40:15.66:Possible group object classes: inetLocalMailRecipient+inetmailgroup

16:40:15.66:Object class: inetlocalmailrecipient

16:40:15.66:Object class match, reference value 18

16:40:15.66:Object class: top

16:40:15.66:Object class didn't match

16:40:15.66:Object class: iplanet-am-managed-static-group

16:40:15.66:Object class didn't match

16:40:15.66:Object class: inetmailgroup

16:40:15.66:Object class match, reference value 2

16:40:15.66:Object class: groupofuniquenames

16:40:15.66:Object class didn't match

16:40:15.66:Object class: iplanet-am-managed-group

16:40:15.66:Object class didn't match

16:40:15.66:User/group index = 2

16:40:15.66:Domain is active

16:40:15.66:Mail domain is active

16:40:15.66:Mail group status = active

16:40:15.66:User is active

16:40:15.66:Delivery option: members

16:40:15.66:Delivery options value: 2

16:40:15.66:Block limit now: 2147483647

16:40:15.66:Processing mailhost attribute dominio.com.ar

16:40:15.66:Mailhost references remote system.

16:40:15.66:Status for this address = -3

16:40:15.66:- URL match for rrhh@dominio.com.ar

16:40:15.66:Initial line address: rrhh@dominio.com.ar

16:40:15.66:- @dominio.com.ar:rrhh@dominio.com.ar

16:40:15.66:Parsing address @dominio.com.ar:rrhh@dominio.com.ar

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.66: Rewrite: "$*", position 0, hash table -

16:40:15.66:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.66:Rewrite may fail, host not right of @.

16:40:15.66:Match, pattern = "dominio.com.ar", current = "(*domaincheck*)"

16:40:15.66:old state = not checked.

16:40:15.66:Using result 1 from domain match cache.

16:40:15.66:new state = succeeded.

16:40:15.66:Rewrite failed due to host location mismatch.

16:40:15.66: Rewrite: "$*", position 1, hash table -

16:40:15.66:Failed.

16:40:15.66: Rewrite: "$*", position 0, rewrite database -

16:40:15.66:Failed

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio", domain = "dominio.com.ar", literal = "", tag = ""

16:40:15.66: Rewrite: "dominio.com.ar", position 0, hash table -

16:40:15.66:Found: "$U%$D@acafipri.dominio.com.ar"

16:40:15.66:New mailbox: "rrhh".

16:40:15.66:New host: "dominio.com.ar".

16:40:15.66:New route: "acafipri.dominio.com.ar".

16:40:15.66:New channel system: "acafipri.dominio.com.ar".

16:40:15.66: Looking up host "acafipri.dominio.com.ar".

16:40:15.66:- found on channel l

16:40:15.66: Rewriting: Mbox = "rrhh", host = "dominio.com.ar", domain = "$*", literal = "", tag = ""

16:40:15.66: Rewrite: "$*", position 0, hash table -

16:40:15.66:Found: "$A$E$F$U%$H$V$H@acafipri.dominio.com.ar"

16:40:15.66:Match, pattern = "dominio.com.ar", current = "(*domaincheck*)"

16:40:15.66:old state = not checked.

16:40:15.66:Using result 1 from domain match cache.

16:40:15.66:new state = succeeded.

16:40:15.66:New mailbox: "rrhh".

16:40:15.66:New host: "dominio.com.ar".

16:40:15.66:New route: "acafipri.dominio.com.ar".

16:40:15.66:New channel system: "acafipri.dominio.com.ar".

16:40:15.66: Looking up host "acafipri.dominio.com.ar".

16:40:15.66:- found on channel l

16:40:15.66: Routelocal flag set; scanning for % and !

16:40:15.66:Address rrhh@dominio.com.ar requires local processing.

16:40:15.66:Variant #1 = rrhh@dominio.com.ar

16:40:15.66:Variant #2 = *@dominio.com.ar

16:40:15.66:Checking for rrhh@dominio.com.ar in the system alias file

16:40:15.66: - not found

16:40:15.66:Checking for *@dominio.com.ar in the system alias file

16:40:15.66: - not found

16:40:15.66:Checking rrhh@dominio.com.ar with URL template ldap:///$V?*?sub?$R

16:40:15.66:LDAP URL template identified

16:40:15.66: dmap_locate_domain called with domain dominio.com.ar

16:40:15.66:Fixed up domain now dominio.com.ar

16:40:15.66:57 is hash chain value for dominio.com.ar

16:40:15.66:Found in domain name table, refcount now 3

16:40:15.66: dmap_locate_domain returning entry dominio.com.ar refcount 3

16:40:15.66:93 is hash chain value for maildomainstatus

16:40:15.66:118 is hash chain value for mailroutingsmarthost

16:40:15.66:122 is hash chain value for inetdomainstatus

16:40:15.66:122 is hash chain value for inetdomainstatus

16:40:15.66:104 is hash chain value for maildomainreportaddress

16:40:15.66:84 is hash chain value for maildomainmsgmaxblocks

16:40:15.66:88 is hash chain value for maildomainconversiontag

16:40:15.66:121 is hash chain value for maildomainsieverulesource

16:40:15.66:54 is hash chain value for maildomaincatchalladdress

16:40:15.66: Dispose decremented refcount for domain entry dominio.com.ar to 2

16:40:15.66:URL determined to be: ldap:///o%3Ddominio.com.ar%2Cdc%3Ddominio%2Cdc%3Dcom%2Cdc%3Dar?*?sub?(|(mail=rr hh@dominio.com.ar)(mailAlternateAddress=rrhh@dominio.com.ar)(mailEquivalentAddre ss=rrhh@dominio.com.ar))

16:40:15.66:URL context #1 will be used

16:40:15.66:Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|rrhh@dominio.com.ar|rrhh@dominio.com.ar

16:40:15.66:Scanning LDAP result.

16:40:15.66:Attribute: objectclass

16:40:15.66:Attribute index: 0

16:40:15.66:Attribute: inetMailGroupStatus

16:40:15.66:Attribute index: 4

16:40:15.66:Attribute: mail

16:40:15.66:Attribute index: 12

16:40:15.66:Attribute: mailDeliveryOption

16:40:15.66:Attribute index: 16

16:40:15.66:Attribute: mailhost

16:40:15.66:Attribute index: 24

16:40:15.66:Attribute: UniqueMember

16:40:15.66:Attribute index: 54

16:40:15.66:Scanning complete, begin actions

16:40:15.66:Possible user object classes: inetLocalMailRecipient+inetmailuser

16:40:15.66:Possible group object classes: inetLocalMailRecipient+inetmailgroup

16:40:15.66:Object class: inetlocalmailrecipient

16:40:15.66:Object class match, reference value 18

16:40:15.66:Object class: top

16:40:15.66:Object class didn't match

16:40:15.66:Object class: iplanet-am-managed-static-group

16:40:15.66:Object class didn't match

16:40:15.66:Object class: inetmailgroup

16:40:15.66:Object class match, reference value 2

16:40:15.66:Object class: groupofuniquenames

16:40:15.66:Object class didn't match

16:40:15.66:Object class: iplanet-am-managed-group

16:40:15.66:Object class didn't match

16:40:15.66:User/group index = 2

16:40:15.66:Domain is active

16:40:15.66:Mail domain is active

16:40:15.66:Mail group status = active

16:40:15.66:User is active

16:40:15.66:Delivery option: members

16:40:15.66:Delivery options value: 2

16:40:15.66:Block limit now: 2147483647

16:40:15.66:Processing mailhost attribute dominio.com.ar

16:40:15.66:Mailhost references remote system.

16:40:15.67:Status for this address = -3

16:40:15.67: - URL match for rrhh@dominio.com.ar

16:40:15.67:Initial line address: rrhh@dominio.com.ar

16:40:15.67: - @dominio.com.ar:rrhh@dominio.com.ar

16:40:15.67:Alias loop; address ignored.

16:40:15.67:- adding address rrhh@dominio.com.ar to headers.

16:40:15.67: Copy estimate after address addition is 1

***

Expanded address:

rrhh@dominio.com.ar

Submitted address list:

Address list error -- 5.2.4 alias failed to expand to any valid addresses: rrhh@dominio.com.ar

Submitted notifications list:

AYacopino at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

Remember, I asked you if the -m member is valid?

Apparently, it's not a valid mail address:

16:40:15.67: - URL match for rrhh@dominio.com.ar

16:40:15.67: Initial line address: rrhh@dominio.com.ar

16:40:15.67: - @dominio.com.ar:rrhh@dominio.com.ar

16:40:15.67: Alias loop; address ignored.

and that's why your group isn't working.

jay_plesset at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
Yes, Jay the user exists.Sending a mail to usuario@dominio.com.ar works fine and i see the user in the ldap directory.Could it be looking in some other container?Thanks.
AYacopino at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
There appears to be some kind of problem with the user I pasted in my last note. Is that user a member of the list?
jay_plesset at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6

Yes, when i go to the group in the directory server console i see this user as a member of the group.

One problem that could it be relationated is i can see the email tab.

I see:

General

Members

Account (mail account is check in install)

Languages

Account (again) (mail account is check in install)

Languages (again)

Thanks.

AYacopino at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7
Sorry, i was trying to say that i can't see the email tab.
AYacopino at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8
The directory console in "users & groups" is not a suitable method for doing anything to a messaging user or group.You can do some basic editing with the directory editor part, or you can use the gui tool we provide (assuming schema 2), Delegated Admin
jay_plesset at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 9

Well this is the group:

./commadmin group search -D admin_user -n dominio.com.ar -w admin_password -d dominio.com.ar -G rrhh

OK

dn: cn=rrhh,ou=Groups,o=dominio.com.ar,dc=dominio,dc=com,dc=ar

maildeliveryoption: members

cn: rrhh

objectclass: iplanet-am-managed-group

objectclass: groupofuniquenames

objectclass: inetlocalmailrecipient

objectclass: top

objectclass: iplanet-am-managed-static-group

objectclass: inetmailgroup

mail: rrhh@dominio.com.ar

mailhost: dominio.com.ar

uniquemember: uid=ghdm,ou=People,o=dominio.com.ar,dc=dominio,dc=com,dc=ar

inetmailgroupstatus: active

Ok, Jay, thanks to you i found that the mailhost was wrong.

I re Create the group with commadmin with -H acafipri.dominio.com.ar and now it works.

Aparently it was taken the wrong host for default.

I think also putting mailhost.dominio.com.ar in the hosts file also fixes this error, is that ok?

AYacopino at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 10

Ah. that's clearer.

I thought the mail address of your group was "group", as you seemed to have it.

16:40:15.66: Processing mailhost attribute dominio.com.ar

16:40:15.66: Mailhost references remote system.

Ok that means I need to locate this:

mailhost: dominio.com.ar

this needs to match a system that can expand the list. If it does NOT match THIS system, you will get a loop, and get what you're seeing.

You can remove the mailhost, and the group will be expanded on whatever Messaging system a messaage first hits, or you can put in the correct mailhost value.

jay_plesset at 2007-7-5 14:02:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...